es-toolkit 1.11.0-dev.263 → 1.11.0-dev.264
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/array/index.mjs +19 -19
- package/dist/compat/index.mjs +36 -36
- package/dist/function/index.mjs +6 -6
- package/dist/index.mjs +36 -36
- package/package.json +21 -1
package/dist/array/index.mjs
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import "../chunk-DDH7K4QM.mjs";
|
|
2
|
-
import {
|
|
3
|
-
without
|
|
4
|
-
} from "../chunk-PYEYV7BY.mjs";
|
|
5
2
|
import {
|
|
6
3
|
xor
|
|
7
4
|
} from "../chunk-L7FQX5MN.mjs";
|
|
@@ -20,18 +17,12 @@ import {
|
|
|
20
17
|
import {
|
|
21
18
|
zipWith
|
|
22
19
|
} from "../chunk-4KYXHZ4R.mjs";
|
|
23
|
-
import {
|
|
24
|
-
union
|
|
25
|
-
} from "../chunk-R6QA7PLZ.mjs";
|
|
26
20
|
import {
|
|
27
21
|
unionBy
|
|
28
22
|
} from "../chunk-NFS7RWWE.mjs";
|
|
29
23
|
import {
|
|
30
24
|
unionWith
|
|
31
25
|
} from "../chunk-2ZCITDMK.mjs";
|
|
32
|
-
import {
|
|
33
|
-
uniq
|
|
34
|
-
} from "../chunk-DVK2N4KC.mjs";
|
|
35
26
|
import {
|
|
36
27
|
uniqBy
|
|
37
28
|
} from "../chunk-B4COTK4K.mjs";
|
|
@@ -45,10 +36,8 @@ import {
|
|
|
45
36
|
unzipWith
|
|
46
37
|
} from "../chunk-IFNXROZR.mjs";
|
|
47
38
|
import {
|
|
48
|
-
|
|
49
|
-
} from "../chunk-
|
|
50
|
-
import "../chunk-GIWAOOFY.mjs";
|
|
51
|
-
import "../chunk-SYWMYQYJ.mjs";
|
|
39
|
+
without
|
|
40
|
+
} from "../chunk-PYEYV7BY.mjs";
|
|
52
41
|
import {
|
|
53
42
|
shuffle
|
|
54
43
|
} from "../chunk-G7UQ5PUR.mjs";
|
|
@@ -71,8 +60,11 @@ import {
|
|
|
71
60
|
toFilled
|
|
72
61
|
} from "../chunk-OP4OAKQJ.mjs";
|
|
73
62
|
import {
|
|
74
|
-
|
|
75
|
-
} from "../chunk-
|
|
63
|
+
union
|
|
64
|
+
} from "../chunk-R6QA7PLZ.mjs";
|
|
65
|
+
import {
|
|
66
|
+
uniq
|
|
67
|
+
} from "../chunk-DVK2N4KC.mjs";
|
|
76
68
|
import {
|
|
77
69
|
keyBy
|
|
78
70
|
} from "../chunk-AJKZMN2V.mjs";
|
|
@@ -95,8 +87,10 @@ import {
|
|
|
95
87
|
sample
|
|
96
88
|
} from "../chunk-2KNLZB7V.mjs";
|
|
97
89
|
import {
|
|
98
|
-
|
|
99
|
-
} from "../chunk-
|
|
90
|
+
sampleSize
|
|
91
|
+
} from "../chunk-EHSKB6DF.mjs";
|
|
92
|
+
import "../chunk-GIWAOOFY.mjs";
|
|
93
|
+
import "../chunk-SYWMYQYJ.mjs";
|
|
100
94
|
import {
|
|
101
95
|
forEachRight
|
|
102
96
|
} from "../chunk-IEA53J7P.mjs";
|
|
@@ -116,8 +110,8 @@ import {
|
|
|
116
110
|
intersectionBy
|
|
117
111
|
} from "../chunk-O6UXZR3U.mjs";
|
|
118
112
|
import {
|
|
119
|
-
|
|
120
|
-
} from "../chunk-
|
|
113
|
+
intersectionWith
|
|
114
|
+
} from "../chunk-XI7KRD2C.mjs";
|
|
121
115
|
import {
|
|
122
116
|
drop
|
|
123
117
|
} from "../chunk-3EZAFZG3.mjs";
|
|
@@ -136,6 +130,9 @@ import {
|
|
|
136
130
|
import {
|
|
137
131
|
flatMap
|
|
138
132
|
} from "../chunk-UY76KTPE.mjs";
|
|
133
|
+
import {
|
|
134
|
+
flattenDeep
|
|
135
|
+
} from "../chunk-ML727RRJ.mjs";
|
|
139
136
|
import {
|
|
140
137
|
flatten
|
|
141
138
|
} from "../chunk-33MSBDC6.mjs";
|
|
@@ -154,6 +151,9 @@ import {
|
|
|
154
151
|
import {
|
|
155
152
|
differenceBy
|
|
156
153
|
} from "../chunk-LVWX5B43.mjs";
|
|
154
|
+
import {
|
|
155
|
+
differenceWith
|
|
156
|
+
} from "../chunk-6NVQAHXP.mjs";
|
|
157
157
|
import "../chunk-424M7IR7.mjs";
|
|
158
158
|
export {
|
|
159
159
|
chunk,
|
package/dist/compat/index.mjs
CHANGED
|
@@ -88,9 +88,6 @@ import {
|
|
|
88
88
|
clamp
|
|
89
89
|
} from "../chunk-MLCL773E.mjs";
|
|
90
90
|
import "../chunk-DDH7K4QM.mjs";
|
|
91
|
-
import {
|
|
92
|
-
without
|
|
93
|
-
} from "../chunk-PYEYV7BY.mjs";
|
|
94
91
|
import {
|
|
95
92
|
xor
|
|
96
93
|
} from "../chunk-L7FQX5MN.mjs";
|
|
@@ -109,18 +106,12 @@ import {
|
|
|
109
106
|
import {
|
|
110
107
|
zipWith
|
|
111
108
|
} from "../chunk-4KYXHZ4R.mjs";
|
|
112
|
-
import {
|
|
113
|
-
union
|
|
114
|
-
} from "../chunk-R6QA7PLZ.mjs";
|
|
115
109
|
import {
|
|
116
110
|
unionBy
|
|
117
111
|
} from "../chunk-NFS7RWWE.mjs";
|
|
118
112
|
import {
|
|
119
113
|
unionWith
|
|
120
114
|
} from "../chunk-2ZCITDMK.mjs";
|
|
121
|
-
import {
|
|
122
|
-
uniq
|
|
123
|
-
} from "../chunk-DVK2N4KC.mjs";
|
|
124
115
|
import {
|
|
125
116
|
uniqBy
|
|
126
117
|
} from "../chunk-B4COTK4K.mjs";
|
|
@@ -134,14 +125,8 @@ import {
|
|
|
134
125
|
unzipWith
|
|
135
126
|
} from "../chunk-IFNXROZR.mjs";
|
|
136
127
|
import {
|
|
137
|
-
|
|
138
|
-
} from "../chunk-
|
|
139
|
-
import {
|
|
140
|
-
randomInt
|
|
141
|
-
} from "../chunk-GIWAOOFY.mjs";
|
|
142
|
-
import {
|
|
143
|
-
random
|
|
144
|
-
} from "../chunk-SYWMYQYJ.mjs";
|
|
128
|
+
without
|
|
129
|
+
} from "../chunk-PYEYV7BY.mjs";
|
|
145
130
|
import {
|
|
146
131
|
shuffle
|
|
147
132
|
} from "../chunk-G7UQ5PUR.mjs";
|
|
@@ -164,8 +149,11 @@ import {
|
|
|
164
149
|
toFilled
|
|
165
150
|
} from "../chunk-OP4OAKQJ.mjs";
|
|
166
151
|
import {
|
|
167
|
-
|
|
168
|
-
} from "../chunk-
|
|
152
|
+
union
|
|
153
|
+
} from "../chunk-R6QA7PLZ.mjs";
|
|
154
|
+
import {
|
|
155
|
+
uniq
|
|
156
|
+
} from "../chunk-DVK2N4KC.mjs";
|
|
169
157
|
import {
|
|
170
158
|
keyBy
|
|
171
159
|
} from "../chunk-AJKZMN2V.mjs";
|
|
@@ -188,8 +176,14 @@ import {
|
|
|
188
176
|
sample
|
|
189
177
|
} from "../chunk-2KNLZB7V.mjs";
|
|
190
178
|
import {
|
|
191
|
-
|
|
192
|
-
} from "../chunk-
|
|
179
|
+
sampleSize
|
|
180
|
+
} from "../chunk-EHSKB6DF.mjs";
|
|
181
|
+
import {
|
|
182
|
+
randomInt
|
|
183
|
+
} from "../chunk-GIWAOOFY.mjs";
|
|
184
|
+
import {
|
|
185
|
+
random
|
|
186
|
+
} from "../chunk-SYWMYQYJ.mjs";
|
|
193
187
|
import {
|
|
194
188
|
forEachRight
|
|
195
189
|
} from "../chunk-IEA53J7P.mjs";
|
|
@@ -209,8 +203,8 @@ import {
|
|
|
209
203
|
intersectionBy
|
|
210
204
|
} from "../chunk-O6UXZR3U.mjs";
|
|
211
205
|
import {
|
|
212
|
-
|
|
213
|
-
} from "../chunk-
|
|
206
|
+
intersectionWith
|
|
207
|
+
} from "../chunk-XI7KRD2C.mjs";
|
|
214
208
|
import {
|
|
215
209
|
drop
|
|
216
210
|
} from "../chunk-3EZAFZG3.mjs";
|
|
@@ -229,16 +223,12 @@ import {
|
|
|
229
223
|
import {
|
|
230
224
|
flatMap
|
|
231
225
|
} from "../chunk-UY76KTPE.mjs";
|
|
226
|
+
import {
|
|
227
|
+
flattenDeep
|
|
228
|
+
} from "../chunk-ML727RRJ.mjs";
|
|
232
229
|
import {
|
|
233
230
|
flatten
|
|
234
231
|
} from "../chunk-33MSBDC6.mjs";
|
|
235
|
-
import "../chunk-F47GLYUU.mjs";
|
|
236
|
-
import {
|
|
237
|
-
AbortError
|
|
238
|
-
} from "../chunk-DXB7EZUQ.mjs";
|
|
239
|
-
import {
|
|
240
|
-
TimeoutError
|
|
241
|
-
} from "../chunk-KIOYQRMQ.mjs";
|
|
242
232
|
import {
|
|
243
233
|
chunk
|
|
244
234
|
} from "../chunk-E6C5EZQA.mjs";
|
|
@@ -254,7 +244,23 @@ import {
|
|
|
254
244
|
import {
|
|
255
245
|
differenceBy
|
|
256
246
|
} from "../chunk-LVWX5B43.mjs";
|
|
247
|
+
import {
|
|
248
|
+
differenceWith
|
|
249
|
+
} from "../chunk-6NVQAHXP.mjs";
|
|
250
|
+
import "../chunk-F47GLYUU.mjs";
|
|
251
|
+
import {
|
|
252
|
+
AbortError
|
|
253
|
+
} from "../chunk-DXB7EZUQ.mjs";
|
|
254
|
+
import {
|
|
255
|
+
TimeoutError
|
|
256
|
+
} from "../chunk-KIOYQRMQ.mjs";
|
|
257
257
|
import "../chunk-236H5JZJ.mjs";
|
|
258
|
+
import {
|
|
259
|
+
once
|
|
260
|
+
} from "../chunk-CMBC4MXG.mjs";
|
|
261
|
+
import {
|
|
262
|
+
throttle
|
|
263
|
+
} from "../chunk-QOJGMVVR.mjs";
|
|
258
264
|
import {
|
|
259
265
|
debounce
|
|
260
266
|
} from "../chunk-3IP4JVLL.mjs";
|
|
@@ -264,12 +270,6 @@ import {
|
|
|
264
270
|
import {
|
|
265
271
|
noop
|
|
266
272
|
} from "../chunk-LKXCOLNY.mjs";
|
|
267
|
-
import {
|
|
268
|
-
once
|
|
269
|
-
} from "../chunk-CMBC4MXG.mjs";
|
|
270
|
-
import {
|
|
271
|
-
throttle
|
|
272
|
-
} from "../chunk-QOJGMVVR.mjs";
|
|
273
273
|
import "../chunk-424M7IR7.mjs";
|
|
274
274
|
|
|
275
275
|
// src/compat/array/chunk.ts
|
package/dist/function/index.mjs
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import "../chunk-236H5JZJ.mjs";
|
|
2
|
+
import {
|
|
3
|
+
once
|
|
4
|
+
} from "../chunk-CMBC4MXG.mjs";
|
|
5
|
+
import {
|
|
6
|
+
throttle
|
|
7
|
+
} from "../chunk-QOJGMVVR.mjs";
|
|
2
8
|
import {
|
|
3
9
|
debounce
|
|
4
10
|
} from "../chunk-3IP4JVLL.mjs";
|
|
@@ -8,12 +14,6 @@ import {
|
|
|
8
14
|
import {
|
|
9
15
|
noop
|
|
10
16
|
} from "../chunk-LKXCOLNY.mjs";
|
|
11
|
-
import {
|
|
12
|
-
once
|
|
13
|
-
} from "../chunk-CMBC4MXG.mjs";
|
|
14
|
-
import {
|
|
15
|
-
throttle
|
|
16
|
-
} from "../chunk-QOJGMVVR.mjs";
|
|
17
17
|
import "../chunk-424M7IR7.mjs";
|
|
18
18
|
export {
|
|
19
19
|
debounce,
|
package/dist/index.mjs
CHANGED
|
@@ -88,9 +88,6 @@ import {
|
|
|
88
88
|
clamp
|
|
89
89
|
} from "./chunk-MLCL773E.mjs";
|
|
90
90
|
import "./chunk-DDH7K4QM.mjs";
|
|
91
|
-
import {
|
|
92
|
-
without
|
|
93
|
-
} from "./chunk-PYEYV7BY.mjs";
|
|
94
91
|
import {
|
|
95
92
|
xor
|
|
96
93
|
} from "./chunk-L7FQX5MN.mjs";
|
|
@@ -109,18 +106,12 @@ import {
|
|
|
109
106
|
import {
|
|
110
107
|
zipWith
|
|
111
108
|
} from "./chunk-4KYXHZ4R.mjs";
|
|
112
|
-
import {
|
|
113
|
-
union
|
|
114
|
-
} from "./chunk-R6QA7PLZ.mjs";
|
|
115
109
|
import {
|
|
116
110
|
unionBy
|
|
117
111
|
} from "./chunk-NFS7RWWE.mjs";
|
|
118
112
|
import {
|
|
119
113
|
unionWith
|
|
120
114
|
} from "./chunk-2ZCITDMK.mjs";
|
|
121
|
-
import {
|
|
122
|
-
uniq
|
|
123
|
-
} from "./chunk-DVK2N4KC.mjs";
|
|
124
115
|
import {
|
|
125
116
|
uniqBy
|
|
126
117
|
} from "./chunk-B4COTK4K.mjs";
|
|
@@ -134,14 +125,8 @@ import {
|
|
|
134
125
|
unzipWith
|
|
135
126
|
} from "./chunk-IFNXROZR.mjs";
|
|
136
127
|
import {
|
|
137
|
-
|
|
138
|
-
} from "./chunk-
|
|
139
|
-
import {
|
|
140
|
-
randomInt
|
|
141
|
-
} from "./chunk-GIWAOOFY.mjs";
|
|
142
|
-
import {
|
|
143
|
-
random
|
|
144
|
-
} from "./chunk-SYWMYQYJ.mjs";
|
|
128
|
+
without
|
|
129
|
+
} from "./chunk-PYEYV7BY.mjs";
|
|
145
130
|
import {
|
|
146
131
|
shuffle
|
|
147
132
|
} from "./chunk-G7UQ5PUR.mjs";
|
|
@@ -164,8 +149,11 @@ import {
|
|
|
164
149
|
toFilled
|
|
165
150
|
} from "./chunk-OP4OAKQJ.mjs";
|
|
166
151
|
import {
|
|
167
|
-
|
|
168
|
-
} from "./chunk-
|
|
152
|
+
union
|
|
153
|
+
} from "./chunk-R6QA7PLZ.mjs";
|
|
154
|
+
import {
|
|
155
|
+
uniq
|
|
156
|
+
} from "./chunk-DVK2N4KC.mjs";
|
|
169
157
|
import {
|
|
170
158
|
keyBy
|
|
171
159
|
} from "./chunk-AJKZMN2V.mjs";
|
|
@@ -188,8 +176,14 @@ import {
|
|
|
188
176
|
sample
|
|
189
177
|
} from "./chunk-2KNLZB7V.mjs";
|
|
190
178
|
import {
|
|
191
|
-
|
|
192
|
-
} from "./chunk-
|
|
179
|
+
sampleSize
|
|
180
|
+
} from "./chunk-EHSKB6DF.mjs";
|
|
181
|
+
import {
|
|
182
|
+
randomInt
|
|
183
|
+
} from "./chunk-GIWAOOFY.mjs";
|
|
184
|
+
import {
|
|
185
|
+
random
|
|
186
|
+
} from "./chunk-SYWMYQYJ.mjs";
|
|
193
187
|
import {
|
|
194
188
|
forEachRight
|
|
195
189
|
} from "./chunk-IEA53J7P.mjs";
|
|
@@ -209,8 +203,8 @@ import {
|
|
|
209
203
|
intersectionBy
|
|
210
204
|
} from "./chunk-O6UXZR3U.mjs";
|
|
211
205
|
import {
|
|
212
|
-
|
|
213
|
-
} from "./chunk-
|
|
206
|
+
intersectionWith
|
|
207
|
+
} from "./chunk-XI7KRD2C.mjs";
|
|
214
208
|
import {
|
|
215
209
|
drop
|
|
216
210
|
} from "./chunk-3EZAFZG3.mjs";
|
|
@@ -229,16 +223,12 @@ import {
|
|
|
229
223
|
import {
|
|
230
224
|
flatMap
|
|
231
225
|
} from "./chunk-UY76KTPE.mjs";
|
|
226
|
+
import {
|
|
227
|
+
flattenDeep
|
|
228
|
+
} from "./chunk-ML727RRJ.mjs";
|
|
232
229
|
import {
|
|
233
230
|
flatten
|
|
234
231
|
} from "./chunk-33MSBDC6.mjs";
|
|
235
|
-
import "./chunk-F47GLYUU.mjs";
|
|
236
|
-
import {
|
|
237
|
-
AbortError
|
|
238
|
-
} from "./chunk-DXB7EZUQ.mjs";
|
|
239
|
-
import {
|
|
240
|
-
TimeoutError
|
|
241
|
-
} from "./chunk-KIOYQRMQ.mjs";
|
|
242
232
|
import {
|
|
243
233
|
chunk
|
|
244
234
|
} from "./chunk-E6C5EZQA.mjs";
|
|
@@ -254,7 +244,23 @@ import {
|
|
|
254
244
|
import {
|
|
255
245
|
differenceBy
|
|
256
246
|
} from "./chunk-LVWX5B43.mjs";
|
|
247
|
+
import {
|
|
248
|
+
differenceWith
|
|
249
|
+
} from "./chunk-6NVQAHXP.mjs";
|
|
250
|
+
import "./chunk-F47GLYUU.mjs";
|
|
251
|
+
import {
|
|
252
|
+
AbortError
|
|
253
|
+
} from "./chunk-DXB7EZUQ.mjs";
|
|
254
|
+
import {
|
|
255
|
+
TimeoutError
|
|
256
|
+
} from "./chunk-KIOYQRMQ.mjs";
|
|
257
257
|
import "./chunk-236H5JZJ.mjs";
|
|
258
|
+
import {
|
|
259
|
+
once
|
|
260
|
+
} from "./chunk-CMBC4MXG.mjs";
|
|
261
|
+
import {
|
|
262
|
+
throttle
|
|
263
|
+
} from "./chunk-QOJGMVVR.mjs";
|
|
258
264
|
import {
|
|
259
265
|
debounce
|
|
260
266
|
} from "./chunk-3IP4JVLL.mjs";
|
|
@@ -264,12 +270,6 @@ import {
|
|
|
264
270
|
import {
|
|
265
271
|
noop
|
|
266
272
|
} from "./chunk-LKXCOLNY.mjs";
|
|
267
|
-
import {
|
|
268
|
-
once
|
|
269
|
-
} from "./chunk-CMBC4MXG.mjs";
|
|
270
|
-
import {
|
|
271
|
-
throttle
|
|
272
|
-
} from "./chunk-QOJGMVVR.mjs";
|
|
273
273
|
import "./chunk-424M7IR7.mjs";
|
|
274
274
|
export {
|
|
275
275
|
AbortError,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
3
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
4
|
-
"version": "1.11.0-dev.
|
|
4
|
+
"version": "1.11.0-dev.264+19e2cde5",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|
|
@@ -95,6 +95,16 @@
|
|
|
95
95
|
"default": "./dist/string/index.js"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
|
+
"./compat": {
|
|
99
|
+
"import": {
|
|
100
|
+
"types": "./dist/compat/index.d.mts",
|
|
101
|
+
"default": "./dist/compat/index.mjs"
|
|
102
|
+
},
|
|
103
|
+
"require": {
|
|
104
|
+
"types": "./dist/compat/index.d.ts",
|
|
105
|
+
"default": "./dist/compat/index.js"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
98
108
|
"./package.json": "./package.json"
|
|
99
109
|
},
|
|
100
110
|
"files": [
|
|
@@ -187,6 +197,16 @@
|
|
|
187
197
|
"default": "./dist/string/index.js"
|
|
188
198
|
}
|
|
189
199
|
},
|
|
200
|
+
"./compat": {
|
|
201
|
+
"import": {
|
|
202
|
+
"types": "./dist/compat/index.d.mts",
|
|
203
|
+
"default": "./dist/compat/index.mjs"
|
|
204
|
+
},
|
|
205
|
+
"require": {
|
|
206
|
+
"types": "./dist/compat/index.d.ts",
|
|
207
|
+
"default": "./dist/compat/index.js"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
190
210
|
"./package.json": "./package.json"
|
|
191
211
|
}
|
|
192
212
|
},
|