bunshin-clone 2.0.12 → 2.0.14
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +4 -4
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
|
|
11
|
-
declare function isPrimitiveArray(array:
|
|
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
|
|
11
|
-
declare function isPrimitiveArray(array:
|
|
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.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"description": "High-performance deep clone utility with descriptor support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"array",
|
|
@@ -68,6 +68,9 @@
|
|
|
68
68
|
"prepublishOnly": "npm run build",
|
|
69
69
|
"test": "bun test"
|
|
70
70
|
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@y14e/own": "^1.0.6"
|
|
73
|
+
},
|
|
71
74
|
"devDependencies": {
|
|
72
75
|
"bun-types": "latest",
|
|
73
76
|
"tsup": "^8.0.0",
|
|
@@ -79,8 +82,5 @@
|
|
|
79
82
|
},
|
|
80
83
|
"allowScripts": {
|
|
81
84
|
"esbuild": true
|
|
82
|
-
},
|
|
83
|
-
"dependencies": {
|
|
84
|
-
"@y14e/own": "^1.0.6"
|
|
85
85
|
}
|
|
86
86
|
}
|