ansuko 1.3.11 → 1.3.13

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 (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -107,7 +107,7 @@ declare const equalsOr: <T, E>(...args: any[]) => MaybePromise<T | E | null>;
107
107
  * @example parseJSON('{a:1}') // {a:1} (JSON5)
108
108
  * @category Conversion
109
109
  */
110
- declare const parseJSON: <T = any>(str: string | object) => T | null;
110
+ declare const parseJSON: <T = any>(str: string | object | null | undefined) => T | null;
111
111
  /**
112
112
  * Stringifies objects/arrays; returns null for strings or numbers.
113
113
  * @param obj - Target object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ansuko",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "A modern JavaScript/TypeScript utility library that extends lodash with practical, intuitive behaviors. Fixes lodash quirks, adds Promise support, Japanese text processing, and GeoJSON utilities.",
5
5
  "keywords": [
6
6
  "lodash",