@alwatr/deep-clone 5.3.0 → 5.5.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.
- package/CHANGELOG.md +39 -6
- package/dist/main.cjs +2 -3
- package/dist/main.mjs +2 -3
- package/package.json +5 -5
- package/dist/main.cjs.LEGAL.txt +0 -0
- package/dist/main.mjs.LEGAL.txt +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.5.0](https://github.com/Alwatr/nanolib/compare/@alwatr/deep-clone@5.4.0...@alwatr/deep-clone@5.5.0) (2025-03-06)
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
|
|
11
|
+
|
|
12
|
+
### Dependencies update
|
|
13
|
+
|
|
14
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
|
|
15
|
+
|
|
16
|
+
## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/deep-clone@1.1.8...@alwatr/deep-clone@5.4.0) (2025-02-18)
|
|
17
|
+
|
|
18
|
+
## 5.3.0 (2025-02-03)
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @
|
|
23
|
+
|
|
24
|
+
### Dependencies update
|
|
25
|
+
|
|
26
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @
|
|
27
|
+
* update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @
|
|
28
|
+
|
|
29
|
+
## 5.0.0 (2024-11-02)
|
|
30
|
+
|
|
31
|
+
### ⚠ BREAKING CHANGES
|
|
32
|
+
|
|
33
|
+
* To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
|
|
34
|
+
|
|
35
|
+
### Code Refactoring
|
|
36
|
+
|
|
37
|
+
* use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
|
|
38
|
+
|
|
6
39
|
## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
|
|
7
40
|
|
|
8
41
|
### Miscellaneous Chores
|
|
@@ -81,7 +114,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
81
114
|
|
|
82
115
|
### Miscellaneous Chores
|
|
83
116
|
|
|
84
|
-
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
|
|
117
|
+
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
|
|
85
118
|
|
|
86
119
|
## [1.1.3](https://github.com/Alwatr/nanolib/compare/@alwatr/deep-clone@1.1.2...@alwatr/deep-clone@1.1.3) (2024-10-11)
|
|
87
120
|
|
|
@@ -110,7 +143,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
110
143
|
### Miscellaneous Chores
|
|
111
144
|
|
|
112
145
|
- **deep-clone:** change the license to AGPL-3.0 ([062b9c5](https://github.com/Alwatr/nanolib/commit/062b9c5f0e6fc78fa39101d538f3ba8720ab073a)) by @ArmanAsadian
|
|
113
|
-
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
|
|
146
|
+
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
|
|
114
147
|
|
|
115
148
|
## [1.0.24](https://github.com/Alwatr/nanolib/compare/@alwatr/deep-clone@1.0.23...@alwatr/deep-clone@1.0.24) (2024-09-21)
|
|
116
149
|
|
|
@@ -132,7 +165,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
132
165
|
|
|
133
166
|
### Dependencies update
|
|
134
167
|
|
|
135
|
-
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
|
|
168
|
+
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
|
|
136
169
|
|
|
137
170
|
## [1.0.20](https://github.com/Alwatr/nanolib/compare/@alwatr/deep-clone@1.0.19...@alwatr/deep-clone@1.0.20) (2024-07-04)
|
|
138
171
|
|
|
@@ -224,11 +257,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
224
257
|
|
|
225
258
|
### Bug Fixes
|
|
226
259
|
|
|
227
|
-
- **deep-clone:** deps ([2bce58c](https://github.com/Alwatr/nanolib/commit/2bce58c0742e3547a4bbc6c9efb792d5dca9375b)) by @
|
|
228
|
-
- package.json include files ([053fc10](https://github.com/Alwatr/nanolib/commit/053fc10b518038647136db9ada2433e27ecb2e63)) by @
|
|
260
|
+
- **deep-clone:** deps ([2bce58c](https://github.com/Alwatr/nanolib/commit/2bce58c0742e3547a4bbc6c9efb792d5dca9375b)) by @alimd
|
|
261
|
+
- package.json include files ([053fc10](https://github.com/Alwatr/nanolib/commit/053fc10b518038647136db9ada2433e27ecb2e63)) by @alimd
|
|
229
262
|
|
|
230
263
|
# 1.0.0 (2023-12-22)
|
|
231
264
|
|
|
232
265
|
### Features
|
|
233
266
|
|
|
234
|
-
- **deep-clone:** new package for deep clone obj/array ([9ac5379](https://github.com/Alwatr/nanolib/commit/9ac5379bd579b85d165a79b75bb782654167430d)) by @
|
|
267
|
+
- **deep-clone:** new package for deep clone obj/array ([9ac5379](https://github.com/Alwatr/nanolib/commit/9ac5379bd579b85d165a79b75bb782654167430d)) by @alimd
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/deep-clone v5.
|
|
1
|
+
/* @alwatr/deep-clone v5.5.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,7 +25,7 @@ __export(main_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(main_exports);
|
|
27
27
|
var import_package_tracer = require("@alwatr/package-tracer");
|
|
28
|
-
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/deep-clone", "5.
|
|
28
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/deep-clone", "5.5.0");
|
|
29
29
|
function deepClone(obj) {
|
|
30
30
|
if (obj == null) return null;
|
|
31
31
|
return JSON.parse(JSON.stringify(obj));
|
|
@@ -34,5 +34,4 @@ function deepClone(obj) {
|
|
|
34
34
|
0 && (module.exports = {
|
|
35
35
|
deepClone
|
|
36
36
|
});
|
|
37
|
-
/*! For license information please see main.cjs.LEGAL.txt */
|
|
38
37
|
//# sourceMappingURL=main.cjs.map
|
package/dist/main.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* @alwatr/deep-clone v5.
|
|
1
|
+
/* @alwatr/deep-clone v5.5.0 */
|
|
2
2
|
|
|
3
3
|
// src/main.ts
|
|
4
4
|
import { packageTracer } from "@alwatr/package-tracer";
|
|
5
|
-
__dev_mode__: packageTracer.add("@alwatr/deep-clone", "5.
|
|
5
|
+
__dev_mode__: packageTracer.add("@alwatr/deep-clone", "5.5.0");
|
|
6
6
|
function deepClone(obj) {
|
|
7
7
|
if (obj == null) return null;
|
|
8
8
|
return JSON.parse(JSON.stringify(obj));
|
|
@@ -10,5 +10,4 @@ function deepClone(obj) {
|
|
|
10
10
|
export {
|
|
11
11
|
deepClone
|
|
12
12
|
};
|
|
13
|
-
/*! For license information please see main.mjs.LEGAL.txt */
|
|
14
13
|
//# sourceMappingURL=main.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/deep-clone",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Clone deeply nested objects and arrays in JavaScript.",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@alwatr/package-tracer": "^5.
|
|
71
|
+
"@alwatr/package-tracer": "^5.5.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@alwatr/nano-build": "^5.
|
|
74
|
+
"@alwatr/nano-build": "^5.5.0",
|
|
75
75
|
"@alwatr/prettier-config": "^5.0.0",
|
|
76
76
|
"@alwatr/tsconfig-base": "^5.0.0",
|
|
77
|
-
"typescript": "^5.
|
|
77
|
+
"typescript": "^5.8.2"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "fdf8e6de77cca359465110a75ff18faff0649a95"
|
|
80
80
|
}
|
package/dist/main.cjs.LEGAL.txt
DELETED
|
File without changes
|
package/dist/main.mjs.LEGAL.txt
DELETED
|
File without changes
|