es-toolkit 1.8.0-dev.167 → 1.8.0-dev.169
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/flatten.d.mts +19 -0
- package/dist/array/flatten.d.ts +19 -0
- package/dist/array/flatten.js +45 -0
- package/dist/array/flatten.js.map +1 -0
- package/dist/array/flatten.mjs +8 -0
- package/dist/array/index.d.mts +2 -0
- package/dist/array/index.d.ts +2 -0
- package/dist/array/index.js +34 -0
- package/dist/array/index.js.map +1 -1
- package/dist/array/index.mjs +21 -13
- package/dist/array/tail.d.mts +38 -0
- package/dist/array/tail.d.ts +38 -0
- package/dist/array/tail.js +41 -0
- package/dist/array/tail.js.map +1 -0
- package/dist/array/tail.mjs +8 -0
- package/dist/array/tail.mjs.map +1 -0
- package/dist/chunk-33MSBDC6.mjs +21 -0
- package/dist/chunk-33MSBDC6.mjs.map +1 -0
- package/dist/chunk-LOY6PATI.mjs +1 -0
- package/dist/chunk-LOY6PATI.mjs.map +1 -0
- package/dist/chunk-OF6NM4G7.mjs +17 -0
- package/dist/chunk-OF6NM4G7.mjs.map +1 -0
- package/dist/function/index.mjs +3 -3
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +34 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -47
- package/dist/math/index.mjs +6 -6
- package/dist/predicate/index.mjs +6 -6
- package/package.json +1 -1
- package/dist/chunk-467PWPPF.mjs +0 -1
- /package/dist/{chunk-467PWPPF.mjs.map → array/flatten.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -2,19 +2,6 @@ import "./chunk-ARZ5BDR6.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
delay
|
|
4
4
|
} from "./chunk-O64NE2P4.mjs";
|
|
5
|
-
import "./chunk-MAJSPFA6.mjs";
|
|
6
|
-
import {
|
|
7
|
-
isNull
|
|
8
|
-
} from "./chunk-AIRSKN47.mjs";
|
|
9
|
-
import {
|
|
10
|
-
isUndefined
|
|
11
|
-
} from "./chunk-VH2PV426.mjs";
|
|
12
|
-
import {
|
|
13
|
-
isNil
|
|
14
|
-
} from "./chunk-OHQAR5AU.mjs";
|
|
15
|
-
import {
|
|
16
|
-
isNotNil
|
|
17
|
-
} from "./chunk-BMRTZMRE.mjs";
|
|
18
5
|
import "./chunk-PMHULJNL.mjs";
|
|
19
6
|
import {
|
|
20
7
|
invert
|
|
@@ -31,46 +18,45 @@ import {
|
|
|
31
18
|
import {
|
|
32
19
|
pickBy
|
|
33
20
|
} from "./chunk-6CLH5YZ2.mjs";
|
|
34
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-MAJSPFA6.mjs";
|
|
35
22
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
23
|
+
isNil
|
|
24
|
+
} from "./chunk-OHQAR5AU.mjs";
|
|
25
|
+
import {
|
|
26
|
+
isNotNil
|
|
27
|
+
} from "./chunk-BMRTZMRE.mjs";
|
|
28
|
+
import {
|
|
29
|
+
isNull
|
|
30
|
+
} from "./chunk-AIRSKN47.mjs";
|
|
31
|
+
import {
|
|
32
|
+
isUndefined
|
|
33
|
+
} from "./chunk-VH2PV426.mjs";
|
|
38
34
|
import "./chunk-TLVQSNOE.mjs";
|
|
35
|
+
import {
|
|
36
|
+
inRange
|
|
37
|
+
} from "./chunk-BH6HLGBA.mjs";
|
|
39
38
|
import {
|
|
40
39
|
meanBy
|
|
41
40
|
} from "./chunk-SDIMTYZW.mjs";
|
|
42
41
|
import {
|
|
43
42
|
mean
|
|
44
43
|
} from "./chunk-LT6E4Y4Z.mjs";
|
|
44
|
+
import {
|
|
45
|
+
sum
|
|
46
|
+
} from "./chunk-NOFHNJ5C.mjs";
|
|
45
47
|
import {
|
|
46
48
|
range
|
|
47
49
|
} from "./chunk-DPH2KE6O.mjs";
|
|
48
50
|
import {
|
|
49
51
|
round
|
|
50
52
|
} from "./chunk-5PMKOZ2F.mjs";
|
|
51
|
-
import {
|
|
52
|
-
sum
|
|
53
|
-
} from "./chunk-NOFHNJ5C.mjs";
|
|
54
53
|
import {
|
|
55
54
|
clamp
|
|
56
55
|
} from "./chunk-MLCL773E.mjs";
|
|
56
|
+
import "./chunk-LOY6PATI.mjs";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-N6EM6ETS.mjs";
|
|
61
|
-
import {
|
|
62
|
-
noop
|
|
63
|
-
} from "./chunk-LKXCOLNY.mjs";
|
|
64
|
-
import {
|
|
65
|
-
once
|
|
66
|
-
} from "./chunk-CMBC4MXG.mjs";
|
|
67
|
-
import {
|
|
68
|
-
throttle
|
|
69
|
-
} from "./chunk-QOJGMVVR.mjs";
|
|
70
|
-
import {
|
|
71
|
-
debounce
|
|
72
|
-
} from "./chunk-3IP4JVLL.mjs";
|
|
73
|
-
import "./chunk-467PWPPF.mjs";
|
|
58
|
+
without
|
|
59
|
+
} from "./chunk-PYEYV7BY.mjs";
|
|
74
60
|
import {
|
|
75
61
|
xor
|
|
76
62
|
} from "./chunk-L7FQX5MN.mjs";
|
|
@@ -89,12 +75,18 @@ import {
|
|
|
89
75
|
import {
|
|
90
76
|
zipWith
|
|
91
77
|
} from "./chunk-4KYXHZ4R.mjs";
|
|
78
|
+
import {
|
|
79
|
+
union
|
|
80
|
+
} from "./chunk-R6QA7PLZ.mjs";
|
|
92
81
|
import {
|
|
93
82
|
unionBy
|
|
94
83
|
} from "./chunk-NFS7RWWE.mjs";
|
|
95
84
|
import {
|
|
96
85
|
unionWith
|
|
97
86
|
} from "./chunk-2ZCITDMK.mjs";
|
|
87
|
+
import {
|
|
88
|
+
uniq
|
|
89
|
+
} from "./chunk-DVK2N4KC.mjs";
|
|
98
90
|
import {
|
|
99
91
|
uniqBy
|
|
100
92
|
} from "./chunk-OXAZEEGP.mjs";
|
|
@@ -107,9 +99,6 @@ import {
|
|
|
107
99
|
import {
|
|
108
100
|
unzipWith
|
|
109
101
|
} from "./chunk-IFNXROZR.mjs";
|
|
110
|
-
import {
|
|
111
|
-
without
|
|
112
|
-
} from "./chunk-PYEYV7BY.mjs";
|
|
113
102
|
import {
|
|
114
103
|
sample
|
|
115
104
|
} from "./chunk-2KNLZB7V.mjs";
|
|
@@ -125,6 +114,9 @@ import {
|
|
|
125
114
|
import {
|
|
126
115
|
shuffle
|
|
127
116
|
} from "./chunk-G7UQ5PUR.mjs";
|
|
117
|
+
import {
|
|
118
|
+
tail
|
|
119
|
+
} from "./chunk-OF6NM4G7.mjs";
|
|
128
120
|
import {
|
|
129
121
|
take
|
|
130
122
|
} from "./chunk-ME352XO7.mjs";
|
|
@@ -137,12 +129,6 @@ import {
|
|
|
137
129
|
import {
|
|
138
130
|
takeWhile
|
|
139
131
|
} from "./chunk-2IXFGSUA.mjs";
|
|
140
|
-
import {
|
|
141
|
-
union
|
|
142
|
-
} from "./chunk-R6QA7PLZ.mjs";
|
|
143
|
-
import {
|
|
144
|
-
uniq
|
|
145
|
-
} from "./chunk-DVK2N4KC.mjs";
|
|
146
132
|
import {
|
|
147
133
|
intersection
|
|
148
134
|
} from "./chunk-FVVSE2F2.mjs";
|
|
@@ -167,9 +153,6 @@ import {
|
|
|
167
153
|
import {
|
|
168
154
|
partition
|
|
169
155
|
} from "./chunk-DN3NOZ3H.mjs";
|
|
170
|
-
import {
|
|
171
|
-
dropRight
|
|
172
|
-
} from "./chunk-JEKUA56R.mjs";
|
|
173
156
|
import {
|
|
174
157
|
dropRightWhile
|
|
175
158
|
} from "./chunk-JE6JKZU3.mjs";
|
|
@@ -179,6 +162,9 @@ import {
|
|
|
179
162
|
import {
|
|
180
163
|
fill
|
|
181
164
|
} from "./chunk-C4WE4GLC.mjs";
|
|
165
|
+
import {
|
|
166
|
+
flatten
|
|
167
|
+
} from "./chunk-33MSBDC6.mjs";
|
|
182
168
|
import {
|
|
183
169
|
forEachRight
|
|
184
170
|
} from "./chunk-IEA53J7P.mjs";
|
|
@@ -209,6 +195,26 @@ import {
|
|
|
209
195
|
import {
|
|
210
196
|
drop
|
|
211
197
|
} from "./chunk-S3CORED5.mjs";
|
|
198
|
+
import {
|
|
199
|
+
dropRight
|
|
200
|
+
} from "./chunk-JEKUA56R.mjs";
|
|
201
|
+
import "./chunk-FZEZH22H.mjs";
|
|
202
|
+
import {
|
|
203
|
+
AbortError
|
|
204
|
+
} from "./chunk-DXB7EZUQ.mjs";
|
|
205
|
+
import "./chunk-N6EM6ETS.mjs";
|
|
206
|
+
import {
|
|
207
|
+
debounce
|
|
208
|
+
} from "./chunk-3IP4JVLL.mjs";
|
|
209
|
+
import {
|
|
210
|
+
noop
|
|
211
|
+
} from "./chunk-LKXCOLNY.mjs";
|
|
212
|
+
import {
|
|
213
|
+
once
|
|
214
|
+
} from "./chunk-CMBC4MXG.mjs";
|
|
215
|
+
import {
|
|
216
|
+
throttle
|
|
217
|
+
} from "./chunk-QOJGMVVR.mjs";
|
|
212
218
|
import "./chunk-2MM5EJJX.mjs";
|
|
213
219
|
export {
|
|
214
220
|
AbortError,
|
|
@@ -226,6 +232,7 @@ export {
|
|
|
226
232
|
dropRightWhile,
|
|
227
233
|
dropWhile,
|
|
228
234
|
fill,
|
|
235
|
+
flatten,
|
|
229
236
|
forEachRight,
|
|
230
237
|
groupBy,
|
|
231
238
|
head,
|
|
@@ -259,6 +266,7 @@ export {
|
|
|
259
266
|
sampleSize,
|
|
260
267
|
shuffle,
|
|
261
268
|
sum,
|
|
269
|
+
tail,
|
|
262
270
|
take,
|
|
263
271
|
takeRight,
|
|
264
272
|
takeRightWhile,
|
package/dist/math/index.mjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "../chunk-TLVQSNOE.mjs";
|
|
2
|
+
import {
|
|
3
|
+
inRange
|
|
4
|
+
} from "../chunk-BH6HLGBA.mjs";
|
|
2
5
|
import {
|
|
3
6
|
meanBy
|
|
4
7
|
} from "../chunk-SDIMTYZW.mjs";
|
|
5
8
|
import {
|
|
6
9
|
mean
|
|
7
10
|
} from "../chunk-LT6E4Y4Z.mjs";
|
|
11
|
+
import {
|
|
12
|
+
sum
|
|
13
|
+
} from "../chunk-NOFHNJ5C.mjs";
|
|
8
14
|
import {
|
|
9
15
|
range
|
|
10
16
|
} from "../chunk-DPH2KE6O.mjs";
|
|
11
17
|
import {
|
|
12
18
|
round
|
|
13
19
|
} from "../chunk-5PMKOZ2F.mjs";
|
|
14
|
-
import {
|
|
15
|
-
sum
|
|
16
|
-
} from "../chunk-NOFHNJ5C.mjs";
|
|
17
20
|
import {
|
|
18
21
|
clamp
|
|
19
22
|
} from "../chunk-MLCL773E.mjs";
|
|
20
|
-
import {
|
|
21
|
-
inRange
|
|
22
|
-
} from "../chunk-BH6HLGBA.mjs";
|
|
23
23
|
import {
|
|
24
24
|
randomInt
|
|
25
25
|
} from "../chunk-GIWAOOFY.mjs";
|
package/dist/predicate/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../chunk-MAJSPFA6.mjs";
|
|
2
|
-
import {
|
|
3
|
-
isNull
|
|
4
|
-
} from "../chunk-AIRSKN47.mjs";
|
|
5
|
-
import {
|
|
6
|
-
isUndefined
|
|
7
|
-
} from "../chunk-VH2PV426.mjs";
|
|
8
2
|
import {
|
|
9
3
|
isNil
|
|
10
4
|
} from "../chunk-OHQAR5AU.mjs";
|
|
11
5
|
import {
|
|
12
6
|
isNotNil
|
|
13
7
|
} from "../chunk-BMRTZMRE.mjs";
|
|
8
|
+
import {
|
|
9
|
+
isNull
|
|
10
|
+
} 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.8.0-dev.
|
|
4
|
+
"version": "1.8.0-dev.169+27b6c8f5",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|
package/dist/chunk-467PWPPF.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-467PWPPF.mjs.map
|
|
File without changes
|