es-toolkit 1.3.1-dev.81 → 1.4.0-dev.82
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 +14 -0
- package/dist/array/index.mjs +18 -18
- package/dist/index.mjs +21 -21
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# es-toolkit Changelog
|
|
2
2
|
|
|
3
|
+
## Version v1.4.0
|
|
4
|
+
|
|
5
|
+
Released on June 15th, 2024.
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- Add support for [random](https://es-toolkit.slash.page/reference/math/random.html). (https://github.com/toss/es-toolkit/pull/53)
|
|
10
|
+
- Add support for [randomInt](https://es-toolkit.slash.page/reference/math/randomInt.html). ([99a34e4](https://github.com/toss/es-toolkit/commit/99a34e4e9944c1b843e9d97dff0b5ff4e5eec260))
|
|
11
|
+
- Add support for using AbortSignals to cancel the `Promise` returned by `delay`. (https://github.com/toss/es-toolkit/pull/52)
|
|
12
|
+
|
|
13
|
+
### Performance Optimizations
|
|
14
|
+
|
|
15
|
+
- Optimized `uniqBy`. ([60e7974](https://github.com/toss/es-toolkit/commit/60e79741271e645bfa551f708466e43b136f69b1))
|
|
16
|
+
|
|
3
17
|
## Version v1.3.1
|
|
4
18
|
|
|
5
19
|
Released on June 15th, 2024.
|
package/dist/array/index.mjs
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import "../chunk-EJGAXTF7.mjs";
|
|
2
|
-
import {
|
|
3
|
-
uniqBy
|
|
4
|
-
} from "../chunk-WPDDOUQT.mjs";
|
|
5
2
|
import {
|
|
6
3
|
xor
|
|
7
4
|
} from "../chunk-WXIBCOES.mjs";
|
|
@@ -17,12 +14,6 @@ import {
|
|
|
17
14
|
import {
|
|
18
15
|
zipWith
|
|
19
16
|
} from "../chunk-T5FDOBCA.mjs";
|
|
20
|
-
import {
|
|
21
|
-
take
|
|
22
|
-
} from "../chunk-ME352XO7.mjs";
|
|
23
|
-
import {
|
|
24
|
-
takeRight
|
|
25
|
-
} from "../chunk-XDKEPIUV.mjs";
|
|
26
17
|
import {
|
|
27
18
|
takeRightWhile
|
|
28
19
|
} from "../chunk-NTLX2MPV.mjs";
|
|
@@ -38,15 +29,15 @@ import {
|
|
|
38
29
|
import {
|
|
39
30
|
unionWith
|
|
40
31
|
} from "../chunk-3KHI4I2X.mjs";
|
|
41
|
-
import {
|
|
42
|
-
uniqWith
|
|
43
|
-
} from "../chunk-2PFDLYQC.mjs";
|
|
44
32
|
import {
|
|
45
33
|
uniq
|
|
46
34
|
} from "../chunk-XFCW7XJ4.mjs";
|
|
47
35
|
import {
|
|
48
|
-
|
|
49
|
-
} from "../chunk-
|
|
36
|
+
uniqBy
|
|
37
|
+
} from "../chunk-WPDDOUQT.mjs";
|
|
38
|
+
import {
|
|
39
|
+
uniqWith
|
|
40
|
+
} from "../chunk-2PFDLYQC.mjs";
|
|
50
41
|
import {
|
|
51
42
|
intersection
|
|
52
43
|
} from "../chunk-PYLGHB3F.mjs";
|
|
@@ -66,11 +57,11 @@ import {
|
|
|
66
57
|
shuffle
|
|
67
58
|
} from "../chunk-DPLJQQFX.mjs";
|
|
68
59
|
import {
|
|
69
|
-
|
|
70
|
-
} from "../chunk-
|
|
60
|
+
take
|
|
61
|
+
} from "../chunk-ME352XO7.mjs";
|
|
71
62
|
import {
|
|
72
|
-
|
|
73
|
-
} from "../chunk-
|
|
63
|
+
takeRight
|
|
64
|
+
} from "../chunk-XDKEPIUV.mjs";
|
|
74
65
|
import {
|
|
75
66
|
differenceBy
|
|
76
67
|
} from "../chunk-LVWX5B43.mjs";
|
|
@@ -89,6 +80,15 @@ import {
|
|
|
89
80
|
import {
|
|
90
81
|
dropWhile
|
|
91
82
|
} from "../chunk-JFHM6EY2.mjs";
|
|
83
|
+
import {
|
|
84
|
+
groupBy
|
|
85
|
+
} from "../chunk-LWXZFXY5.mjs";
|
|
86
|
+
import {
|
|
87
|
+
chunk
|
|
88
|
+
} from "../chunk-E6C5EZQA.mjs";
|
|
89
|
+
import {
|
|
90
|
+
difference
|
|
91
|
+
} from "../chunk-M7UI5ETO.mjs";
|
|
92
92
|
import "../chunk-2MM5EJJX.mjs";
|
|
93
93
|
export {
|
|
94
94
|
chunk,
|
package/dist/index.mjs
CHANGED
|
@@ -41,13 +41,14 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
omitBy
|
|
43
43
|
} from "./chunk-SF3V7XXM.mjs";
|
|
44
|
+
import "./chunk-FZEZH22H.mjs";
|
|
45
|
+
import {
|
|
46
|
+
AbortError
|
|
47
|
+
} from "./chunk-VP2LXY75.mjs";
|
|
44
48
|
import {
|
|
45
49
|
clamp
|
|
46
50
|
} from "./chunk-MLCL773E.mjs";
|
|
47
51
|
import "./chunk-EJGAXTF7.mjs";
|
|
48
|
-
import {
|
|
49
|
-
uniqBy
|
|
50
|
-
} from "./chunk-WPDDOUQT.mjs";
|
|
51
52
|
import {
|
|
52
53
|
xor
|
|
53
54
|
} from "./chunk-WXIBCOES.mjs";
|
|
@@ -63,12 +64,6 @@ import {
|
|
|
63
64
|
import {
|
|
64
65
|
zipWith
|
|
65
66
|
} from "./chunk-T5FDOBCA.mjs";
|
|
66
|
-
import {
|
|
67
|
-
take
|
|
68
|
-
} from "./chunk-ME352XO7.mjs";
|
|
69
|
-
import {
|
|
70
|
-
takeRight
|
|
71
|
-
} from "./chunk-XDKEPIUV.mjs";
|
|
72
67
|
import {
|
|
73
68
|
takeRightWhile
|
|
74
69
|
} from "./chunk-NTLX2MPV.mjs";
|
|
@@ -84,15 +79,15 @@ import {
|
|
|
84
79
|
import {
|
|
85
80
|
unionWith
|
|
86
81
|
} from "./chunk-3KHI4I2X.mjs";
|
|
87
|
-
import {
|
|
88
|
-
uniqWith
|
|
89
|
-
} from "./chunk-2PFDLYQC.mjs";
|
|
90
82
|
import {
|
|
91
83
|
uniq
|
|
92
84
|
} from "./chunk-XFCW7XJ4.mjs";
|
|
93
85
|
import {
|
|
94
|
-
|
|
95
|
-
} from "./chunk-
|
|
86
|
+
uniqBy
|
|
87
|
+
} from "./chunk-WPDDOUQT.mjs";
|
|
88
|
+
import {
|
|
89
|
+
uniqWith
|
|
90
|
+
} from "./chunk-2PFDLYQC.mjs";
|
|
96
91
|
import {
|
|
97
92
|
intersection
|
|
98
93
|
} from "./chunk-PYLGHB3F.mjs";
|
|
@@ -112,11 +107,11 @@ import {
|
|
|
112
107
|
shuffle
|
|
113
108
|
} from "./chunk-DPLJQQFX.mjs";
|
|
114
109
|
import {
|
|
115
|
-
|
|
116
|
-
} from "./chunk-
|
|
110
|
+
take
|
|
111
|
+
} from "./chunk-ME352XO7.mjs";
|
|
117
112
|
import {
|
|
118
|
-
|
|
119
|
-
} from "./chunk-
|
|
113
|
+
takeRight
|
|
114
|
+
} from "./chunk-XDKEPIUV.mjs";
|
|
120
115
|
import {
|
|
121
116
|
differenceBy
|
|
122
117
|
} from "./chunk-LVWX5B43.mjs";
|
|
@@ -135,10 +130,9 @@ import {
|
|
|
135
130
|
import {
|
|
136
131
|
dropWhile
|
|
137
132
|
} from "./chunk-JFHM6EY2.mjs";
|
|
138
|
-
import "./chunk-FZEZH22H.mjs";
|
|
139
133
|
import {
|
|
140
|
-
|
|
141
|
-
} from "./chunk-
|
|
134
|
+
groupBy
|
|
135
|
+
} from "./chunk-LWXZFXY5.mjs";
|
|
142
136
|
import "./chunk-N6EM6ETS.mjs";
|
|
143
137
|
import {
|
|
144
138
|
debounce
|
|
@@ -152,6 +146,12 @@ import {
|
|
|
152
146
|
import {
|
|
153
147
|
throttle
|
|
154
148
|
} from "./chunk-XLO3QZVY.mjs";
|
|
149
|
+
import {
|
|
150
|
+
chunk
|
|
151
|
+
} from "./chunk-E6C5EZQA.mjs";
|
|
152
|
+
import {
|
|
153
|
+
difference
|
|
154
|
+
} from "./chunk-M7UI5ETO.mjs";
|
|
155
155
|
import "./chunk-2MM5EJJX.mjs";
|
|
156
156
|
export {
|
|
157
157
|
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.4.0-dev.82+8f1ffc75",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"docs"
|
|
7
7
|
],
|