es-toolkit 1.10.0-dev.206 → 1.10.0-dev.207
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 +17 -17
- package/dist/compat/index.mjs +36 -36
- package/dist/index.mjs +36 -36
- 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,7 +1,4 @@
|
|
|
1
1
|
import "../chunk-2MRZANXZ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
xorBy
|
|
4
|
-
} from "../chunk-Q47NGNXT.mjs";
|
|
5
2
|
import {
|
|
6
3
|
xorWith
|
|
7
4
|
} from "../chunk-QRSJBBFY.mjs";
|
|
@@ -14,15 +11,9 @@ import {
|
|
|
14
11
|
import {
|
|
15
12
|
zipWith
|
|
16
13
|
} from "../chunk-4KYXHZ4R.mjs";
|
|
17
|
-
import {
|
|
18
|
-
unionWith
|
|
19
|
-
} from "../chunk-2ZCITDMK.mjs";
|
|
20
14
|
import {
|
|
21
15
|
uniqBy
|
|
22
16
|
} from "../chunk-OXAZEEGP.mjs";
|
|
23
|
-
import {
|
|
24
|
-
uniqWith
|
|
25
|
-
} from "../chunk-237HGSZS.mjs";
|
|
26
17
|
import {
|
|
27
18
|
unzip
|
|
28
19
|
} from "../chunk-UYZKMBDO.mjs";
|
|
@@ -36,8 +27,8 @@ import {
|
|
|
36
27
|
xor
|
|
37
28
|
} from "../chunk-L7FQX5MN.mjs";
|
|
38
29
|
import {
|
|
39
|
-
|
|
40
|
-
} from "../chunk-
|
|
30
|
+
xorBy
|
|
31
|
+
} from "../chunk-Q47NGNXT.mjs";
|
|
41
32
|
import {
|
|
42
33
|
take
|
|
43
34
|
} from "../chunk-ME352XO7.mjs";
|
|
@@ -63,8 +54,11 @@ import {
|
|
|
63
54
|
unionBy
|
|
64
55
|
} from "../chunk-NFS7RWWE.mjs";
|
|
65
56
|
import {
|
|
66
|
-
|
|
67
|
-
} from "../chunk-
|
|
57
|
+
unionWith
|
|
58
|
+
} from "../chunk-2ZCITDMK.mjs";
|
|
59
|
+
import {
|
|
60
|
+
uniqWith
|
|
61
|
+
} from "../chunk-237HGSZS.mjs";
|
|
68
62
|
import {
|
|
69
63
|
maxBy
|
|
70
64
|
} from "../chunk-OOKNBU4V.mjs";
|
|
@@ -89,8 +83,8 @@ import {
|
|
|
89
83
|
shuffle
|
|
90
84
|
} from "../chunk-G7UQ5PUR.mjs";
|
|
91
85
|
import {
|
|
92
|
-
|
|
93
|
-
} from "../chunk-
|
|
86
|
+
tail
|
|
87
|
+
} from "../chunk-OF6NM4G7.mjs";
|
|
94
88
|
import {
|
|
95
89
|
head
|
|
96
90
|
} from "../chunk-HM2JT2RX.mjs";
|
|
@@ -110,8 +104,8 @@ import {
|
|
|
110
104
|
keyBy
|
|
111
105
|
} from "../chunk-AJKZMN2V.mjs";
|
|
112
106
|
import {
|
|
113
|
-
|
|
114
|
-
} from "../chunk-
|
|
107
|
+
last
|
|
108
|
+
} from "../chunk-KPBQ7OUY.mjs";
|
|
115
109
|
import {
|
|
116
110
|
dropRight
|
|
117
111
|
} from "../chunk-JEKUA56R.mjs";
|
|
@@ -133,6 +127,9 @@ import {
|
|
|
133
127
|
import {
|
|
134
128
|
forEachRight
|
|
135
129
|
} from "../chunk-IEA53J7P.mjs";
|
|
130
|
+
import {
|
|
131
|
+
groupBy
|
|
132
|
+
} from "../chunk-E6E4RZLN.mjs";
|
|
136
133
|
import {
|
|
137
134
|
chunk
|
|
138
135
|
} from "../chunk-E6C5EZQA.mjs";
|
|
@@ -151,6 +148,9 @@ import {
|
|
|
151
148
|
import {
|
|
152
149
|
differenceWith
|
|
153
150
|
} from "../chunk-6NVQAHXP.mjs";
|
|
151
|
+
import {
|
|
152
|
+
drop
|
|
153
|
+
} from "../chunk-S3CORED5.mjs";
|
|
154
154
|
import "../chunk-2HIMLZE3.mjs";
|
|
155
155
|
export {
|
|
156
156
|
chunk,
|
package/dist/compat/index.mjs
CHANGED
|
@@ -55,6 +55,10 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
isUndefined
|
|
57
57
|
} from "../chunk-VH2PV426.mjs";
|
|
58
|
+
import "../chunk-FZEZH22H.mjs";
|
|
59
|
+
import {
|
|
60
|
+
AbortError
|
|
61
|
+
} from "../chunk-DXB7EZUQ.mjs";
|
|
58
62
|
import "../chunk-FUS75PJ7.mjs";
|
|
59
63
|
import {
|
|
60
64
|
meanBy
|
|
@@ -80,10 +84,23 @@ import {
|
|
|
80
84
|
import {
|
|
81
85
|
inRange
|
|
82
86
|
} from "../chunk-BH6HLGBA.mjs";
|
|
83
|
-
import "../chunk-
|
|
87
|
+
import "../chunk-236H5JZJ.mjs";
|
|
84
88
|
import {
|
|
85
|
-
|
|
86
|
-
} from "../chunk-
|
|
89
|
+
once
|
|
90
|
+
} from "../chunk-CMBC4MXG.mjs";
|
|
91
|
+
import {
|
|
92
|
+
throttle
|
|
93
|
+
} from "../chunk-QOJGMVVR.mjs";
|
|
94
|
+
import {
|
|
95
|
+
debounce
|
|
96
|
+
} from "../chunk-3IP4JVLL.mjs";
|
|
97
|
+
import {
|
|
98
|
+
negate
|
|
99
|
+
} from "../chunk-BOOQBJN2.mjs";
|
|
100
|
+
import {
|
|
101
|
+
noop
|
|
102
|
+
} from "../chunk-LKXCOLNY.mjs";
|
|
103
|
+
import "../chunk-2MRZANXZ.mjs";
|
|
87
104
|
import {
|
|
88
105
|
xorWith
|
|
89
106
|
} from "../chunk-QRSJBBFY.mjs";
|
|
@@ -96,15 +113,9 @@ import {
|
|
|
96
113
|
import {
|
|
97
114
|
zipWith
|
|
98
115
|
} from "../chunk-4KYXHZ4R.mjs";
|
|
99
|
-
import {
|
|
100
|
-
unionWith
|
|
101
|
-
} from "../chunk-2ZCITDMK.mjs";
|
|
102
116
|
import {
|
|
103
117
|
uniqBy
|
|
104
118
|
} from "../chunk-OXAZEEGP.mjs";
|
|
105
|
-
import {
|
|
106
|
-
uniqWith
|
|
107
|
-
} from "../chunk-237HGSZS.mjs";
|
|
108
119
|
import {
|
|
109
120
|
unzip
|
|
110
121
|
} from "../chunk-UYZKMBDO.mjs";
|
|
@@ -118,8 +129,8 @@ import {
|
|
|
118
129
|
xor
|
|
119
130
|
} from "../chunk-L7FQX5MN.mjs";
|
|
120
131
|
import {
|
|
121
|
-
|
|
122
|
-
} from "../chunk-
|
|
132
|
+
xorBy
|
|
133
|
+
} from "../chunk-Q47NGNXT.mjs";
|
|
123
134
|
import {
|
|
124
135
|
take
|
|
125
136
|
} from "../chunk-ME352XO7.mjs";
|
|
@@ -145,8 +156,11 @@ import {
|
|
|
145
156
|
unionBy
|
|
146
157
|
} from "../chunk-NFS7RWWE.mjs";
|
|
147
158
|
import {
|
|
148
|
-
|
|
149
|
-
} from "../chunk-
|
|
159
|
+
unionWith
|
|
160
|
+
} from "../chunk-2ZCITDMK.mjs";
|
|
161
|
+
import {
|
|
162
|
+
uniqWith
|
|
163
|
+
} from "../chunk-237HGSZS.mjs";
|
|
150
164
|
import {
|
|
151
165
|
maxBy
|
|
152
166
|
} from "../chunk-OOKNBU4V.mjs";
|
|
@@ -175,8 +189,8 @@ import {
|
|
|
175
189
|
shuffle
|
|
176
190
|
} from "../chunk-G7UQ5PUR.mjs";
|
|
177
191
|
import {
|
|
178
|
-
|
|
179
|
-
} from "../chunk-
|
|
192
|
+
tail
|
|
193
|
+
} from "../chunk-OF6NM4G7.mjs";
|
|
180
194
|
import {
|
|
181
195
|
head
|
|
182
196
|
} from "../chunk-HM2JT2RX.mjs";
|
|
@@ -196,8 +210,8 @@ import {
|
|
|
196
210
|
keyBy
|
|
197
211
|
} from "../chunk-AJKZMN2V.mjs";
|
|
198
212
|
import {
|
|
199
|
-
|
|
200
|
-
} from "../chunk-
|
|
213
|
+
last
|
|
214
|
+
} from "../chunk-KPBQ7OUY.mjs";
|
|
201
215
|
import {
|
|
202
216
|
dropRight
|
|
203
217
|
} from "../chunk-JEKUA56R.mjs";
|
|
@@ -219,6 +233,9 @@ import {
|
|
|
219
233
|
import {
|
|
220
234
|
forEachRight
|
|
221
235
|
} from "../chunk-IEA53J7P.mjs";
|
|
236
|
+
import {
|
|
237
|
+
groupBy
|
|
238
|
+
} from "../chunk-E6E4RZLN.mjs";
|
|
222
239
|
import {
|
|
223
240
|
chunk
|
|
224
241
|
} from "../chunk-E6C5EZQA.mjs";
|
|
@@ -237,26 +254,9 @@ import {
|
|
|
237
254
|
import {
|
|
238
255
|
differenceWith
|
|
239
256
|
} 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
257
|
import {
|
|
258
|
-
|
|
259
|
-
} from "../chunk-
|
|
258
|
+
drop
|
|
259
|
+
} from "../chunk-S3CORED5.mjs";
|
|
260
260
|
import "../chunk-2HIMLZE3.mjs";
|
|
261
261
|
|
|
262
262
|
// src/compat/array/chunk.ts
|
package/dist/index.mjs
CHANGED
|
@@ -55,6 +55,10 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
isUndefined
|
|
57
57
|
} from "./chunk-VH2PV426.mjs";
|
|
58
|
+
import "./chunk-FZEZH22H.mjs";
|
|
59
|
+
import {
|
|
60
|
+
AbortError
|
|
61
|
+
} from "./chunk-DXB7EZUQ.mjs";
|
|
58
62
|
import "./chunk-FUS75PJ7.mjs";
|
|
59
63
|
import {
|
|
60
64
|
meanBy
|
|
@@ -80,10 +84,23 @@ import {
|
|
|
80
84
|
import {
|
|
81
85
|
inRange
|
|
82
86
|
} from "./chunk-BH6HLGBA.mjs";
|
|
83
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-236H5JZJ.mjs";
|
|
84
88
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./chunk-
|
|
89
|
+
once
|
|
90
|
+
} from "./chunk-CMBC4MXG.mjs";
|
|
91
|
+
import {
|
|
92
|
+
throttle
|
|
93
|
+
} from "./chunk-QOJGMVVR.mjs";
|
|
94
|
+
import {
|
|
95
|
+
debounce
|
|
96
|
+
} from "./chunk-3IP4JVLL.mjs";
|
|
97
|
+
import {
|
|
98
|
+
negate
|
|
99
|
+
} from "./chunk-BOOQBJN2.mjs";
|
|
100
|
+
import {
|
|
101
|
+
noop
|
|
102
|
+
} from "./chunk-LKXCOLNY.mjs";
|
|
103
|
+
import "./chunk-2MRZANXZ.mjs";
|
|
87
104
|
import {
|
|
88
105
|
xorWith
|
|
89
106
|
} from "./chunk-QRSJBBFY.mjs";
|
|
@@ -96,15 +113,9 @@ import {
|
|
|
96
113
|
import {
|
|
97
114
|
zipWith
|
|
98
115
|
} from "./chunk-4KYXHZ4R.mjs";
|
|
99
|
-
import {
|
|
100
|
-
unionWith
|
|
101
|
-
} from "./chunk-2ZCITDMK.mjs";
|
|
102
116
|
import {
|
|
103
117
|
uniqBy
|
|
104
118
|
} from "./chunk-OXAZEEGP.mjs";
|
|
105
|
-
import {
|
|
106
|
-
uniqWith
|
|
107
|
-
} from "./chunk-237HGSZS.mjs";
|
|
108
119
|
import {
|
|
109
120
|
unzip
|
|
110
121
|
} from "./chunk-UYZKMBDO.mjs";
|
|
@@ -118,8 +129,8 @@ import {
|
|
|
118
129
|
xor
|
|
119
130
|
} from "./chunk-L7FQX5MN.mjs";
|
|
120
131
|
import {
|
|
121
|
-
|
|
122
|
-
} from "./chunk-
|
|
132
|
+
xorBy
|
|
133
|
+
} from "./chunk-Q47NGNXT.mjs";
|
|
123
134
|
import {
|
|
124
135
|
take
|
|
125
136
|
} from "./chunk-ME352XO7.mjs";
|
|
@@ -145,8 +156,11 @@ import {
|
|
|
145
156
|
unionBy
|
|
146
157
|
} from "./chunk-NFS7RWWE.mjs";
|
|
147
158
|
import {
|
|
148
|
-
|
|
149
|
-
} from "./chunk-
|
|
159
|
+
unionWith
|
|
160
|
+
} from "./chunk-2ZCITDMK.mjs";
|
|
161
|
+
import {
|
|
162
|
+
uniqWith
|
|
163
|
+
} from "./chunk-237HGSZS.mjs";
|
|
150
164
|
import {
|
|
151
165
|
maxBy
|
|
152
166
|
} from "./chunk-OOKNBU4V.mjs";
|
|
@@ -175,8 +189,8 @@ import {
|
|
|
175
189
|
shuffle
|
|
176
190
|
} from "./chunk-G7UQ5PUR.mjs";
|
|
177
191
|
import {
|
|
178
|
-
|
|
179
|
-
} from "./chunk-
|
|
192
|
+
tail
|
|
193
|
+
} from "./chunk-OF6NM4G7.mjs";
|
|
180
194
|
import {
|
|
181
195
|
head
|
|
182
196
|
} from "./chunk-HM2JT2RX.mjs";
|
|
@@ -196,8 +210,8 @@ import {
|
|
|
196
210
|
keyBy
|
|
197
211
|
} from "./chunk-AJKZMN2V.mjs";
|
|
198
212
|
import {
|
|
199
|
-
|
|
200
|
-
} from "./chunk-
|
|
213
|
+
last
|
|
214
|
+
} from "./chunk-KPBQ7OUY.mjs";
|
|
201
215
|
import {
|
|
202
216
|
dropRight
|
|
203
217
|
} from "./chunk-JEKUA56R.mjs";
|
|
@@ -219,6 +233,9 @@ import {
|
|
|
219
233
|
import {
|
|
220
234
|
forEachRight
|
|
221
235
|
} from "./chunk-IEA53J7P.mjs";
|
|
236
|
+
import {
|
|
237
|
+
groupBy
|
|
238
|
+
} from "./chunk-E6E4RZLN.mjs";
|
|
222
239
|
import {
|
|
223
240
|
chunk
|
|
224
241
|
} from "./chunk-E6C5EZQA.mjs";
|
|
@@ -237,26 +254,9 @@ import {
|
|
|
237
254
|
import {
|
|
238
255
|
differenceWith
|
|
239
256
|
} 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
257
|
import {
|
|
258
|
-
|
|
259
|
-
} from "./chunk-
|
|
258
|
+
drop
|
|
259
|
+
} from "./chunk-S3CORED5.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.207+c1c3b3f7",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|