es-toolkit 1.9.0-dev.177 → 1.9.0-dev.178
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/flattenDeep.d.mts +25 -0
- package/dist/array/flattenDeep.d.ts +25 -0
- package/dist/array/flattenDeep.js +52 -0
- package/dist/array/flattenDeep.js.map +1 -0
- package/dist/array/flattenDeep.mjs +9 -0
- package/dist/array/index.d.mts +1 -0
- package/dist/array/index.d.ts +1 -0
- package/dist/array/index.js +7 -0
- package/dist/array/index.js.map +1 -1
- package/dist/array/index.mjs +63 -59
- package/dist/chunk-HJPB4KC3.mjs +13 -0
- package/dist/chunk-HJPB4KC3.mjs.map +1 -0
- package/dist/chunk-OJSIDS6H.mjs +1 -0
- package/dist/chunk-OJSIDS6H.mjs.map +1 -0
- package/dist/function/index.mjs +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +84 -80
- package/dist/math/index.mjs +3 -3
- package/dist/object/index.mjs +3 -3
- package/dist/predicate/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-NLN3GQ7D.mjs +0 -1
- /package/dist/{chunk-NLN3GQ7D.mjs.map → array/flattenDeep.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -7,6 +7,9 @@ import {
|
|
|
7
7
|
snakeCase
|
|
8
8
|
} from "./chunk-VRFIBW4H.mjs";
|
|
9
9
|
import "./chunk-MAJSPFA6.mjs";
|
|
10
|
+
import {
|
|
11
|
+
isUndefined
|
|
12
|
+
} from "./chunk-VH2PV426.mjs";
|
|
10
13
|
import {
|
|
11
14
|
isNil
|
|
12
15
|
} from "./chunk-OHQAR5AU.mjs";
|
|
@@ -16,10 +19,10 @@ import {
|
|
|
16
19
|
import {
|
|
17
20
|
isNull
|
|
18
21
|
} from "./chunk-AIRSKN47.mjs";
|
|
19
|
-
import {
|
|
20
|
-
isUndefined
|
|
21
|
-
} from "./chunk-VH2PV426.mjs";
|
|
22
22
|
import "./chunk-PMHULJNL.mjs";
|
|
23
|
+
import {
|
|
24
|
+
omit
|
|
25
|
+
} from "./chunk-QZITBKWX.mjs";
|
|
23
26
|
import {
|
|
24
27
|
omitBy
|
|
25
28
|
} from "./chunk-BCTYOXT7.mjs";
|
|
@@ -32,10 +35,14 @@ import {
|
|
|
32
35
|
import {
|
|
33
36
|
invert
|
|
34
37
|
} from "./chunk-74WWMNZS.mjs";
|
|
38
|
+
import "./chunk-FZEZH22H.mjs";
|
|
35
39
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
AbortError
|
|
41
|
+
} from "./chunk-DXB7EZUQ.mjs";
|
|
38
42
|
import "./chunk-TLVQSNOE.mjs";
|
|
43
|
+
import {
|
|
44
|
+
meanBy
|
|
45
|
+
} from "./chunk-IZAD2S7R.mjs";
|
|
39
46
|
import {
|
|
40
47
|
range
|
|
41
48
|
} from "./chunk-DPH2KE6O.mjs";
|
|
@@ -48,29 +55,28 @@ import {
|
|
|
48
55
|
import {
|
|
49
56
|
inRange
|
|
50
57
|
} from "./chunk-BH6HLGBA.mjs";
|
|
51
|
-
import {
|
|
52
|
-
meanBy
|
|
53
|
-
} from "./chunk-IZAD2S7R.mjs";
|
|
54
58
|
import {
|
|
55
59
|
mean
|
|
56
60
|
} from "./chunk-GDC64SYJ.mjs";
|
|
57
61
|
import {
|
|
58
62
|
sum
|
|
59
63
|
} from "./chunk-2SLTL4KL.mjs";
|
|
60
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-OJSIDS6H.mjs";
|
|
61
65
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./chunk-
|
|
66
|
+
zipObject
|
|
67
|
+
} from "./chunk-6GWEY5EL.mjs";
|
|
64
68
|
import {
|
|
65
|
-
|
|
66
|
-
} from "./chunk-
|
|
69
|
+
zipWith
|
|
70
|
+
} from "./chunk-4KYXHZ4R.mjs";
|
|
67
71
|
import {
|
|
68
|
-
|
|
69
|
-
} from "./chunk-
|
|
72
|
+
unzip
|
|
73
|
+
} from "./chunk-UYZKMBDO.mjs";
|
|
70
74
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import
|
|
75
|
+
unzipWith
|
|
76
|
+
} from "./chunk-IFNXROZR.mjs";
|
|
77
|
+
import {
|
|
78
|
+
without
|
|
79
|
+
} from "./chunk-PYEYV7BY.mjs";
|
|
74
80
|
import {
|
|
75
81
|
xor
|
|
76
82
|
} from "./chunk-L7FQX5MN.mjs";
|
|
@@ -84,32 +90,50 @@ import {
|
|
|
84
90
|
zip
|
|
85
91
|
} from "./chunk-IDCUZVJL.mjs";
|
|
86
92
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
93
|
+
takeRightWhile
|
|
94
|
+
} from "./chunk-NTLX2MPV.mjs";
|
|
89
95
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
96
|
+
takeWhile
|
|
97
|
+
} from "./chunk-2IXFGSUA.mjs";
|
|
98
|
+
import {
|
|
99
|
+
toFilled
|
|
100
|
+
} from "./chunk-OP4OAKQJ.mjs";
|
|
101
|
+
import {
|
|
102
|
+
union
|
|
103
|
+
} from "./chunk-R6QA7PLZ.mjs";
|
|
92
104
|
import {
|
|
93
105
|
unionBy
|
|
94
106
|
} from "./chunk-NFS7RWWE.mjs";
|
|
95
107
|
import {
|
|
96
108
|
unionWith
|
|
97
109
|
} from "./chunk-2ZCITDMK.mjs";
|
|
110
|
+
import {
|
|
111
|
+
uniqWith
|
|
112
|
+
} from "./chunk-237HGSZS.mjs";
|
|
113
|
+
import {
|
|
114
|
+
uniq
|
|
115
|
+
} from "./chunk-DVK2N4KC.mjs";
|
|
98
116
|
import {
|
|
99
117
|
uniqBy
|
|
100
118
|
} from "./chunk-OXAZEEGP.mjs";
|
|
101
119
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
120
|
+
orderBy
|
|
121
|
+
} from "./chunk-7B7W36UP.mjs";
|
|
104
122
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
123
|
+
partition
|
|
124
|
+
} from "./chunk-DN3NOZ3H.mjs";
|
|
107
125
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
126
|
+
sample
|
|
127
|
+
} from "./chunk-2KNLZB7V.mjs";
|
|
110
128
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
129
|
+
sampleSize
|
|
130
|
+
} from "./chunk-EHSKB6DF.mjs";
|
|
131
|
+
import {
|
|
132
|
+
randomInt
|
|
133
|
+
} from "./chunk-GIWAOOFY.mjs";
|
|
134
|
+
import {
|
|
135
|
+
random
|
|
136
|
+
} from "./chunk-SYWMYQYJ.mjs";
|
|
113
137
|
import {
|
|
114
138
|
shuffle
|
|
115
139
|
} from "./chunk-G7UQ5PUR.mjs";
|
|
@@ -123,20 +147,14 @@ import {
|
|
|
123
147
|
takeRight
|
|
124
148
|
} from "./chunk-IQLKIDXF.mjs";
|
|
125
149
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
128
|
-
import {
|
|
129
|
-
takeWhile
|
|
130
|
-
} from "./chunk-2IXFGSUA.mjs";
|
|
131
|
-
import {
|
|
132
|
-
toFilled
|
|
133
|
-
} from "./chunk-OP4OAKQJ.mjs";
|
|
150
|
+
intersection
|
|
151
|
+
} from "./chunk-FVVSE2F2.mjs";
|
|
134
152
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
153
|
+
intersectionBy
|
|
154
|
+
} from "./chunk-O6UXZR3U.mjs";
|
|
137
155
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./chunk-
|
|
156
|
+
intersectionWith
|
|
157
|
+
} from "./chunk-XI7KRD2C.mjs";
|
|
140
158
|
import {
|
|
141
159
|
keyBy
|
|
142
160
|
} from "./chunk-AJKZMN2V.mjs";
|
|
@@ -150,23 +168,17 @@ import {
|
|
|
150
168
|
minBy
|
|
151
169
|
} from "./chunk-IJD7FE2Z.mjs";
|
|
152
170
|
import {
|
|
153
|
-
|
|
154
|
-
} from "./chunk-
|
|
155
|
-
import {
|
|
156
|
-
partition
|
|
157
|
-
} from "./chunk-DN3NOZ3H.mjs";
|
|
158
|
-
import {
|
|
159
|
-
sample
|
|
160
|
-
} from "./chunk-2KNLZB7V.mjs";
|
|
171
|
+
dropRightWhile
|
|
172
|
+
} from "./chunk-JE6JKZU3.mjs";
|
|
161
173
|
import {
|
|
162
|
-
|
|
163
|
-
} from "./chunk-
|
|
174
|
+
dropWhile
|
|
175
|
+
} from "./chunk-LJ2C6MVP.mjs";
|
|
164
176
|
import {
|
|
165
|
-
|
|
166
|
-
} from "./chunk-
|
|
177
|
+
fill
|
|
178
|
+
} from "./chunk-C4WE4GLC.mjs";
|
|
167
179
|
import {
|
|
168
|
-
|
|
169
|
-
} from "./chunk-
|
|
180
|
+
flattenDeep
|
|
181
|
+
} from "./chunk-HJPB4KC3.mjs";
|
|
170
182
|
import {
|
|
171
183
|
flatten
|
|
172
184
|
} from "./chunk-33MSBDC6.mjs";
|
|
@@ -180,14 +192,14 @@ import {
|
|
|
180
192
|
head
|
|
181
193
|
} from "./chunk-HM2JT2RX.mjs";
|
|
182
194
|
import {
|
|
183
|
-
|
|
184
|
-
} from "./chunk-
|
|
195
|
+
chunk
|
|
196
|
+
} from "./chunk-E6C5EZQA.mjs";
|
|
185
197
|
import {
|
|
186
|
-
|
|
187
|
-
} from "./chunk-
|
|
198
|
+
compact
|
|
199
|
+
} from "./chunk-DTJJIMKJ.mjs";
|
|
188
200
|
import {
|
|
189
|
-
|
|
190
|
-
} from "./chunk-
|
|
201
|
+
countBy
|
|
202
|
+
} from "./chunk-CRSKT4WW.mjs";
|
|
191
203
|
import {
|
|
192
204
|
difference
|
|
193
205
|
} from "./chunk-JPUKH67K.mjs";
|
|
@@ -203,30 +215,21 @@ import {
|
|
|
203
215
|
import {
|
|
204
216
|
dropRight
|
|
205
217
|
} from "./chunk-JEKUA56R.mjs";
|
|
206
|
-
import {
|
|
207
|
-
dropRightWhile
|
|
208
|
-
} from "./chunk-JE6JKZU3.mjs";
|
|
209
|
-
import {
|
|
210
|
-
dropWhile
|
|
211
|
-
} from "./chunk-LJ2C6MVP.mjs";
|
|
212
|
-
import {
|
|
213
|
-
fill
|
|
214
|
-
} from "./chunk-C4WE4GLC.mjs";
|
|
215
218
|
import "./chunk-2M3YVRFS.mjs";
|
|
216
219
|
import "./chunk-T5URDZEQ.mjs";
|
|
217
|
-
import "./chunk-
|
|
220
|
+
import "./chunk-N6EM6ETS.mjs";
|
|
218
221
|
import {
|
|
219
|
-
|
|
220
|
-
} from "./chunk-
|
|
222
|
+
debounce
|
|
223
|
+
} from "./chunk-3IP4JVLL.mjs";
|
|
221
224
|
import {
|
|
222
|
-
|
|
223
|
-
} from "./chunk-
|
|
225
|
+
noop
|
|
226
|
+
} from "./chunk-LKXCOLNY.mjs";
|
|
224
227
|
import {
|
|
225
|
-
|
|
226
|
-
} from "./chunk-
|
|
228
|
+
once
|
|
229
|
+
} from "./chunk-CMBC4MXG.mjs";
|
|
227
230
|
import {
|
|
228
|
-
|
|
229
|
-
} from "./chunk-
|
|
231
|
+
throttle
|
|
232
|
+
} from "./chunk-QOJGMVVR.mjs";
|
|
230
233
|
import "./chunk-2MM5EJJX.mjs";
|
|
231
234
|
export {
|
|
232
235
|
AbortError,
|
|
@@ -245,6 +248,7 @@ export {
|
|
|
245
248
|
dropWhile,
|
|
246
249
|
fill,
|
|
247
250
|
flatten,
|
|
251
|
+
flattenDeep,
|
|
248
252
|
forEachRight,
|
|
249
253
|
groupBy,
|
|
250
254
|
head,
|
package/dist/math/index.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "../chunk-TLVQSNOE.mjs";
|
|
2
|
+
import {
|
|
3
|
+
meanBy
|
|
4
|
+
} from "../chunk-IZAD2S7R.mjs";
|
|
2
5
|
import {
|
|
3
6
|
range
|
|
4
7
|
} from "../chunk-DPH2KE6O.mjs";
|
|
@@ -11,9 +14,6 @@ import {
|
|
|
11
14
|
import {
|
|
12
15
|
inRange
|
|
13
16
|
} from "../chunk-BH6HLGBA.mjs";
|
|
14
|
-
import {
|
|
15
|
-
meanBy
|
|
16
|
-
} from "../chunk-IZAD2S7R.mjs";
|
|
17
17
|
import {
|
|
18
18
|
mean
|
|
19
19
|
} from "../chunk-GDC64SYJ.mjs";
|
package/dist/object/index.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "../chunk-PMHULJNL.mjs";
|
|
2
|
+
import {
|
|
3
|
+
omit
|
|
4
|
+
} from "../chunk-QZITBKWX.mjs";
|
|
2
5
|
import {
|
|
3
6
|
omitBy
|
|
4
7
|
} from "../chunk-BCTYOXT7.mjs";
|
|
@@ -11,9 +14,6 @@ import {
|
|
|
11
14
|
import {
|
|
12
15
|
invert
|
|
13
16
|
} from "../chunk-74WWMNZS.mjs";
|
|
14
|
-
import {
|
|
15
|
-
omit
|
|
16
|
-
} from "../chunk-QZITBKWX.mjs";
|
|
17
17
|
import "../chunk-2MM5EJJX.mjs";
|
|
18
18
|
export {
|
|
19
19
|
invert,
|
package/dist/predicate/index.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "../chunk-MAJSPFA6.mjs";
|
|
2
|
+
import {
|
|
3
|
+
isUndefined
|
|
4
|
+
} from "../chunk-VH2PV426.mjs";
|
|
2
5
|
import {
|
|
3
6
|
isNil
|
|
4
7
|
} from "../chunk-OHQAR5AU.mjs";
|
|
@@ -8,9 +11,6 @@ import {
|
|
|
8
11
|
import {
|
|
9
12
|
isNull
|
|
10
13
|
} from "../chunk-AIRSKN47.mjs";
|
|
11
|
-
import {
|
|
12
|
-
isUndefined
|
|
13
|
-
} from "../chunk-VH2PV426.mjs";
|
|
14
14
|
import "../chunk-2MM5EJJX.mjs";
|
|
15
15
|
export {
|
|
16
16
|
isNil,
|
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.9.0-dev.
|
|
4
|
+
"version": "1.9.0-dev.178+ae69076d",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|
package/dist/chunk-NLN3GQ7D.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-NLN3GQ7D.mjs.map
|
|
File without changes
|