es-toolkit 1.6.1-dev.145 → 1.7.0-dev.146
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 +13 -0
- package/dist/array/index.mjs +14 -14
- package/dist/index.mjs +36 -36
- package/dist/math/index.mjs +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# es-toolkit Changelog
|
|
2
2
|
|
|
3
|
+
## Version v1.7.0
|
|
4
|
+
|
|
5
|
+
Released on July 3rd, 2024.
|
|
6
|
+
|
|
7
|
+
- Add support for [unzipWith](https://es-toolkit.slash.page/reference/array/unzipWith.html). (https://github.com/toss/es-toolkit/pull/113)
|
|
8
|
+
- Add support for [forEachRight](https://es-toolkit.slash.page/reference/array/forEachRight.html). (https://github.com/toss/es-toolkit/pull/119)
|
|
9
|
+
- Add support for [countBy](https://es-toolkit.slash.page/reference/array/countBy.html). (https://github.com/toss/es-toolkit/pull/117)
|
|
10
|
+
- Add support for [without](https://es-toolkit.slash.page/reference/array/without.html). (https://github.com/toss/es-toolkit/pull/115)
|
|
11
|
+
- Add support for [fill](https://es-toolkit.slash.page/reference/array/fill.html). (https://github.com/toss/es-toolkit/pull/109)
|
|
12
|
+
- Add support for [sampleSize](https://es-toolkit.slash.page/reference/array/sampleSize.html). (https://github.com/toss/es-toolkit/pull/101)
|
|
13
|
+
- Add support for [meanBy](https://es-toolkit.slash.page/reference/math/meanBy.html). (https://github.com/toss/es-toolkit/pull/104)
|
|
14
|
+
- Accept number and symbol keys in [keyBy](https://es-toolkit.slash.page/reference/array/keyBy.html) and [groupBy](https://es-toolkit.slash.page/reference/array/groupBy.html) (https://github.com/toss/es-toolkit/pull/98, https://github.com/toss/es-toolkit/pull/99)
|
|
15
|
+
|
|
3
16
|
## Version v1.6.1
|
|
4
17
|
|
|
5
18
|
Released on June 30th, 2024.
|
package/dist/array/index.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "../chunk-XJR5WV2Z.mjs";
|
|
2
|
+
import {
|
|
3
|
+
zip
|
|
4
|
+
} from "../chunk-IDCUZVJL.mjs";
|
|
2
5
|
import {
|
|
3
6
|
zipObject
|
|
4
7
|
} from "../chunk-6GWEY5EL.mjs";
|
|
@@ -24,8 +27,8 @@ import {
|
|
|
24
27
|
xorWith
|
|
25
28
|
} from "../chunk-QRSJBBFY.mjs";
|
|
26
29
|
import {
|
|
27
|
-
|
|
28
|
-
} from "../chunk-
|
|
30
|
+
shuffle
|
|
31
|
+
} from "../chunk-G7UQ5PUR.mjs";
|
|
29
32
|
import {
|
|
30
33
|
take
|
|
31
34
|
} from "../chunk-ME352XO7.mjs";
|
|
@@ -41,6 +44,9 @@ import {
|
|
|
41
44
|
import {
|
|
42
45
|
union
|
|
43
46
|
} from "../chunk-R6QA7PLZ.mjs";
|
|
47
|
+
import {
|
|
48
|
+
uniq
|
|
49
|
+
} from "../chunk-DVK2N4KC.mjs";
|
|
44
50
|
import {
|
|
45
51
|
unionBy
|
|
46
52
|
} from "../chunk-NFS7RWWE.mjs";
|
|
@@ -51,8 +57,8 @@ import {
|
|
|
51
57
|
uniqWith
|
|
52
58
|
} from "../chunk-237HGSZS.mjs";
|
|
53
59
|
import {
|
|
54
|
-
|
|
55
|
-
} from "../chunk-
|
|
60
|
+
intersectionBy
|
|
61
|
+
} from "../chunk-O6UXZR3U.mjs";
|
|
56
62
|
import {
|
|
57
63
|
intersectionWith
|
|
58
64
|
} from "../chunk-XI7KRD2C.mjs";
|
|
@@ -74,11 +80,9 @@ import {
|
|
|
74
80
|
import {
|
|
75
81
|
sampleSize
|
|
76
82
|
} from "../chunk-EHSKB6DF.mjs";
|
|
77
|
-
import "../chunk-GIWAOOFY.mjs";
|
|
78
|
-
import "../chunk-SYWMYQYJ.mjs";
|
|
79
83
|
import {
|
|
80
|
-
|
|
81
|
-
} from "../chunk-
|
|
84
|
+
dropRight
|
|
85
|
+
} from "../chunk-JEKUA56R.mjs";
|
|
82
86
|
import {
|
|
83
87
|
dropRightWhile
|
|
84
88
|
} from "../chunk-JE6JKZU3.mjs";
|
|
@@ -97,9 +101,6 @@ import {
|
|
|
97
101
|
import {
|
|
98
102
|
intersection
|
|
99
103
|
} from "../chunk-FVVSE2F2.mjs";
|
|
100
|
-
import {
|
|
101
|
-
intersectionBy
|
|
102
|
-
} from "../chunk-O6UXZR3U.mjs";
|
|
103
104
|
import {
|
|
104
105
|
chunk
|
|
105
106
|
} from "../chunk-E6C5EZQA.mjs";
|
|
@@ -121,9 +122,8 @@ import {
|
|
|
121
122
|
import {
|
|
122
123
|
drop
|
|
123
124
|
} from "../chunk-S3CORED5.mjs";
|
|
124
|
-
import
|
|
125
|
-
|
|
126
|
-
} from "../chunk-JEKUA56R.mjs";
|
|
125
|
+
import "../chunk-GIWAOOFY.mjs";
|
|
126
|
+
import "../chunk-SYWMYQYJ.mjs";
|
|
127
127
|
import "../chunk-2MM5EJJX.mjs";
|
|
128
128
|
export {
|
|
129
129
|
chunk,
|
package/dist/index.mjs
CHANGED
|
@@ -28,26 +28,10 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
pickBy
|
|
30
30
|
} from "./chunk-6CLH5YZ2.mjs";
|
|
31
|
-
import "./chunk-TZE6EDCX.mjs";
|
|
32
|
-
import {
|
|
33
|
-
range
|
|
34
|
-
} from "./chunk-UNLX2F2Y.mjs";
|
|
35
|
-
import {
|
|
36
|
-
round
|
|
37
|
-
} from "./chunk-5PMKOZ2F.mjs";
|
|
38
|
-
import {
|
|
39
|
-
clamp
|
|
40
|
-
} from "./chunk-MLCL773E.mjs";
|
|
41
|
-
import {
|
|
42
|
-
meanBy
|
|
43
|
-
} from "./chunk-SDIMTYZW.mjs";
|
|
44
|
-
import {
|
|
45
|
-
mean
|
|
46
|
-
} from "./chunk-LT6E4Y4Z.mjs";
|
|
47
|
-
import {
|
|
48
|
-
sum
|
|
49
|
-
} from "./chunk-NOFHNJ5C.mjs";
|
|
50
31
|
import "./chunk-XJR5WV2Z.mjs";
|
|
32
|
+
import {
|
|
33
|
+
zip
|
|
34
|
+
} from "./chunk-IDCUZVJL.mjs";
|
|
51
35
|
import {
|
|
52
36
|
zipObject
|
|
53
37
|
} from "./chunk-6GWEY5EL.mjs";
|
|
@@ -73,8 +57,8 @@ import {
|
|
|
73
57
|
xorWith
|
|
74
58
|
} from "./chunk-QRSJBBFY.mjs";
|
|
75
59
|
import {
|
|
76
|
-
|
|
77
|
-
} from "./chunk-
|
|
60
|
+
shuffle
|
|
61
|
+
} from "./chunk-G7UQ5PUR.mjs";
|
|
78
62
|
import {
|
|
79
63
|
take
|
|
80
64
|
} from "./chunk-ME352XO7.mjs";
|
|
@@ -90,6 +74,9 @@ import {
|
|
|
90
74
|
import {
|
|
91
75
|
union
|
|
92
76
|
} from "./chunk-R6QA7PLZ.mjs";
|
|
77
|
+
import {
|
|
78
|
+
uniq
|
|
79
|
+
} from "./chunk-DVK2N4KC.mjs";
|
|
93
80
|
import {
|
|
94
81
|
unionBy
|
|
95
82
|
} from "./chunk-NFS7RWWE.mjs";
|
|
@@ -100,8 +87,8 @@ import {
|
|
|
100
87
|
uniqWith
|
|
101
88
|
} from "./chunk-237HGSZS.mjs";
|
|
102
89
|
import {
|
|
103
|
-
|
|
104
|
-
} from "./chunk-
|
|
90
|
+
intersectionBy
|
|
91
|
+
} from "./chunk-O6UXZR3U.mjs";
|
|
105
92
|
import {
|
|
106
93
|
intersectionWith
|
|
107
94
|
} from "./chunk-XI7KRD2C.mjs";
|
|
@@ -124,14 +111,8 @@ import {
|
|
|
124
111
|
sampleSize
|
|
125
112
|
} from "./chunk-EHSKB6DF.mjs";
|
|
126
113
|
import {
|
|
127
|
-
|
|
128
|
-
} from "./chunk-
|
|
129
|
-
import {
|
|
130
|
-
random
|
|
131
|
-
} from "./chunk-SYWMYQYJ.mjs";
|
|
132
|
-
import {
|
|
133
|
-
shuffle
|
|
134
|
-
} from "./chunk-G7UQ5PUR.mjs";
|
|
114
|
+
dropRight
|
|
115
|
+
} from "./chunk-JEKUA56R.mjs";
|
|
135
116
|
import {
|
|
136
117
|
dropRightWhile
|
|
137
118
|
} from "./chunk-JE6JKZU3.mjs";
|
|
@@ -150,9 +131,6 @@ import {
|
|
|
150
131
|
import {
|
|
151
132
|
intersection
|
|
152
133
|
} from "./chunk-FVVSE2F2.mjs";
|
|
153
|
-
import {
|
|
154
|
-
intersectionBy
|
|
155
|
-
} from "./chunk-O6UXZR3U.mjs";
|
|
156
134
|
import {
|
|
157
135
|
chunk
|
|
158
136
|
} from "./chunk-E6C5EZQA.mjs";
|
|
@@ -174,9 +152,31 @@ import {
|
|
|
174
152
|
import {
|
|
175
153
|
drop
|
|
176
154
|
} from "./chunk-S3CORED5.mjs";
|
|
155
|
+
import "./chunk-TZE6EDCX.mjs";
|
|
177
156
|
import {
|
|
178
|
-
|
|
179
|
-
} from "./chunk-
|
|
157
|
+
clamp
|
|
158
|
+
} from "./chunk-MLCL773E.mjs";
|
|
159
|
+
import {
|
|
160
|
+
meanBy
|
|
161
|
+
} from "./chunk-SDIMTYZW.mjs";
|
|
162
|
+
import {
|
|
163
|
+
mean
|
|
164
|
+
} from "./chunk-LT6E4Y4Z.mjs";
|
|
165
|
+
import {
|
|
166
|
+
sum
|
|
167
|
+
} from "./chunk-NOFHNJ5C.mjs";
|
|
168
|
+
import {
|
|
169
|
+
randomInt
|
|
170
|
+
} from "./chunk-GIWAOOFY.mjs";
|
|
171
|
+
import {
|
|
172
|
+
random
|
|
173
|
+
} from "./chunk-SYWMYQYJ.mjs";
|
|
174
|
+
import {
|
|
175
|
+
range
|
|
176
|
+
} from "./chunk-UNLX2F2Y.mjs";
|
|
177
|
+
import {
|
|
178
|
+
round
|
|
179
|
+
} from "./chunk-5PMKOZ2F.mjs";
|
|
180
180
|
import "./chunk-FZEZH22H.mjs";
|
|
181
181
|
import {
|
|
182
182
|
AbortError
|
package/dist/math/index.mjs
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import "../chunk-TZE6EDCX.mjs";
|
|
2
|
-
import {
|
|
3
|
-
range
|
|
4
|
-
} from "../chunk-UNLX2F2Y.mjs";
|
|
5
|
-
import {
|
|
6
|
-
round
|
|
7
|
-
} from "../chunk-5PMKOZ2F.mjs";
|
|
8
2
|
import {
|
|
9
3
|
clamp
|
|
10
4
|
} from "../chunk-MLCL773E.mjs";
|
|
@@ -23,6 +17,12 @@ import {
|
|
|
23
17
|
import {
|
|
24
18
|
random
|
|
25
19
|
} from "../chunk-SYWMYQYJ.mjs";
|
|
20
|
+
import {
|
|
21
|
+
range
|
|
22
|
+
} from "../chunk-UNLX2F2Y.mjs";
|
|
23
|
+
import {
|
|
24
|
+
round
|
|
25
|
+
} from "../chunk-5PMKOZ2F.mjs";
|
|
26
26
|
import "../chunk-2MM5EJJX.mjs";
|
|
27
27
|
export {
|
|
28
28
|
clamp,
|
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.7.0-dev.146+8844930d",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|