cafe-utility 12.2.0 → 13.0.0

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.
Files changed (3) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +2152 -6
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -170,7 +170,7 @@ type StringSegment = {
170
170
  symbol: string | null;
171
171
  string: string;
172
172
  };
173
- declare function segmentizeString(string: string, symbol: string): StringSegment[];
173
+ declare function segmentizeString(string: string, symbol: string, orphan?: boolean): StringSegment[];
174
174
  declare function base64ToUint8Array(base64: string): Uint8Array;
175
175
  declare function uint8ArrayToBase64(array: Uint8Array): string;
176
176
  declare function hexToUint8Array(hex: string): Uint8Array;