es-toolkit 1.10.0-dev.206 → 1.10.0-dev.208
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/LICENSE +7 -1
- package/dist/array/index.mjs +14 -14
- package/dist/compat/index.mjs +33 -33
- package/dist/function/index.mjs +6 -6
- package/dist/index.mjs +33 -33
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -18,4 +18,10 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
Some of the test code in this software comes from the lodash library (https://github.com/lodash/lodash).
|
|
26
|
+
|
|
27
|
+
The copyright for this imported test code from lodash is owned by the JS Foundation and other contributors <https://js.foundation/>.
|
package/dist/array/index.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "../chunk-2MRZANXZ.mjs";
|
|
2
|
+
import {
|
|
3
|
+
xor
|
|
4
|
+
} from "../chunk-L7FQX5MN.mjs";
|
|
2
5
|
import {
|
|
3
6
|
xorBy
|
|
4
7
|
} from "../chunk-Q47NGNXT.mjs";
|
|
@@ -14,6 +17,9 @@ import {
|
|
|
14
17
|
import {
|
|
15
18
|
zipWith
|
|
16
19
|
} from "../chunk-4KYXHZ4R.mjs";
|
|
20
|
+
import {
|
|
21
|
+
unionBy
|
|
22
|
+
} from "../chunk-NFS7RWWE.mjs";
|
|
17
23
|
import {
|
|
18
24
|
unionWith
|
|
19
25
|
} from "../chunk-2ZCITDMK.mjs";
|
|
@@ -33,8 +39,8 @@ import {
|
|
|
33
39
|
without
|
|
34
40
|
} from "../chunk-PYEYV7BY.mjs";
|
|
35
41
|
import {
|
|
36
|
-
|
|
37
|
-
} from "../chunk-
|
|
42
|
+
shuffle
|
|
43
|
+
} from "../chunk-G7UQ5PUR.mjs";
|
|
38
44
|
import {
|
|
39
45
|
tail
|
|
40
46
|
} from "../chunk-OF6NM4G7.mjs";
|
|
@@ -60,8 +66,8 @@ import {
|
|
|
60
66
|
uniq
|
|
61
67
|
} from "../chunk-DVK2N4KC.mjs";
|
|
62
68
|
import {
|
|
63
|
-
|
|
64
|
-
} from "../chunk-
|
|
69
|
+
keyBy
|
|
70
|
+
} from "../chunk-AJKZMN2V.mjs";
|
|
65
71
|
import {
|
|
66
72
|
last
|
|
67
73
|
} from "../chunk-KPBQ7OUY.mjs";
|
|
@@ -86,8 +92,8 @@ import {
|
|
|
86
92
|
import "../chunk-GIWAOOFY.mjs";
|
|
87
93
|
import "../chunk-SYWMYQYJ.mjs";
|
|
88
94
|
import {
|
|
89
|
-
|
|
90
|
-
} from "../chunk-
|
|
95
|
+
forEachRight
|
|
96
|
+
} from "../chunk-IEA53J7P.mjs";
|
|
91
97
|
import {
|
|
92
98
|
groupBy
|
|
93
99
|
} from "../chunk-E6E4RZLN.mjs";
|
|
@@ -107,8 +113,8 @@ import {
|
|
|
107
113
|
intersectionWith
|
|
108
114
|
} from "../chunk-XI7KRD2C.mjs";
|
|
109
115
|
import {
|
|
110
|
-
|
|
111
|
-
} from "../chunk-
|
|
116
|
+
differenceWith
|
|
117
|
+
} from "../chunk-6NVQAHXP.mjs";
|
|
112
118
|
import {
|
|
113
119
|
drop
|
|
114
120
|
} from "../chunk-S3CORED5.mjs";
|
|
@@ -130,9 +136,6 @@ import {
|
|
|
130
136
|
import {
|
|
131
137
|
flatten
|
|
132
138
|
} from "../chunk-33MSBDC6.mjs";
|
|
133
|
-
import {
|
|
134
|
-
forEachRight
|
|
135
|
-
} from "../chunk-IEA53J7P.mjs";
|
|
136
139
|
import {
|
|
137
140
|
chunk
|
|
138
141
|
} from "../chunk-E6C5EZQA.mjs";
|
|
@@ -148,9 +151,6 @@ import {
|
|
|
148
151
|
import {
|
|
149
152
|
differenceBy
|
|
150
153
|
} from "../chunk-LVWX5B43.mjs";
|
|
151
|
-
import {
|
|
152
|
-
differenceWith
|
|
153
|
-
} from "../chunk-6NVQAHXP.mjs";
|
|
154
154
|
import "../chunk-2HIMLZE3.mjs";
|
|
155
155
|
export {
|
|
156
156
|
chunk,
|
package/dist/compat/index.mjs
CHANGED
|
@@ -55,6 +55,19 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
isUndefined
|
|
57
57
|
} from "../chunk-VH2PV426.mjs";
|
|
58
|
+
import "../chunk-236H5JZJ.mjs";
|
|
59
|
+
import {
|
|
60
|
+
negate
|
|
61
|
+
} from "../chunk-BOOQBJN2.mjs";
|
|
62
|
+
import {
|
|
63
|
+
noop
|
|
64
|
+
} from "../chunk-LKXCOLNY.mjs";
|
|
65
|
+
import {
|
|
66
|
+
once
|
|
67
|
+
} from "../chunk-CMBC4MXG.mjs";
|
|
68
|
+
import {
|
|
69
|
+
throttle
|
|
70
|
+
} from "../chunk-QOJGMVVR.mjs";
|
|
58
71
|
import "../chunk-FUS75PJ7.mjs";
|
|
59
72
|
import {
|
|
60
73
|
meanBy
|
|
@@ -80,7 +93,13 @@ import {
|
|
|
80
93
|
import {
|
|
81
94
|
inRange
|
|
82
95
|
} from "../chunk-BH6HLGBA.mjs";
|
|
96
|
+
import {
|
|
97
|
+
debounce
|
|
98
|
+
} from "../chunk-3IP4JVLL.mjs";
|
|
83
99
|
import "../chunk-2MRZANXZ.mjs";
|
|
100
|
+
import {
|
|
101
|
+
xor
|
|
102
|
+
} from "../chunk-L7FQX5MN.mjs";
|
|
84
103
|
import {
|
|
85
104
|
xorBy
|
|
86
105
|
} from "../chunk-Q47NGNXT.mjs";
|
|
@@ -96,6 +115,9 @@ import {
|
|
|
96
115
|
import {
|
|
97
116
|
zipWith
|
|
98
117
|
} from "../chunk-4KYXHZ4R.mjs";
|
|
118
|
+
import {
|
|
119
|
+
unionBy
|
|
120
|
+
} from "../chunk-NFS7RWWE.mjs";
|
|
99
121
|
import {
|
|
100
122
|
unionWith
|
|
101
123
|
} from "../chunk-2ZCITDMK.mjs";
|
|
@@ -115,8 +137,8 @@ import {
|
|
|
115
137
|
without
|
|
116
138
|
} from "../chunk-PYEYV7BY.mjs";
|
|
117
139
|
import {
|
|
118
|
-
|
|
119
|
-
} from "../chunk-
|
|
140
|
+
shuffle
|
|
141
|
+
} from "../chunk-G7UQ5PUR.mjs";
|
|
120
142
|
import {
|
|
121
143
|
tail
|
|
122
144
|
} from "../chunk-OF6NM4G7.mjs";
|
|
@@ -142,8 +164,8 @@ import {
|
|
|
142
164
|
uniq
|
|
143
165
|
} from "../chunk-DVK2N4KC.mjs";
|
|
144
166
|
import {
|
|
145
|
-
|
|
146
|
-
} from "../chunk-
|
|
167
|
+
keyBy
|
|
168
|
+
} from "../chunk-AJKZMN2V.mjs";
|
|
147
169
|
import {
|
|
148
170
|
last
|
|
149
171
|
} from "../chunk-KPBQ7OUY.mjs";
|
|
@@ -172,8 +194,8 @@ import {
|
|
|
172
194
|
random
|
|
173
195
|
} from "../chunk-SYWMYQYJ.mjs";
|
|
174
196
|
import {
|
|
175
|
-
|
|
176
|
-
} from "../chunk-
|
|
197
|
+
forEachRight
|
|
198
|
+
} from "../chunk-IEA53J7P.mjs";
|
|
177
199
|
import {
|
|
178
200
|
groupBy
|
|
179
201
|
} from "../chunk-E6E4RZLN.mjs";
|
|
@@ -193,8 +215,8 @@ import {
|
|
|
193
215
|
intersectionWith
|
|
194
216
|
} from "../chunk-XI7KRD2C.mjs";
|
|
195
217
|
import {
|
|
196
|
-
|
|
197
|
-
} from "../chunk-
|
|
218
|
+
differenceWith
|
|
219
|
+
} from "../chunk-6NVQAHXP.mjs";
|
|
198
220
|
import {
|
|
199
221
|
drop
|
|
200
222
|
} from "../chunk-S3CORED5.mjs";
|
|
@@ -216,9 +238,10 @@ import {
|
|
|
216
238
|
import {
|
|
217
239
|
flatten
|
|
218
240
|
} from "../chunk-33MSBDC6.mjs";
|
|
241
|
+
import "../chunk-FZEZH22H.mjs";
|
|
219
242
|
import {
|
|
220
|
-
|
|
221
|
-
} from "../chunk-
|
|
243
|
+
AbortError
|
|
244
|
+
} from "../chunk-DXB7EZUQ.mjs";
|
|
222
245
|
import {
|
|
223
246
|
chunk
|
|
224
247
|
} from "../chunk-E6C5EZQA.mjs";
|
|
@@ -234,29 +257,6 @@ import {
|
|
|
234
257
|
import {
|
|
235
258
|
differenceBy
|
|
236
259
|
} from "../chunk-LVWX5B43.mjs";
|
|
237
|
-
import {
|
|
238
|
-
differenceWith
|
|
239
|
-
} from "../chunk-6NVQAHXP.mjs";
|
|
240
|
-
import "../chunk-FZEZH22H.mjs";
|
|
241
|
-
import {
|
|
242
|
-
AbortError
|
|
243
|
-
} from "../chunk-DXB7EZUQ.mjs";
|
|
244
|
-
import "../chunk-236H5JZJ.mjs";
|
|
245
|
-
import {
|
|
246
|
-
once
|
|
247
|
-
} from "../chunk-CMBC4MXG.mjs";
|
|
248
|
-
import {
|
|
249
|
-
throttle
|
|
250
|
-
} from "../chunk-QOJGMVVR.mjs";
|
|
251
|
-
import {
|
|
252
|
-
debounce
|
|
253
|
-
} from "../chunk-3IP4JVLL.mjs";
|
|
254
|
-
import {
|
|
255
|
-
negate
|
|
256
|
-
} from "../chunk-BOOQBJN2.mjs";
|
|
257
|
-
import {
|
|
258
|
-
noop
|
|
259
|
-
} from "../chunk-LKXCOLNY.mjs";
|
|
260
260
|
import "../chunk-2HIMLZE3.mjs";
|
|
261
261
|
|
|
262
262
|
// src/compat/array/chunk.ts
|
package/dist/function/index.mjs
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import "../chunk-236H5JZJ.mjs";
|
|
2
|
+
import {
|
|
3
|
+
negate
|
|
4
|
+
} from "../chunk-BOOQBJN2.mjs";
|
|
5
|
+
import {
|
|
6
|
+
noop
|
|
7
|
+
} from "../chunk-LKXCOLNY.mjs";
|
|
2
8
|
import {
|
|
3
9
|
once
|
|
4
10
|
} from "../chunk-CMBC4MXG.mjs";
|
|
@@ -8,12 +14,6 @@ import {
|
|
|
8
14
|
import {
|
|
9
15
|
debounce
|
|
10
16
|
} from "../chunk-3IP4JVLL.mjs";
|
|
11
|
-
import {
|
|
12
|
-
negate
|
|
13
|
-
} from "../chunk-BOOQBJN2.mjs";
|
|
14
|
-
import {
|
|
15
|
-
noop
|
|
16
|
-
} from "../chunk-LKXCOLNY.mjs";
|
|
17
17
|
import "../chunk-2HIMLZE3.mjs";
|
|
18
18
|
export {
|
|
19
19
|
debounce,
|
package/dist/index.mjs
CHANGED
|
@@ -55,6 +55,19 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
isUndefined
|
|
57
57
|
} from "./chunk-VH2PV426.mjs";
|
|
58
|
+
import "./chunk-236H5JZJ.mjs";
|
|
59
|
+
import {
|
|
60
|
+
negate
|
|
61
|
+
} from "./chunk-BOOQBJN2.mjs";
|
|
62
|
+
import {
|
|
63
|
+
noop
|
|
64
|
+
} from "./chunk-LKXCOLNY.mjs";
|
|
65
|
+
import {
|
|
66
|
+
once
|
|
67
|
+
} from "./chunk-CMBC4MXG.mjs";
|
|
68
|
+
import {
|
|
69
|
+
throttle
|
|
70
|
+
} from "./chunk-QOJGMVVR.mjs";
|
|
58
71
|
import "./chunk-FUS75PJ7.mjs";
|
|
59
72
|
import {
|
|
60
73
|
meanBy
|
|
@@ -80,7 +93,13 @@ import {
|
|
|
80
93
|
import {
|
|
81
94
|
inRange
|
|
82
95
|
} from "./chunk-BH6HLGBA.mjs";
|
|
96
|
+
import {
|
|
97
|
+
debounce
|
|
98
|
+
} from "./chunk-3IP4JVLL.mjs";
|
|
83
99
|
import "./chunk-2MRZANXZ.mjs";
|
|
100
|
+
import {
|
|
101
|
+
xor
|
|
102
|
+
} from "./chunk-L7FQX5MN.mjs";
|
|
84
103
|
import {
|
|
85
104
|
xorBy
|
|
86
105
|
} from "./chunk-Q47NGNXT.mjs";
|
|
@@ -96,6 +115,9 @@ import {
|
|
|
96
115
|
import {
|
|
97
116
|
zipWith
|
|
98
117
|
} from "./chunk-4KYXHZ4R.mjs";
|
|
118
|
+
import {
|
|
119
|
+
unionBy
|
|
120
|
+
} from "./chunk-NFS7RWWE.mjs";
|
|
99
121
|
import {
|
|
100
122
|
unionWith
|
|
101
123
|
} from "./chunk-2ZCITDMK.mjs";
|
|
@@ -115,8 +137,8 @@ import {
|
|
|
115
137
|
without
|
|
116
138
|
} from "./chunk-PYEYV7BY.mjs";
|
|
117
139
|
import {
|
|
118
|
-
|
|
119
|
-
} from "./chunk-
|
|
140
|
+
shuffle
|
|
141
|
+
} from "./chunk-G7UQ5PUR.mjs";
|
|
120
142
|
import {
|
|
121
143
|
tail
|
|
122
144
|
} from "./chunk-OF6NM4G7.mjs";
|
|
@@ -142,8 +164,8 @@ import {
|
|
|
142
164
|
uniq
|
|
143
165
|
} from "./chunk-DVK2N4KC.mjs";
|
|
144
166
|
import {
|
|
145
|
-
|
|
146
|
-
} from "./chunk-
|
|
167
|
+
keyBy
|
|
168
|
+
} from "./chunk-AJKZMN2V.mjs";
|
|
147
169
|
import {
|
|
148
170
|
last
|
|
149
171
|
} from "./chunk-KPBQ7OUY.mjs";
|
|
@@ -172,8 +194,8 @@ import {
|
|
|
172
194
|
random
|
|
173
195
|
} from "./chunk-SYWMYQYJ.mjs";
|
|
174
196
|
import {
|
|
175
|
-
|
|
176
|
-
} from "./chunk-
|
|
197
|
+
forEachRight
|
|
198
|
+
} from "./chunk-IEA53J7P.mjs";
|
|
177
199
|
import {
|
|
178
200
|
groupBy
|
|
179
201
|
} from "./chunk-E6E4RZLN.mjs";
|
|
@@ -193,8 +215,8 @@ import {
|
|
|
193
215
|
intersectionWith
|
|
194
216
|
} from "./chunk-XI7KRD2C.mjs";
|
|
195
217
|
import {
|
|
196
|
-
|
|
197
|
-
} from "./chunk-
|
|
218
|
+
differenceWith
|
|
219
|
+
} from "./chunk-6NVQAHXP.mjs";
|
|
198
220
|
import {
|
|
199
221
|
drop
|
|
200
222
|
} from "./chunk-S3CORED5.mjs";
|
|
@@ -216,9 +238,10 @@ import {
|
|
|
216
238
|
import {
|
|
217
239
|
flatten
|
|
218
240
|
} from "./chunk-33MSBDC6.mjs";
|
|
241
|
+
import "./chunk-FZEZH22H.mjs";
|
|
219
242
|
import {
|
|
220
|
-
|
|
221
|
-
} from "./chunk-
|
|
243
|
+
AbortError
|
|
244
|
+
} from "./chunk-DXB7EZUQ.mjs";
|
|
222
245
|
import {
|
|
223
246
|
chunk
|
|
224
247
|
} from "./chunk-E6C5EZQA.mjs";
|
|
@@ -234,29 +257,6 @@ import {
|
|
|
234
257
|
import {
|
|
235
258
|
differenceBy
|
|
236
259
|
} from "./chunk-LVWX5B43.mjs";
|
|
237
|
-
import {
|
|
238
|
-
differenceWith
|
|
239
|
-
} from "./chunk-6NVQAHXP.mjs";
|
|
240
|
-
import "./chunk-FZEZH22H.mjs";
|
|
241
|
-
import {
|
|
242
|
-
AbortError
|
|
243
|
-
} from "./chunk-DXB7EZUQ.mjs";
|
|
244
|
-
import "./chunk-236H5JZJ.mjs";
|
|
245
|
-
import {
|
|
246
|
-
once
|
|
247
|
-
} from "./chunk-CMBC4MXG.mjs";
|
|
248
|
-
import {
|
|
249
|
-
throttle
|
|
250
|
-
} from "./chunk-QOJGMVVR.mjs";
|
|
251
|
-
import {
|
|
252
|
-
debounce
|
|
253
|
-
} from "./chunk-3IP4JVLL.mjs";
|
|
254
|
-
import {
|
|
255
|
-
negate
|
|
256
|
-
} from "./chunk-BOOQBJN2.mjs";
|
|
257
|
-
import {
|
|
258
|
-
noop
|
|
259
|
-
} from "./chunk-LKXCOLNY.mjs";
|
|
260
260
|
import "./chunk-2HIMLZE3.mjs";
|
|
261
261
|
export {
|
|
262
262
|
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.10.0-dev.
|
|
4
|
+
"version": "1.10.0-dev.208+3f407712",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|