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