bunshin-clone 2.0.12 → 2.0.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.
package/dist/index.d.cts CHANGED
@@ -7,8 +7,8 @@ interface BunshinCloneOptions {
7
7
  }
8
8
  type PlainObject = Record<PropertyKey, unknown>;
9
9
 
10
- type ReadonlyArray_ = ReadonlyArray<unknown>;
11
- declare function isPrimitiveArray(array: ReadonlyArray_): boolean;
10
+ type Array_ = unknown[];
11
+ declare function isPrimitiveArray(array: Array_): boolean;
12
12
 
13
13
  declare function isObject(value: unknown): value is object;
14
14
  declare function isPlainObject(value: unknown): value is PlainObject;
package/dist/index.d.ts CHANGED
@@ -7,8 +7,8 @@ interface BunshinCloneOptions {
7
7
  }
8
8
  type PlainObject = Record<PropertyKey, unknown>;
9
9
 
10
- type ReadonlyArray_ = ReadonlyArray<unknown>;
11
- declare function isPrimitiveArray(array: ReadonlyArray_): boolean;
10
+ type Array_ = unknown[];
11
+ declare function isPrimitiveArray(array: Array_): boolean;
12
12
 
13
13
  declare function isObject(value: unknown): value is object;
14
14
  declare function isPlainObject(value: unknown): value is PlainObject;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunshin-clone",
3
- "version": "2.0.12",
3
+ "version": "2.0.13",
4
4
  "description": "High-performance deep clone utility with descriptor support",
5
5
  "keywords": [
6
6
  "array",