@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 +23 -0
- package/README.md +0 -0
- package/dist/handler.cjs +15 -15
- package/dist/handler.d.cts +1 -1
- package/dist/handler.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/utils.cjs +2 -2
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +186 -186
- /package/dist/{types-P5vua37Z.d.cts → types-_Qve7nv8.d.cts} +0 -0
- /package/dist/{types-P5vua37Z.d.ts → types-_Qve7nv8.d.ts} +0 -0
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,
|
|
8
|
+
Object.defineProperty(exports, "copyArrayBuffer", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () { return chunkZJWITT73_cjs.c; }
|
|
11
11
|
});
|
|
12
|
-
Object.defineProperty(exports,
|
|
12
|
+
Object.defineProperty(exports, "copyArrayLoose", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () { return chunkZJWITT73_cjs.a; }
|
|
15
15
|
});
|
|
16
|
-
Object.defineProperty(exports,
|
|
16
|
+
Object.defineProperty(exports, "copyArrayStrict", {
|
|
17
17
|
enumerable: true,
|
|
18
18
|
get: function () { return chunkZJWITT73_cjs.b; }
|
|
19
19
|
});
|
|
20
|
-
Object.defineProperty(exports,
|
|
20
|
+
Object.defineProperty(exports, "copyBlob", {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () { return chunkZJWITT73_cjs.d; }
|
|
23
23
|
});
|
|
24
|
-
Object.defineProperty(exports,
|
|
24
|
+
Object.defineProperty(exports, "copyDataView", {
|
|
25
25
|
enumerable: true,
|
|
26
26
|
get: function () { return chunkZJWITT73_cjs.e; }
|
|
27
27
|
});
|
|
28
|
-
Object.defineProperty(exports,
|
|
28
|
+
Object.defineProperty(exports, "copyDate", {
|
|
29
29
|
enumerable: true,
|
|
30
30
|
get: function () { return chunkZJWITT73_cjs.f; }
|
|
31
31
|
});
|
|
32
|
-
Object.defineProperty(exports,
|
|
32
|
+
Object.defineProperty(exports, "copyError", {
|
|
33
33
|
enumerable: true,
|
|
34
34
|
get: function () { return chunkZJWITT73_cjs.g; }
|
|
35
35
|
});
|
|
36
|
-
Object.defineProperty(exports,
|
|
36
|
+
Object.defineProperty(exports, "copyMapLoose", {
|
|
37
37
|
enumerable: true,
|
|
38
38
|
get: function () { return chunkZJWITT73_cjs.h; }
|
|
39
39
|
});
|
|
40
|
-
Object.defineProperty(exports,
|
|
40
|
+
Object.defineProperty(exports, "copyMapStrict", {
|
|
41
41
|
enumerable: true,
|
|
42
42
|
get: function () { return chunkZJWITT73_cjs.i; }
|
|
43
43
|
});
|
|
44
|
-
Object.defineProperty(exports,
|
|
44
|
+
Object.defineProperty(exports, "copyObjectLoose", {
|
|
45
45
|
enumerable: true,
|
|
46
46
|
get: function () { return chunkZJWITT73_cjs.j; }
|
|
47
47
|
});
|
|
48
|
-
Object.defineProperty(exports,
|
|
48
|
+
Object.defineProperty(exports, "copyObjectStrict", {
|
|
49
49
|
enumerable: true,
|
|
50
50
|
get: function () { return chunkZJWITT73_cjs.k; }
|
|
51
51
|
});
|
|
52
|
-
Object.defineProperty(exports,
|
|
52
|
+
Object.defineProperty(exports, "copyRegExpLoose", {
|
|
53
53
|
enumerable: true,
|
|
54
54
|
get: function () { return chunkZJWITT73_cjs.l; }
|
|
55
55
|
});
|
|
56
|
-
Object.defineProperty(exports,
|
|
56
|
+
Object.defineProperty(exports, "copyRegExpStrict", {
|
|
57
57
|
enumerable: true,
|
|
58
58
|
get: function () { return chunkZJWITT73_cjs.m; }
|
|
59
59
|
});
|
|
60
|
-
Object.defineProperty(exports,
|
|
60
|
+
Object.defineProperty(exports, "copySetLoose", {
|
|
61
61
|
enumerable: true,
|
|
62
62
|
get: function () { return chunkZJWITT73_cjs.n; }
|
|
63
63
|
});
|
|
64
|
-
Object.defineProperty(exports,
|
|
64
|
+
Object.defineProperty(exports, "copySetStrict", {
|
|
65
65
|
enumerable: true,
|
|
66
66
|
get: function () { return chunkZJWITT73_cjs.o; }
|
|
67
67
|
});
|
package/dist/handler.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as State, T as TypedArray } from './types-
|
|
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-
|
|
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-
|
|
2
|
-
export { S as State } from './types-
|
|
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-
|
|
2
|
-
export { S as State } from './types-
|
|
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,
|
|
7
|
+
Object.defineProperty(exports, "copyOwnProperties", {
|
|
8
8
|
enumerable: true,
|
|
9
9
|
get: function () { return chunkULIBPEBE_cjs.a; }
|
|
10
10
|
});
|
|
11
|
-
Object.defineProperty(exports,
|
|
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
package/dist/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,191 +1,191 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
"
|
|
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
|
-
"
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
"
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
"
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
"
|
|
187
|
-
|
|
188
|
-
"
|
|
189
|
-
|
|
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
|
+
}
|
|
File without changes
|
|
File without changes
|