@visulima/deep-clone 2.1.2 → 2.1.3

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 CHANGED
@@ -1,3 +1,26 @@
1
+ ## @visulima/deep-clone [2.1.3](https://github.com/visulima/visulima/compare/@visulima/deep-clone@2.1.2...@visulima/deep-clone@2.1.3) (2024-06-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * allow node v22 ([890d457](https://github.com/visulima/visulima/commit/890d4570f18428e2463944813c0c638b3f142803))
7
+
8
+
9
+ ### Miscellaneous Chores
10
+
11
+ * changed semantic-release-npm to pnpm ([b6d100a](https://github.com/visulima/visulima/commit/b6d100a2bf3fd026577be48726a37754947f0973))
12
+ * **deps:** updated dev deps ([d91ac38](https://github.com/visulima/visulima/commit/d91ac389cea85a6c6bdc8de97905252a6c467abc))
13
+ * downgrade eslint-plugin-vitest ([0162771](https://github.com/visulima/visulima/commit/0162771e6022e4594486a796bc41e91a2d87bcd8))
14
+ * update dev dependencies ([09c4854](https://github.com/visulima/visulima/commit/09c4854e221fa8b808dfe66d7196d8db2a39b366))
15
+ * updated dev dependencies ([a2e0504](https://github.com/visulima/visulima/commit/a2e0504dc239049434c2482756ff15bdbaac9b54))
16
+ * updated dev dependencies ([abd319c](https://github.com/visulima/visulima/commit/abd319c23576aa1dc751ac874e806bddbc977d51))
17
+ * updated dev dependencies ([0767afe](https://github.com/visulima/visulima/commit/0767afe9be83da6698c1343724400171f952599e))
18
+ * updated dev dependencies ([d7791e3](https://github.com/visulima/visulima/commit/d7791e327917e438757636573b1e5549a97bba7b))
19
+ * updated dev dependencies ([6005345](https://github.com/visulima/visulima/commit/60053456717a3889fc77b4fb5b05d50a662475b2))
20
+ * updated dev dependencies ([87dee15](https://github.com/visulima/visulima/commit/87dee156e797b5dee2557a09ad32c935d851847c))
21
+ * updated dev dependencies ([bf2c635](https://github.com/visulima/visulima/commit/bf2c635859601cc97858226e70f47219eabc213e))
22
+ * updated dev dependencies ([f67c7f1](https://github.com/visulima/visulima/commit/f67c7f14ecc328ed91d06d01ac6514e8bce72cb4))
23
+
1
24
  ## @visulima/deep-clone [2.1.2](https://github.com/visulima/visulima/compare/@visulima/deep-clone@2.1.1...@visulima/deep-clone@2.1.2) (2024-03-27)
2
25
 
3
26
 
package/README.md CHANGED
File without changes
package/dist/handler.cjs CHANGED
@@ -5,63 +5,63 @@ require('./chunk-ULIBPEBE.cjs');
5
5
 
6
6
 
7
7
 
8
- Object.defineProperty(exports, 'copyArrayBuffer', {
8
+ Object.defineProperty(exports, "copyArrayBuffer", {
9
9
  enumerable: true,
10
10
  get: function () { return chunkZJWITT73_cjs.c; }
11
11
  });
12
- Object.defineProperty(exports, 'copyArrayLoose', {
12
+ Object.defineProperty(exports, "copyArrayLoose", {
13
13
  enumerable: true,
14
14
  get: function () { return chunkZJWITT73_cjs.a; }
15
15
  });
16
- Object.defineProperty(exports, 'copyArrayStrict', {
16
+ Object.defineProperty(exports, "copyArrayStrict", {
17
17
  enumerable: true,
18
18
  get: function () { return chunkZJWITT73_cjs.b; }
19
19
  });
20
- Object.defineProperty(exports, 'copyBlob', {
20
+ Object.defineProperty(exports, "copyBlob", {
21
21
  enumerable: true,
22
22
  get: function () { return chunkZJWITT73_cjs.d; }
23
23
  });
24
- Object.defineProperty(exports, 'copyDataView', {
24
+ Object.defineProperty(exports, "copyDataView", {
25
25
  enumerable: true,
26
26
  get: function () { return chunkZJWITT73_cjs.e; }
27
27
  });
28
- Object.defineProperty(exports, 'copyDate', {
28
+ Object.defineProperty(exports, "copyDate", {
29
29
  enumerable: true,
30
30
  get: function () { return chunkZJWITT73_cjs.f; }
31
31
  });
32
- Object.defineProperty(exports, 'copyError', {
32
+ Object.defineProperty(exports, "copyError", {
33
33
  enumerable: true,
34
34
  get: function () { return chunkZJWITT73_cjs.g; }
35
35
  });
36
- Object.defineProperty(exports, 'copyMapLoose', {
36
+ Object.defineProperty(exports, "copyMapLoose", {
37
37
  enumerable: true,
38
38
  get: function () { return chunkZJWITT73_cjs.h; }
39
39
  });
40
- Object.defineProperty(exports, 'copyMapStrict', {
40
+ Object.defineProperty(exports, "copyMapStrict", {
41
41
  enumerable: true,
42
42
  get: function () { return chunkZJWITT73_cjs.i; }
43
43
  });
44
- Object.defineProperty(exports, 'copyObjectLoose', {
44
+ Object.defineProperty(exports, "copyObjectLoose", {
45
45
  enumerable: true,
46
46
  get: function () { return chunkZJWITT73_cjs.j; }
47
47
  });
48
- Object.defineProperty(exports, 'copyObjectStrict', {
48
+ Object.defineProperty(exports, "copyObjectStrict", {
49
49
  enumerable: true,
50
50
  get: function () { return chunkZJWITT73_cjs.k; }
51
51
  });
52
- Object.defineProperty(exports, 'copyRegExpLoose', {
52
+ Object.defineProperty(exports, "copyRegExpLoose", {
53
53
  enumerable: true,
54
54
  get: function () { return chunkZJWITT73_cjs.l; }
55
55
  });
56
- Object.defineProperty(exports, 'copyRegExpStrict', {
56
+ Object.defineProperty(exports, "copyRegExpStrict", {
57
57
  enumerable: true,
58
58
  get: function () { return chunkZJWITT73_cjs.m; }
59
59
  });
60
- Object.defineProperty(exports, 'copySetLoose', {
60
+ Object.defineProperty(exports, "copySetLoose", {
61
61
  enumerable: true,
62
62
  get: function () { return chunkZJWITT73_cjs.n; }
63
63
  });
64
- Object.defineProperty(exports, 'copySetStrict', {
64
+ Object.defineProperty(exports, "copySetStrict", {
65
65
  enumerable: true,
66
66
  get: function () { return chunkZJWITT73_cjs.o; }
67
67
  });
@@ -1,4 +1,4 @@
1
- import { S as State, T as TypedArray } from './types-P5vua37Z.cjs';
1
+ import { S as State, T as TypedArray } from './types-_Qve7nv8.cjs';
2
2
 
3
3
  declare const copyArrayLoose: <Value extends unknown[]>(array: Value, state: State) => Value;
4
4
  declare const copyArrayStrict: <Value extends unknown[]>(array: Value, state: State) => Value;
package/dist/handler.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as State, T as TypedArray } from './types-P5vua37Z.js';
1
+ import { S as State, T as TypedArray } from './types-_Qve7nv8.js';
2
2
 
3
3
  declare const copyArrayLoose: <Value extends unknown[]>(array: Value, state: State) => Value;
4
4
  declare const copyArrayStrict: <Value extends unknown[]>(array: Value, state: State) => Value;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { O as Options } from './types-P5vua37Z.cjs';
2
- export { S as State } from './types-P5vua37Z.cjs';
1
+ import { O as Options } from './types-_Qve7nv8.cjs';
2
+ export { S as State } from './types-_Qve7nv8.cjs';
3
3
 
4
4
  type DeepReadwrite<T> = T extends object | [] ? {
5
5
  -readonly [P in keyof T]: DeepReadwrite<T[P]>;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { O as Options } from './types-P5vua37Z.js';
2
- export { S as State } from './types-P5vua37Z.js';
1
+ import { O as Options } from './types-_Qve7nv8.js';
2
+ export { S as State } from './types-_Qve7nv8.js';
3
3
 
4
4
  type DeepReadwrite<T> = T extends object | [] ? {
5
5
  -readonly [P in keyof T]: DeepReadwrite<T[P]>;
package/dist/utils.cjs CHANGED
@@ -4,11 +4,11 @@ var chunkULIBPEBE_cjs = require('./chunk-ULIBPEBE.cjs');
4
4
 
5
5
 
6
6
 
7
- Object.defineProperty(exports, 'copyOwnProperties', {
7
+ Object.defineProperty(exports, "copyOwnProperties", {
8
8
  enumerable: true,
9
9
  get: function () { return chunkULIBPEBE_cjs.a; }
10
10
  });
11
- Object.defineProperty(exports, 'getCleanClone', {
11
+ Object.defineProperty(exports, "getCleanClone", {
12
12
  enumerable: true,
13
13
  get: function () { return chunkULIBPEBE_cjs.b; }
14
14
  });
package/dist/utils.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as State } from './types-P5vua37Z.cjs';
1
+ import { S as State } from './types-_Qve7nv8.cjs';
2
2
 
3
3
  declare const copyOwnProperties: <Value>(value: Value, clone: Value, state: State) => Value;
4
4
 
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as State } from './types-P5vua37Z.js';
1
+ import { S as State } from './types-_Qve7nv8.js';
2
2
 
3
3
  declare const copyOwnProperties: <Value>(value: Value, clone: Value, state: State) => Value;
4
4
 
package/package.json CHANGED
@@ -1,191 +1,191 @@
1
1
  {
2
- "name": "@visulima/deep-clone",
3
- "version": "2.1.2",
4
- "description": "Fastest deep clone implementation.",
5
- "keywords": [
6
- "anolilab",
7
- "clone",
8
- "clone-deep",
9
- "copy",
10
- "deep",
11
- "deep-clone",
12
- "deep-copy",
13
- "deepclone",
14
- "deepcopy",
15
- "fast",
16
- "fast-clone",
17
- "fast-copy",
18
- "fast-deep-clone",
19
- "fast-deep-copy",
20
- "fastclone",
21
- "fastcopy",
22
- "fastest-json-copy",
23
- "key",
24
- "keys",
25
- "lodash.clonedeep",
26
- "nano-copy",
27
- "obj",
28
- "object",
29
- "performance",
30
- "performant",
31
- "plain-object-clone",
32
- "prop",
33
- "properties",
34
- "ramda",
35
- "recursive",
36
- "standard",
37
- "values",
38
- "visulima"
39
- ],
40
- "homepage": "https://www.visulima.com/docs/package/deep-clone",
41
- "repository": {
42
- "type": "git",
43
- "url": "https://github.com/visulima/visulima.git",
44
- "directory": "packages/deep-clone"
2
+ "name": "@visulima/deep-clone",
3
+ "version": "2.1.3",
4
+ "description": "Fastest deep clone implementation.",
5
+ "keywords": [
6
+ "anolilab",
7
+ "clone",
8
+ "clone-deep",
9
+ "copy",
10
+ "deep",
11
+ "deep-clone",
12
+ "deep-copy",
13
+ "deepclone",
14
+ "deepcopy",
15
+ "fast",
16
+ "fast-clone",
17
+ "fast-copy",
18
+ "fast-deep-clone",
19
+ "fast-deep-copy",
20
+ "fastclone",
21
+ "fastcopy",
22
+ "fastest-json-copy",
23
+ "key",
24
+ "keys",
25
+ "lodash.clonedeep",
26
+ "nano-copy",
27
+ "obj",
28
+ "object",
29
+ "performance",
30
+ "performant",
31
+ "plain-object-clone",
32
+ "prop",
33
+ "properties",
34
+ "ramda",
35
+ "recursive",
36
+ "standard",
37
+ "values",
38
+ "visulima"
39
+ ],
40
+ "homepage": "https://www.visulima.com/docs/package/deep-clone",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "https://github.com/visulima/visulima.git",
44
+ "directory": "packages/deep-clone"
45
+ },
46
+ "funding": [
47
+ {
48
+ "type": "github",
49
+ "url": "https://github.com/sponsors/prisis"
45
50
  },
46
- "funding": [
47
- {
48
- "type": "github",
49
- "url": "https://github.com/sponsors/prisis"
50
- },
51
- {
52
- "type": "consulting",
53
- "url": "https://anolilab.com/support"
54
- }
55
- ],
56
- "license": "MIT",
57
- "author": {
58
- "name": "Daniel Bannert",
59
- "email": "d.bannert@anolilab.de"
51
+ {
52
+ "type": "consulting",
53
+ "url": "https://anolilab.com/support"
54
+ }
55
+ ],
56
+ "license": "MIT",
57
+ "author": {
58
+ "name": "Daniel Bannert",
59
+ "email": "d.bannert@anolilab.de"
60
+ },
61
+ "sideEffects": false,
62
+ "type": "module",
63
+ "exports": {
64
+ ".": {
65
+ "require": {
66
+ "types": "./dist/index.d.cts",
67
+ "default": "./dist/index.cjs"
68
+ },
69
+ "import": {
70
+ "types": "./dist/index.d.ts",
71
+ "default": "./dist/index.js"
72
+ }
60
73
  },
61
- "sideEffects": false,
62
- "type": "module",
63
- "exports": {
64
- ".": {
65
- "require": {
66
- "types": "./dist/index.d.cts",
67
- "default": "./dist/index.cjs"
68
- },
69
- "import": {
70
- "types": "./dist/index.d.ts",
71
- "default": "./dist/index.js"
72
- }
73
- },
74
- "./handler": {
75
- "require": {
76
- "types": "./dist/handler.d.cts",
77
- "default": "./dist/handler.cjs"
78
- },
79
- "import": {
80
- "types": "./dist/handler.d.ts",
81
- "default": "./dist/handler.js"
82
- }
83
- },
84
- "./utils": {
85
- "require": {
86
- "types": "./dist/utils.d.cts",
87
- "default": "./dist/utils.cjs"
88
- },
89
- "import": {
90
- "types": "./dist/utils.d.ts",
91
- "default": "./dist/utils.js"
92
- }
93
- },
94
- "./package.json": "./package.json"
74
+ "./handler": {
75
+ "require": {
76
+ "types": "./dist/handler.d.cts",
77
+ "default": "./dist/handler.cjs"
78
+ },
79
+ "import": {
80
+ "types": "./dist/handler.d.ts",
81
+ "default": "./dist/handler.js"
82
+ }
95
83
  },
96
- "main": "dist/index.cjs",
97
- "module": "dist/index.js",
98
- "types": "dist/index.d.ts",
99
- "files": [
100
- "dist/**",
101
- "README.md",
102
- "CHANGELOG.md",
103
- "LICENSE.md"
104
- ],
105
- "scripts": {
106
- "build": "cross-env NODE_ENV=development tsup",
107
- "build:prod": "cross-env NODE_ENV=production tsup",
108
- "clean": "rimraf node_modules dist .eslintcache",
109
- "dev": "pnpm run build --watch",
110
- "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
111
- "lint:eslint:fix": "pnpm run lint:eslint --fix",
112
- "lint:packagejson": "publint --strict",
113
- "lint:prettier": "prettier --config=.prettierrc.cjs --check .",
114
- "lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
115
- "lint:types": "tsc --noEmit",
116
- "test": "vitest run",
117
- "test:bench": "vitest bench",
118
- "test:coverage": "vitest run --coverage",
119
- "test:ui": "vitest --ui --coverage.enabled=true",
120
- "test:watch": "vitest"
84
+ "./utils": {
85
+ "require": {
86
+ "types": "./dist/utils.d.cts",
87
+ "default": "./dist/utils.cjs"
88
+ },
89
+ "import": {
90
+ "types": "./dist/utils.d.ts",
91
+ "default": "./dist/utils.js"
92
+ }
121
93
  },
122
- "devDependencies": {
123
- "@anolilab/eslint-config": "^15.0.3",
124
- "@anolilab/prettier-config": "^5.0.14",
125
- "@anolilab/semantic-release-preset": "^8.0.3",
126
- "@mfederczuk/deeptools": "2.1.0-indev01",
127
- "@rushstack/eslint-plugin-security": "^0.8.1",
128
- "@total-typescript/ts-reset": "^0.5.1",
129
- "@types/lodash.clonedeep": "^4.5.9",
130
- "@types/node": "18.18.14",
131
- "@ungap/structured-clone": "^1.2.0",
132
- "@vitest/coverage-v8": "^1.4.0",
133
- "@vitest/ui": "^1.4.0",
134
- "clone-deep": "^4.0.1",
135
- "cross-env": "^7.0.3",
136
- "deep-copy": "^1.4.2",
137
- "eslint": "^8.57.0",
138
- "eslint-plugin-deprecation": "^2.0.0",
139
- "eslint-plugin-etc": "^2.0.3",
140
- "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
141
- "eslint-plugin-mdx": "^3.1.5",
142
- "eslint-plugin-tsdoc": "^0.2.17",
143
- "eslint-plugin-vitest": "^0.3.26",
144
- "eslint-plugin-vitest-globals": "^1.5.0",
145
- "fast-copy": "^3.0.2",
146
- "jsdom": "^24.0.0",
147
- "lodash.clonedeep": "^4.5.0",
148
- "nano-copy": "^0.1.0",
149
- "nanoclone": "^1.0.2",
150
- "plain-object-clone": "^2.0.0",
151
- "prettier": "^3.2.5",
152
- "ramda": "^0.29.1",
153
- "rfdc": "^1.3.1",
154
- "rimraf": "^5.0.5",
155
- "semantic-release": "^23.0.5",
156
- "sort-package-json": "^2.8.0",
157
- "standard": "^17.1.0",
158
- "tsup": "^8.0.2",
159
- "typescript": "^5.4.3",
160
- "vitest": "^1.4.0"
161
- },
162
- "engines": {
163
- "node": ">=18.* <=21.*"
164
- },
165
- "os": [
166
- "darwin",
167
- "linux",
168
- "win32"
169
- ],
170
- "publishConfig": {
171
- "access": "public",
172
- "provenance": true
173
- },
174
- "anolilab": {
175
- "eslint-config": {
176
- "plugin": {
177
- "tsdoc": false
178
- },
179
- "warn_on_unsupported_typescript_version": false,
180
- "info_on_disabling_jsx_react_rule": false,
181
- "info_on_disabling_prettier_conflict_rule": false,
182
- "info_on_disabling_jsonc_sort_keys_rule": false,
183
- "info_on_disabling_etc_no_deprecated": false
184
- }
185
- },
186
- "sources": [
187
- "src/index.ts",
188
- "src/handler.ts",
189
- "src/utils.ts"
190
- ]
191
- }
94
+ "./package.json": "./package.json"
95
+ },
96
+ "main": "dist/index.cjs",
97
+ "module": "dist/index.js",
98
+ "types": "dist/index.d.ts",
99
+ "files": [
100
+ "dist/**",
101
+ "README.md",
102
+ "CHANGELOG.md",
103
+ "LICENSE.md"
104
+ ],
105
+ "devDependencies": {
106
+ "@anolilab/eslint-config": "^15.0.3",
107
+ "@anolilab/prettier-config": "^5.0.14",
108
+ "@anolilab/semantic-release-pnpm": "^1.1.0",
109
+ "@anolilab/semantic-release-preset": "^8.1.0",
110
+ "@mfederczuk/deeptools": "2.1.0-indev01",
111
+ "@rushstack/eslint-plugin-security": "^0.8.1",
112
+ "@total-typescript/ts-reset": "^0.5.1",
113
+ "@types/lodash.clonedeep": "^4.5.9",
114
+ "@types/node": "18.18.14",
115
+ "@ungap/structured-clone": "^1.2.0",
116
+ "@vitest/coverage-v8": "^1.6.0",
117
+ "@vitest/ui": "^1.6.0",
118
+ "clone-deep": "^4.0.1",
119
+ "cross-env": "^7.0.3",
120
+ "deep-copy": "^1.4.2",
121
+ "eslint": "^8.57.0",
122
+ "eslint-plugin-deprecation": "^3.0.0",
123
+ "eslint-plugin-etc": "^2.0.3",
124
+ "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
125
+ "eslint-plugin-mdx": "^3.1.5",
126
+ "eslint-plugin-tsdoc": "^0.3.0",
127
+ "eslint-plugin-vitest": "^0.4.1",
128
+ "eslint-plugin-vitest-globals": "^1.5.0",
129
+ "fast-copy": "^3.0.2",
130
+ "jsdom": "^24.1.0",
131
+ "lodash.clonedeep": "^4.5.0",
132
+ "nano-copy": "^0.1.0",
133
+ "nanoclone": "^1.0.2",
134
+ "plain-object-clone": "^2.0.0",
135
+ "prettier": "^3.3.0",
136
+ "ramda": "^0.30.1",
137
+ "rfdc": "^1.3.1",
138
+ "rimraf": "^5.0.7",
139
+ "semantic-release": "23.1.1",
140
+ "standard": "^17.1.0",
141
+ "tsup": "^8.1.0",
142
+ "typescript": "^5.4.5",
143
+ "vitest": "^1.6.0"
144
+ },
145
+ "engines": {
146
+ "node": ">=18.* <=22.*"
147
+ },
148
+ "os": [
149
+ "darwin",
150
+ "linux",
151
+ "win32"
152
+ ],
153
+ "publishConfig": {
154
+ "access": "public",
155
+ "provenance": true
156
+ },
157
+ "anolilab": {
158
+ "eslint-config": {
159
+ "plugin": {
160
+ "tsdoc": false
161
+ },
162
+ "warn_on_unsupported_typescript_version": false,
163
+ "info_on_disabling_jsx_react_rule": false,
164
+ "info_on_disabling_prettier_conflict_rule": false,
165
+ "info_on_disabling_jsonc_sort_keys_rule": false,
166
+ "info_on_disabling_etc_no_deprecated": false
167
+ }
168
+ },
169
+ "sources": [
170
+ "src/index.ts",
171
+ "src/handler.ts",
172
+ "src/utils.ts"
173
+ ],
174
+ "scripts": {
175
+ "build": "cross-env NODE_ENV=development tsup",
176
+ "build:prod": "cross-env NODE_ENV=production tsup",
177
+ "clean": "rimraf node_modules dist .eslintcache",
178
+ "dev": "pnpm run build --watch",
179
+ "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
180
+ "lint:eslint:fix": "pnpm run lint:eslint --fix",
181
+ "lint:package-json": "publint --strict",
182
+ "lint:prettier": "prettier --config=.prettierrc.cjs --check .",
183
+ "lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
184
+ "lint:types": "tsc --noEmit",
185
+ "test": "vitest run",
186
+ "test:bench": "vitest bench",
187
+ "test:coverage": "vitest run --coverage",
188
+ "test:ui": "vitest --ui --coverage.enabled=true",
189
+ "test:watch": "vitest"
190
+ }
191
+ }