es-toolkit 1.47.0-dev.1839 → 1.47.0-dev.1840
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/compat/object/clone.d.mts +1 -1
- package/dist/compat/object/clone.d.ts +1 -1
- package/dist/compat/object/clone.js +1 -1
- package/dist/compat/object/clone.mjs +1 -1
- package/dist/compat/object/cloneDeep.d.mts +1 -1
- package/dist/compat/object/cloneDeep.d.ts +1 -1
- package/dist/compat/object/cloneDeep.js +1 -1
- package/dist/compat/object/cloneDeep.mjs +1 -1
- package/dist/compat/object/cloneWith.js +1 -1
- package/dist/compat/object/cloneWith.mjs +1 -1
- package/dist/object/clone.d.mts +1 -1
- package/dist/object/clone.d.ts +1 -1
- package/dist/object/clone.js +1 -1
- package/dist/object/clone.mjs +1 -1
- package/dist/object/cloneDeep.d.mts +1 -1
- package/dist/object/cloneDeep.d.ts +1 -1
- package/dist/object/cloneDeep.js +1 -1
- package/dist/object/cloneDeep.mjs +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ const require_isTypedArray = require("../predicate/isTypedArray.js");
|
|
|
12
12
|
* @returns {T} - A shallow clone of the given object.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
* // Clone a primitive
|
|
15
|
+
* // Clone a primitive object
|
|
16
16
|
* const num = 29;
|
|
17
17
|
* const clonedNum = clone(num);
|
|
18
18
|
* console.log(clonedNum); // 29
|
|
@@ -12,7 +12,7 @@ import { isTypedArray } from "../predicate/isTypedArray.mjs";
|
|
|
12
12
|
* @returns {T} - A shallow clone of the given object.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
* // Clone a primitive
|
|
15
|
+
* // Clone a primitive object
|
|
16
16
|
* const num = 29;
|
|
17
17
|
* const clonedNum = clone(num);
|
|
18
18
|
* console.log(clonedNum); // 29
|
|
@@ -8,7 +8,7 @@ const require_cloneDeepWith = require("./cloneDeepWith.js");
|
|
|
8
8
|
* @returns {T} - A deep clone of the given object.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* // Clone a primitive
|
|
11
|
+
* // Clone a primitive value
|
|
12
12
|
* const num = 29;
|
|
13
13
|
* const clonedNum = clone(num);
|
|
14
14
|
* console.log(clonedNum); // 29
|
|
@@ -8,7 +8,7 @@ import { cloneDeepWith } from "./cloneDeepWith.mjs";
|
|
|
8
8
|
* @returns {T} - A deep clone of the given object.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* // Clone a primitive
|
|
11
|
+
* // Clone a primitive value
|
|
12
12
|
* const num = 29;
|
|
13
13
|
* const clonedNum = clone(num);
|
|
14
14
|
* console.log(clonedNum); // 29
|
|
@@ -14,7 +14,7 @@ const require_clone = require("./clone.js");
|
|
|
14
14
|
* @returns {T} - A shallow clone of the given object.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
|
-
* // Clone a primitive
|
|
17
|
+
* // Clone a primitive value
|
|
18
18
|
* const num = 29;
|
|
19
19
|
* const clonedNum = cloneWith(num);
|
|
20
20
|
* console.log(clonedNum); // 29
|
|
@@ -14,7 +14,7 @@ import { clone } from "./clone.mjs";
|
|
|
14
14
|
* @returns {T} - A shallow clone of the given object.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
|
-
* // Clone a primitive
|
|
17
|
+
* // Clone a primitive value
|
|
18
18
|
* const num = 29;
|
|
19
19
|
* const clonedNum = cloneWith(num);
|
|
20
20
|
* console.log(clonedNum); // 29
|
package/dist/object/clone.d.mts
CHANGED
package/dist/object/clone.d.ts
CHANGED
package/dist/object/clone.js
CHANGED
|
@@ -9,7 +9,7 @@ const require_isTypedArray = require("../predicate/isTypedArray.js");
|
|
|
9
9
|
* @returns {T} - A shallow clone of the given object.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
|
-
* // Clone a primitive
|
|
12
|
+
* // Clone a primitive value
|
|
13
13
|
* const num = 29;
|
|
14
14
|
* const clonedNum = clone(num);
|
|
15
15
|
* console.log(clonedNum); // 29
|
package/dist/object/clone.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { isTypedArray } from "../predicate/isTypedArray.mjs";
|
|
|
9
9
|
* @returns {T} - A shallow clone of the given object.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
|
-
* // Clone a primitive
|
|
12
|
+
* // Clone a primitive value
|
|
13
13
|
* const num = 29;
|
|
14
14
|
* const clonedNum = clone(num);
|
|
15
15
|
* console.log(clonedNum); // 29
|
package/dist/object/cloneDeep.js
CHANGED
|
@@ -8,7 +8,7 @@ const require_cloneDeepWith = require("./cloneDeepWith.js");
|
|
|
8
8
|
* @returns {T} - A deep clone of the given object.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* // Clone a primitive
|
|
11
|
+
* // Clone a primitive value
|
|
12
12
|
* const num = 29;
|
|
13
13
|
* const clonedNum = cloneDeep(num);
|
|
14
14
|
* console.log(clonedNum); // 29
|
|
@@ -8,7 +8,7 @@ import { cloneDeepWithImpl } from "./cloneDeepWith.mjs";
|
|
|
8
8
|
* @returns {T} - A deep clone of the given object.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* // Clone a primitive
|
|
11
|
+
* // Clone a primitive value
|
|
12
12
|
* const num = 29;
|
|
13
13
|
* const clonedNum = cloneDeep(num);
|
|
14
14
|
* console.log(clonedNum); // 29
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
|
-
"version": "1.47.0-dev.
|
|
3
|
+
"version": "1.47.0-dev.1840+dbe00669",
|
|
4
4
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
5
5
|
"homepage": "https://es-toolkit.dev",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|