es-toolkit 1.7.0 → 1.7.1
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/CHANGELOG.md +1 -1
- package/dist/array/index.mjs +38 -38
- package/dist/function/index.mjs +6 -6
- package/dist/index.mjs +58 -58
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/array/index.mjs
CHANGED
|
@@ -1,31 +1,13 @@
|
|
|
1
1
|
import "../chunk-XJR5WV2Z.mjs";
|
|
2
|
-
import {
|
|
3
|
-
xorBy
|
|
4
|
-
} from "../chunk-Q47NGNXT.mjs";
|
|
5
|
-
import {
|
|
6
|
-
xorWith
|
|
7
|
-
} from "../chunk-QRSJBBFY.mjs";
|
|
8
|
-
import {
|
|
9
|
-
zip
|
|
10
|
-
} from "../chunk-IDCUZVJL.mjs";
|
|
11
2
|
import {
|
|
12
3
|
zipObject
|
|
13
4
|
} from "../chunk-6GWEY5EL.mjs";
|
|
14
5
|
import {
|
|
15
6
|
zipWith
|
|
16
7
|
} from "../chunk-4KYXHZ4R.mjs";
|
|
17
|
-
import {
|
|
18
|
-
unionBy
|
|
19
|
-
} from "../chunk-NFS7RWWE.mjs";
|
|
20
|
-
import {
|
|
21
|
-
unionWith
|
|
22
|
-
} from "../chunk-2ZCITDMK.mjs";
|
|
23
8
|
import {
|
|
24
9
|
uniqBy
|
|
25
10
|
} from "../chunk-OXAZEEGP.mjs";
|
|
26
|
-
import {
|
|
27
|
-
uniqWith
|
|
28
|
-
} from "../chunk-237HGSZS.mjs";
|
|
29
11
|
import {
|
|
30
12
|
unzipWith
|
|
31
13
|
} from "../chunk-IFNXROZR.mjs";
|
|
@@ -36,16 +18,14 @@ import {
|
|
|
36
18
|
xor
|
|
37
19
|
} from "../chunk-L7FQX5MN.mjs";
|
|
38
20
|
import {
|
|
39
|
-
|
|
40
|
-
} from "../chunk-
|
|
21
|
+
xorBy
|
|
22
|
+
} from "../chunk-Q47NGNXT.mjs";
|
|
41
23
|
import {
|
|
42
|
-
|
|
43
|
-
} from "../chunk-
|
|
44
|
-
import "../chunk-GIWAOOFY.mjs";
|
|
45
|
-
import "../chunk-SYWMYQYJ.mjs";
|
|
24
|
+
xorWith
|
|
25
|
+
} from "../chunk-QRSJBBFY.mjs";
|
|
46
26
|
import {
|
|
47
|
-
|
|
48
|
-
} from "../chunk-
|
|
27
|
+
zip
|
|
28
|
+
} from "../chunk-IDCUZVJL.mjs";
|
|
49
29
|
import {
|
|
50
30
|
take
|
|
51
31
|
} from "../chunk-ME352XO7.mjs";
|
|
@@ -62,14 +42,17 @@ import {
|
|
|
62
42
|
union
|
|
63
43
|
} from "../chunk-R6QA7PLZ.mjs";
|
|
64
44
|
import {
|
|
65
|
-
|
|
66
|
-
} from "../chunk-
|
|
45
|
+
unionBy
|
|
46
|
+
} from "../chunk-NFS7RWWE.mjs";
|
|
67
47
|
import {
|
|
68
|
-
|
|
69
|
-
} from "../chunk-
|
|
48
|
+
unionWith
|
|
49
|
+
} from "../chunk-2ZCITDMK.mjs";
|
|
70
50
|
import {
|
|
71
|
-
|
|
72
|
-
} from "../chunk-
|
|
51
|
+
uniqWith
|
|
52
|
+
} from "../chunk-237HGSZS.mjs";
|
|
53
|
+
import {
|
|
54
|
+
uniq
|
|
55
|
+
} from "../chunk-DVK2N4KC.mjs";
|
|
73
56
|
import {
|
|
74
57
|
intersectionWith
|
|
75
58
|
} from "../chunk-XI7KRD2C.mjs";
|
|
@@ -86,14 +69,16 @@ import {
|
|
|
86
69
|
partition
|
|
87
70
|
} from "../chunk-DN3NOZ3H.mjs";
|
|
88
71
|
import {
|
|
89
|
-
|
|
90
|
-
} from "../chunk-
|
|
72
|
+
sample
|
|
73
|
+
} from "../chunk-2KNLZB7V.mjs";
|
|
91
74
|
import {
|
|
92
|
-
|
|
93
|
-
} from "../chunk-
|
|
75
|
+
sampleSize
|
|
76
|
+
} from "../chunk-EHSKB6DF.mjs";
|
|
77
|
+
import "../chunk-GIWAOOFY.mjs";
|
|
78
|
+
import "../chunk-SYWMYQYJ.mjs";
|
|
94
79
|
import {
|
|
95
|
-
|
|
96
|
-
} from "../chunk-
|
|
80
|
+
shuffle
|
|
81
|
+
} from "../chunk-G7UQ5PUR.mjs";
|
|
97
82
|
import {
|
|
98
83
|
dropRightWhile
|
|
99
84
|
} from "../chunk-JE6JKZU3.mjs";
|
|
@@ -109,6 +94,12 @@ import {
|
|
|
109
94
|
import {
|
|
110
95
|
groupBy
|
|
111
96
|
} from "../chunk-E6E4RZLN.mjs";
|
|
97
|
+
import {
|
|
98
|
+
intersection
|
|
99
|
+
} from "../chunk-FVVSE2F2.mjs";
|
|
100
|
+
import {
|
|
101
|
+
intersectionBy
|
|
102
|
+
} from "../chunk-O6UXZR3U.mjs";
|
|
112
103
|
import {
|
|
113
104
|
chunk
|
|
114
105
|
} from "../chunk-E6C5EZQA.mjs";
|
|
@@ -124,6 +115,15 @@ import {
|
|
|
124
115
|
import {
|
|
125
116
|
differenceBy
|
|
126
117
|
} from "../chunk-LVWX5B43.mjs";
|
|
118
|
+
import {
|
|
119
|
+
differenceWith
|
|
120
|
+
} from "../chunk-6NVQAHXP.mjs";
|
|
121
|
+
import {
|
|
122
|
+
drop
|
|
123
|
+
} from "../chunk-S3CORED5.mjs";
|
|
124
|
+
import {
|
|
125
|
+
dropRight
|
|
126
|
+
} from "../chunk-JEKUA56R.mjs";
|
|
127
127
|
import "../chunk-2MM5EJJX.mjs";
|
|
128
128
|
export {
|
|
129
129
|
chunk,
|
package/dist/function/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../chunk-N6EM6ETS.mjs";
|
|
2
|
-
import {
|
|
3
|
-
once
|
|
4
|
-
} from "../chunk-CMBC4MXG.mjs";
|
|
5
|
-
import {
|
|
6
|
-
throttle
|
|
7
|
-
} from "../chunk-QOJGMVVR.mjs";
|
|
8
2
|
import {
|
|
9
3
|
debounce
|
|
10
4
|
} from "../chunk-3IP4JVLL.mjs";
|
|
11
5
|
import {
|
|
12
6
|
noop
|
|
13
7
|
} from "../chunk-LKXCOLNY.mjs";
|
|
8
|
+
import {
|
|
9
|
+
once
|
|
10
|
+
} from "../chunk-CMBC4MXG.mjs";
|
|
11
|
+
import {
|
|
12
|
+
throttle
|
|
13
|
+
} from "../chunk-QOJGMVVR.mjs";
|
|
14
14
|
import "../chunk-2MM5EJJX.mjs";
|
|
15
15
|
export {
|
|
16
16
|
debounce,
|
package/dist/index.mjs
CHANGED
|
@@ -47,47 +47,16 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
sum
|
|
49
49
|
} from "./chunk-NOFHNJ5C.mjs";
|
|
50
|
-
import "./chunk-N6EM6ETS.mjs";
|
|
51
|
-
import {
|
|
52
|
-
once
|
|
53
|
-
} from "./chunk-CMBC4MXG.mjs";
|
|
54
|
-
import {
|
|
55
|
-
throttle
|
|
56
|
-
} from "./chunk-QOJGMVVR.mjs";
|
|
57
|
-
import {
|
|
58
|
-
debounce
|
|
59
|
-
} from "./chunk-3IP4JVLL.mjs";
|
|
60
|
-
import {
|
|
61
|
-
noop
|
|
62
|
-
} from "./chunk-LKXCOLNY.mjs";
|
|
63
50
|
import "./chunk-XJR5WV2Z.mjs";
|
|
64
|
-
import {
|
|
65
|
-
xorBy
|
|
66
|
-
} from "./chunk-Q47NGNXT.mjs";
|
|
67
|
-
import {
|
|
68
|
-
xorWith
|
|
69
|
-
} from "./chunk-QRSJBBFY.mjs";
|
|
70
|
-
import {
|
|
71
|
-
zip
|
|
72
|
-
} from "./chunk-IDCUZVJL.mjs";
|
|
73
51
|
import {
|
|
74
52
|
zipObject
|
|
75
53
|
} from "./chunk-6GWEY5EL.mjs";
|
|
76
54
|
import {
|
|
77
55
|
zipWith
|
|
78
56
|
} from "./chunk-4KYXHZ4R.mjs";
|
|
79
|
-
import {
|
|
80
|
-
unionBy
|
|
81
|
-
} from "./chunk-NFS7RWWE.mjs";
|
|
82
|
-
import {
|
|
83
|
-
unionWith
|
|
84
|
-
} from "./chunk-2ZCITDMK.mjs";
|
|
85
57
|
import {
|
|
86
58
|
uniqBy
|
|
87
59
|
} from "./chunk-OXAZEEGP.mjs";
|
|
88
|
-
import {
|
|
89
|
-
uniqWith
|
|
90
|
-
} from "./chunk-237HGSZS.mjs";
|
|
91
60
|
import {
|
|
92
61
|
unzipWith
|
|
93
62
|
} from "./chunk-IFNXROZR.mjs";
|
|
@@ -98,20 +67,14 @@ import {
|
|
|
98
67
|
xor
|
|
99
68
|
} from "./chunk-L7FQX5MN.mjs";
|
|
100
69
|
import {
|
|
101
|
-
|
|
102
|
-
} from "./chunk-
|
|
103
|
-
import {
|
|
104
|
-
sampleSize
|
|
105
|
-
} from "./chunk-EHSKB6DF.mjs";
|
|
106
|
-
import {
|
|
107
|
-
randomInt
|
|
108
|
-
} from "./chunk-GIWAOOFY.mjs";
|
|
70
|
+
xorBy
|
|
71
|
+
} from "./chunk-Q47NGNXT.mjs";
|
|
109
72
|
import {
|
|
110
|
-
|
|
111
|
-
} from "./chunk-
|
|
73
|
+
xorWith
|
|
74
|
+
} from "./chunk-QRSJBBFY.mjs";
|
|
112
75
|
import {
|
|
113
|
-
|
|
114
|
-
} from "./chunk-
|
|
76
|
+
zip
|
|
77
|
+
} from "./chunk-IDCUZVJL.mjs";
|
|
115
78
|
import {
|
|
116
79
|
take
|
|
117
80
|
} from "./chunk-ME352XO7.mjs";
|
|
@@ -128,14 +91,17 @@ import {
|
|
|
128
91
|
union
|
|
129
92
|
} from "./chunk-R6QA7PLZ.mjs";
|
|
130
93
|
import {
|
|
131
|
-
|
|
132
|
-
} from "./chunk-
|
|
94
|
+
unionBy
|
|
95
|
+
} from "./chunk-NFS7RWWE.mjs";
|
|
133
96
|
import {
|
|
134
|
-
|
|
135
|
-
} from "./chunk-
|
|
97
|
+
unionWith
|
|
98
|
+
} from "./chunk-2ZCITDMK.mjs";
|
|
136
99
|
import {
|
|
137
|
-
|
|
138
|
-
} from "./chunk-
|
|
100
|
+
uniqWith
|
|
101
|
+
} from "./chunk-237HGSZS.mjs";
|
|
102
|
+
import {
|
|
103
|
+
uniq
|
|
104
|
+
} from "./chunk-DVK2N4KC.mjs";
|
|
139
105
|
import {
|
|
140
106
|
intersectionWith
|
|
141
107
|
} from "./chunk-XI7KRD2C.mjs";
|
|
@@ -152,14 +118,20 @@ import {
|
|
|
152
118
|
partition
|
|
153
119
|
} from "./chunk-DN3NOZ3H.mjs";
|
|
154
120
|
import {
|
|
155
|
-
|
|
156
|
-
} from "./chunk-
|
|
121
|
+
sample
|
|
122
|
+
} from "./chunk-2KNLZB7V.mjs";
|
|
157
123
|
import {
|
|
158
|
-
|
|
159
|
-
} from "./chunk-
|
|
124
|
+
sampleSize
|
|
125
|
+
} from "./chunk-EHSKB6DF.mjs";
|
|
160
126
|
import {
|
|
161
|
-
|
|
162
|
-
} from "./chunk-
|
|
127
|
+
randomInt
|
|
128
|
+
} from "./chunk-GIWAOOFY.mjs";
|
|
129
|
+
import {
|
|
130
|
+
random
|
|
131
|
+
} from "./chunk-SYWMYQYJ.mjs";
|
|
132
|
+
import {
|
|
133
|
+
shuffle
|
|
134
|
+
} from "./chunk-G7UQ5PUR.mjs";
|
|
163
135
|
import {
|
|
164
136
|
dropRightWhile
|
|
165
137
|
} from "./chunk-JE6JKZU3.mjs";
|
|
@@ -175,10 +147,12 @@ import {
|
|
|
175
147
|
import {
|
|
176
148
|
groupBy
|
|
177
149
|
} from "./chunk-E6E4RZLN.mjs";
|
|
178
|
-
import "./chunk-FZEZH22H.mjs";
|
|
179
150
|
import {
|
|
180
|
-
|
|
181
|
-
} from "./chunk-
|
|
151
|
+
intersection
|
|
152
|
+
} from "./chunk-FVVSE2F2.mjs";
|
|
153
|
+
import {
|
|
154
|
+
intersectionBy
|
|
155
|
+
} from "./chunk-O6UXZR3U.mjs";
|
|
182
156
|
import {
|
|
183
157
|
chunk
|
|
184
158
|
} from "./chunk-E6C5EZQA.mjs";
|
|
@@ -194,6 +168,32 @@ import {
|
|
|
194
168
|
import {
|
|
195
169
|
differenceBy
|
|
196
170
|
} from "./chunk-LVWX5B43.mjs";
|
|
171
|
+
import {
|
|
172
|
+
differenceWith
|
|
173
|
+
} from "./chunk-6NVQAHXP.mjs";
|
|
174
|
+
import {
|
|
175
|
+
drop
|
|
176
|
+
} from "./chunk-S3CORED5.mjs";
|
|
177
|
+
import {
|
|
178
|
+
dropRight
|
|
179
|
+
} from "./chunk-JEKUA56R.mjs";
|
|
180
|
+
import "./chunk-N6EM6ETS.mjs";
|
|
181
|
+
import {
|
|
182
|
+
debounce
|
|
183
|
+
} from "./chunk-3IP4JVLL.mjs";
|
|
184
|
+
import {
|
|
185
|
+
noop
|
|
186
|
+
} from "./chunk-LKXCOLNY.mjs";
|
|
187
|
+
import {
|
|
188
|
+
once
|
|
189
|
+
} from "./chunk-CMBC4MXG.mjs";
|
|
190
|
+
import {
|
|
191
|
+
throttle
|
|
192
|
+
} from "./chunk-QOJGMVVR.mjs";
|
|
193
|
+
import "./chunk-FZEZH22H.mjs";
|
|
194
|
+
import {
|
|
195
|
+
AbortError
|
|
196
|
+
} from "./chunk-DXB7EZUQ.mjs";
|
|
197
197
|
import "./chunk-2MM5EJJX.mjs";
|
|
198
198
|
export {
|
|
199
199
|
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.7.
|
|
4
|
+
"version": "1.7.1",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|