@putkoff/abstract-utilities 0.1.141 → 0.1.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,5 @@
1
1
  export declare function getSubstring(obj: string, maxLength?: number | null, minLength?: number | null): string;
2
2
  export declare function truncateString(obj: string, maxLength?: number): string;
3
- /**
4
- * Remove *every* occurrence of any prefix in `bases` from the *beginning*
5
- * of `str`, looping until no prefix matches.
6
- *
7
- * @example
8
- * stripPrefixes('/site/site/docs', ['/site', '/static']);
9
- * // → '/docs'
10
- */
11
3
  export declare function stripPrefixes(str: string, bases?: string | string[]): string;
12
4
  /**
13
5
  * Removes characters from the beginning of the string
package/dist/index.d.ts CHANGED
@@ -213,14 +213,6 @@ declare function alertit(obj?: any): void;
213
213
 
214
214
  declare function getSubstring(obj: string, maxLength?: number | null, minLength?: number | null): string;
215
215
  declare function truncateString(obj: string, maxLength?: number): string;
216
- /**
217
- * Remove *every* occurrence of any prefix in `bases` from the *beginning*
218
- * of `str`, looping until no prefix matches.
219
- *
220
- * @example
221
- * stripPrefixes('/site/site/docs', ['/site', '/static']);
222
- * // → '/docs'
223
- */
224
216
  declare function stripPrefixes(str: string, bases?: string | string[]): string;
225
217
  /**
226
218
  * Removes characters from the beginning of the string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putkoff/abstract-utilities",
3
- "version": "0.1.141",
3
+ "version": "0.1.143",
4
4
  "type": "module",
5
5
  "description": "A reusable React Login component with JWT authentication",
6
6
  "main": "dist/cjs/index.js",