es-toolkit 1.6.0-dev.119 → 1.6.0-dev.121
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/README.md +1 -1
- package/dist/array/index.mjs +40 -40
- package/dist/function/index.mjs +3 -3
- package/dist/index.mjs +64 -64
- package/dist/math/index.mjs +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# es-toolkit · [](https://github.com/toss/slash/blob/main/LICENSE) [](https://codecov.io/gh/toss/es-toolkit)
|
|
3
|
+
# es-toolkit · [](https://github.com/toss/slash/blob/main/LICENSE) [](https://codecov.io/gh/toss/es-toolkit) [](https://jsr.io/@es-toolkit/es-toolkit)
|
|
4
4
|
|
|
5
5
|
English | [한국어](https://github.com/toss/es-toolkit/blob/main/README-ko_kr.md)
|
|
6
6
|
|
package/dist/array/index.mjs
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import "../chunk-V6MDTRGS.mjs";
|
|
2
|
-
import {
|
|
3
|
-
xor
|
|
4
|
-
} from "../chunk-VKM3R5T5.mjs";
|
|
5
|
-
import {
|
|
6
|
-
xorBy
|
|
7
|
-
} from "../chunk-E54CCWDL.mjs";
|
|
8
2
|
import {
|
|
9
3
|
xorWith
|
|
10
4
|
} from "../chunk-JSS4FXUD.mjs";
|
|
@@ -17,42 +11,30 @@ import {
|
|
|
17
11
|
import {
|
|
18
12
|
zipWith
|
|
19
13
|
} from "../chunk-4KYXHZ4R.mjs";
|
|
20
|
-
import {
|
|
21
|
-
takeRight
|
|
22
|
-
} from "../chunk-XDKEPIUV.mjs";
|
|
23
|
-
import {
|
|
24
|
-
takeRightWhile
|
|
25
|
-
} from "../chunk-NTLX2MPV.mjs";
|
|
26
|
-
import {
|
|
27
|
-
takeWhile
|
|
28
|
-
} from "../chunk-2IXFGSUA.mjs";
|
|
29
|
-
import {
|
|
30
|
-
union
|
|
31
|
-
} from "../chunk-UPJXHWSJ.mjs";
|
|
32
|
-
import {
|
|
33
|
-
unionBy
|
|
34
|
-
} from "../chunk-NRNKP6JF.mjs";
|
|
35
14
|
import {
|
|
36
15
|
unionWith
|
|
37
16
|
} from "../chunk-OUTSP4VR.mjs";
|
|
17
|
+
import {
|
|
18
|
+
uniqBy
|
|
19
|
+
} from "../chunk-WPDDOUQT.mjs";
|
|
38
20
|
import {
|
|
39
21
|
uniqWith
|
|
40
22
|
} from "../chunk-2PFDLYQC.mjs";
|
|
41
23
|
import {
|
|
42
|
-
|
|
43
|
-
} from "../chunk-
|
|
24
|
+
xor
|
|
25
|
+
} from "../chunk-VKM3R5T5.mjs";
|
|
44
26
|
import {
|
|
45
|
-
|
|
46
|
-
} from "../chunk-
|
|
27
|
+
union
|
|
28
|
+
} from "../chunk-UPJXHWSJ.mjs";
|
|
47
29
|
import {
|
|
48
|
-
|
|
49
|
-
} from "../chunk-
|
|
30
|
+
uniq
|
|
31
|
+
} from "../chunk-XFCW7XJ4.mjs";
|
|
50
32
|
import {
|
|
51
|
-
|
|
52
|
-
} from "../chunk-
|
|
33
|
+
xorBy
|
|
34
|
+
} from "../chunk-E54CCWDL.mjs";
|
|
53
35
|
import {
|
|
54
|
-
|
|
55
|
-
} from "../chunk-
|
|
36
|
+
unionBy
|
|
37
|
+
} from "../chunk-NRNKP6JF.mjs";
|
|
56
38
|
import {
|
|
57
39
|
minBy
|
|
58
40
|
} from "../chunk-OIHARMNM.mjs";
|
|
@@ -69,17 +51,14 @@ import {
|
|
|
69
51
|
take
|
|
70
52
|
} from "../chunk-ME352XO7.mjs";
|
|
71
53
|
import {
|
|
72
|
-
|
|
73
|
-
} from "../chunk-
|
|
74
|
-
import {
|
|
75
|
-
dropRight
|
|
76
|
-
} from "../chunk-Q75KEFW5.mjs";
|
|
54
|
+
takeRight
|
|
55
|
+
} from "../chunk-XDKEPIUV.mjs";
|
|
77
56
|
import {
|
|
78
|
-
|
|
79
|
-
} from "../chunk-
|
|
57
|
+
takeRightWhile
|
|
58
|
+
} from "../chunk-NTLX2MPV.mjs";
|
|
80
59
|
import {
|
|
81
|
-
|
|
82
|
-
} from "../chunk-
|
|
60
|
+
takeWhile
|
|
61
|
+
} from "../chunk-2IXFGSUA.mjs";
|
|
83
62
|
import {
|
|
84
63
|
groupBy
|
|
85
64
|
} from "../chunk-LWXZFXY5.mjs";
|
|
@@ -89,6 +68,15 @@ import {
|
|
|
89
68
|
import {
|
|
90
69
|
intersectionBy
|
|
91
70
|
} from "../chunk-GNSJP2AB.mjs";
|
|
71
|
+
import {
|
|
72
|
+
intersectionWith
|
|
73
|
+
} from "../chunk-2EFS3VA3.mjs";
|
|
74
|
+
import {
|
|
75
|
+
keyBy
|
|
76
|
+
} from "../chunk-ZOTAORG3.mjs";
|
|
77
|
+
import {
|
|
78
|
+
maxBy
|
|
79
|
+
} from "../chunk-FXOABQRO.mjs";
|
|
92
80
|
import {
|
|
93
81
|
chunk
|
|
94
82
|
} from "../chunk-E6C5EZQA.mjs";
|
|
@@ -104,6 +92,18 @@ import {
|
|
|
104
92
|
import {
|
|
105
93
|
differenceWith
|
|
106
94
|
} from "../chunk-6NVQAHXP.mjs";
|
|
95
|
+
import {
|
|
96
|
+
drop
|
|
97
|
+
} from "../chunk-ACFP3XMB.mjs";
|
|
98
|
+
import {
|
|
99
|
+
dropRight
|
|
100
|
+
} from "../chunk-Q75KEFW5.mjs";
|
|
101
|
+
import {
|
|
102
|
+
dropRightWhile
|
|
103
|
+
} from "../chunk-GTVOVGGZ.mjs";
|
|
104
|
+
import {
|
|
105
|
+
dropWhile
|
|
106
|
+
} from "../chunk-K2BAFL2T.mjs";
|
|
107
107
|
import "../chunk-2MM5EJJX.mjs";
|
|
108
108
|
export {
|
|
109
109
|
chunk,
|
package/dist/function/index.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "../chunk-N6EM6ETS.mjs";
|
|
2
|
+
import {
|
|
3
|
+
debounce
|
|
4
|
+
} from "../chunk-G42NUGNE.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-OEOAJOLQ.mjs";
|
|
11
|
-
import {
|
|
12
|
-
debounce
|
|
13
|
-
} from "../chunk-G42NUGNE.mjs";
|
|
14
14
|
import "../chunk-2MM5EJJX.mjs";
|
|
15
15
|
export {
|
|
16
16
|
debounce,
|
package/dist/index.mjs
CHANGED
|
@@ -15,16 +15,6 @@ import "./chunk-ARZ5BDR6.mjs";
|
|
|
15
15
|
import {
|
|
16
16
|
delay
|
|
17
17
|
} from "./chunk-CDA4NK7J.mjs";
|
|
18
|
-
import "./chunk-N6EM6ETS.mjs";
|
|
19
|
-
import {
|
|
20
|
-
noop
|
|
21
|
-
} from "./chunk-LKXCOLNY.mjs";
|
|
22
|
-
import {
|
|
23
|
-
once
|
|
24
|
-
} from "./chunk-UFAA5WKR.mjs";
|
|
25
|
-
import {
|
|
26
|
-
throttle
|
|
27
|
-
} from "./chunk-OEOAJOLQ.mjs";
|
|
28
18
|
import "./chunk-T5JCRGXA.mjs";
|
|
29
19
|
import {
|
|
30
20
|
pickBy
|
|
@@ -39,37 +29,28 @@ import {
|
|
|
39
29
|
pick
|
|
40
30
|
} from "./chunk-OFWKFUFZ.mjs";
|
|
41
31
|
import "./chunk-QVHWSUEH.mjs";
|
|
42
|
-
import {
|
|
43
|
-
mean
|
|
44
|
-
} from "./chunk-KHK7LKE5.mjs";
|
|
45
32
|
import {
|
|
46
33
|
randomInt
|
|
47
34
|
} from "./chunk-GIWAOOFY.mjs";
|
|
48
|
-
import {
|
|
49
|
-
random
|
|
50
|
-
} from "./chunk-SYWMYQYJ.mjs";
|
|
51
35
|
import {
|
|
52
36
|
range
|
|
53
37
|
} from "./chunk-UNLX2F2Y.mjs";
|
|
54
38
|
import {
|
|
55
39
|
round
|
|
56
40
|
} from "./chunk-5PMKOZ2F.mjs";
|
|
57
|
-
import {
|
|
58
|
-
sum
|
|
59
|
-
} from "./chunk-NOFHNJ5C.mjs";
|
|
60
|
-
import {
|
|
61
|
-
debounce
|
|
62
|
-
} from "./chunk-G42NUGNE.mjs";
|
|
63
41
|
import {
|
|
64
42
|
clamp
|
|
65
43
|
} from "./chunk-MLCL773E.mjs";
|
|
66
|
-
import "./chunk-V6MDTRGS.mjs";
|
|
67
44
|
import {
|
|
68
|
-
|
|
69
|
-
} from "./chunk-
|
|
45
|
+
mean
|
|
46
|
+
} from "./chunk-KHK7LKE5.mjs";
|
|
70
47
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
48
|
+
sum
|
|
49
|
+
} from "./chunk-NOFHNJ5C.mjs";
|
|
50
|
+
import {
|
|
51
|
+
random
|
|
52
|
+
} from "./chunk-SYWMYQYJ.mjs";
|
|
53
|
+
import "./chunk-V6MDTRGS.mjs";
|
|
73
54
|
import {
|
|
74
55
|
xorWith
|
|
75
56
|
} from "./chunk-JSS4FXUD.mjs";
|
|
@@ -82,42 +63,30 @@ import {
|
|
|
82
63
|
import {
|
|
83
64
|
zipWith
|
|
84
65
|
} from "./chunk-4KYXHZ4R.mjs";
|
|
85
|
-
import {
|
|
86
|
-
takeRight
|
|
87
|
-
} from "./chunk-XDKEPIUV.mjs";
|
|
88
|
-
import {
|
|
89
|
-
takeRightWhile
|
|
90
|
-
} from "./chunk-NTLX2MPV.mjs";
|
|
91
|
-
import {
|
|
92
|
-
takeWhile
|
|
93
|
-
} from "./chunk-2IXFGSUA.mjs";
|
|
94
|
-
import {
|
|
95
|
-
union
|
|
96
|
-
} from "./chunk-UPJXHWSJ.mjs";
|
|
97
|
-
import {
|
|
98
|
-
unionBy
|
|
99
|
-
} from "./chunk-NRNKP6JF.mjs";
|
|
100
66
|
import {
|
|
101
67
|
unionWith
|
|
102
68
|
} from "./chunk-OUTSP4VR.mjs";
|
|
69
|
+
import {
|
|
70
|
+
uniqBy
|
|
71
|
+
} from "./chunk-WPDDOUQT.mjs";
|
|
103
72
|
import {
|
|
104
73
|
uniqWith
|
|
105
74
|
} from "./chunk-2PFDLYQC.mjs";
|
|
106
75
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./chunk-
|
|
76
|
+
xor
|
|
77
|
+
} from "./chunk-VKM3R5T5.mjs";
|
|
109
78
|
import {
|
|
110
|
-
|
|
111
|
-
} from "./chunk-
|
|
79
|
+
union
|
|
80
|
+
} from "./chunk-UPJXHWSJ.mjs";
|
|
112
81
|
import {
|
|
113
|
-
|
|
114
|
-
} from "./chunk-
|
|
82
|
+
uniq
|
|
83
|
+
} from "./chunk-XFCW7XJ4.mjs";
|
|
115
84
|
import {
|
|
116
|
-
|
|
117
|
-
} from "./chunk-
|
|
85
|
+
xorBy
|
|
86
|
+
} from "./chunk-E54CCWDL.mjs";
|
|
118
87
|
import {
|
|
119
|
-
|
|
120
|
-
} from "./chunk-
|
|
88
|
+
unionBy
|
|
89
|
+
} from "./chunk-NRNKP6JF.mjs";
|
|
121
90
|
import {
|
|
122
91
|
minBy
|
|
123
92
|
} from "./chunk-OIHARMNM.mjs";
|
|
@@ -134,17 +103,14 @@ import {
|
|
|
134
103
|
take
|
|
135
104
|
} from "./chunk-ME352XO7.mjs";
|
|
136
105
|
import {
|
|
137
|
-
|
|
138
|
-
} from "./chunk-
|
|
139
|
-
import {
|
|
140
|
-
dropRight
|
|
141
|
-
} from "./chunk-Q75KEFW5.mjs";
|
|
106
|
+
takeRight
|
|
107
|
+
} from "./chunk-XDKEPIUV.mjs";
|
|
142
108
|
import {
|
|
143
|
-
|
|
144
|
-
} from "./chunk-
|
|
109
|
+
takeRightWhile
|
|
110
|
+
} from "./chunk-NTLX2MPV.mjs";
|
|
145
111
|
import {
|
|
146
|
-
|
|
147
|
-
} from "./chunk-
|
|
112
|
+
takeWhile
|
|
113
|
+
} from "./chunk-2IXFGSUA.mjs";
|
|
148
114
|
import {
|
|
149
115
|
groupBy
|
|
150
116
|
} from "./chunk-LWXZFXY5.mjs";
|
|
@@ -154,10 +120,15 @@ import {
|
|
|
154
120
|
import {
|
|
155
121
|
intersectionBy
|
|
156
122
|
} from "./chunk-GNSJP2AB.mjs";
|
|
157
|
-
import "./chunk-FZEZH22H.mjs";
|
|
158
123
|
import {
|
|
159
|
-
|
|
160
|
-
} from "./chunk-
|
|
124
|
+
intersectionWith
|
|
125
|
+
} from "./chunk-2EFS3VA3.mjs";
|
|
126
|
+
import {
|
|
127
|
+
keyBy
|
|
128
|
+
} from "./chunk-ZOTAORG3.mjs";
|
|
129
|
+
import {
|
|
130
|
+
maxBy
|
|
131
|
+
} from "./chunk-FXOABQRO.mjs";
|
|
161
132
|
import {
|
|
162
133
|
chunk
|
|
163
134
|
} from "./chunk-E6C5EZQA.mjs";
|
|
@@ -173,6 +144,35 @@ import {
|
|
|
173
144
|
import {
|
|
174
145
|
differenceWith
|
|
175
146
|
} from "./chunk-6NVQAHXP.mjs";
|
|
147
|
+
import {
|
|
148
|
+
drop
|
|
149
|
+
} from "./chunk-ACFP3XMB.mjs";
|
|
150
|
+
import {
|
|
151
|
+
dropRight
|
|
152
|
+
} from "./chunk-Q75KEFW5.mjs";
|
|
153
|
+
import {
|
|
154
|
+
dropRightWhile
|
|
155
|
+
} from "./chunk-GTVOVGGZ.mjs";
|
|
156
|
+
import {
|
|
157
|
+
dropWhile
|
|
158
|
+
} from "./chunk-K2BAFL2T.mjs";
|
|
159
|
+
import "./chunk-FZEZH22H.mjs";
|
|
160
|
+
import {
|
|
161
|
+
AbortError
|
|
162
|
+
} from "./chunk-VP2LXY75.mjs";
|
|
163
|
+
import "./chunk-N6EM6ETS.mjs";
|
|
164
|
+
import {
|
|
165
|
+
debounce
|
|
166
|
+
} from "./chunk-G42NUGNE.mjs";
|
|
167
|
+
import {
|
|
168
|
+
noop
|
|
169
|
+
} from "./chunk-LKXCOLNY.mjs";
|
|
170
|
+
import {
|
|
171
|
+
once
|
|
172
|
+
} from "./chunk-UFAA5WKR.mjs";
|
|
173
|
+
import {
|
|
174
|
+
throttle
|
|
175
|
+
} from "./chunk-OEOAJOLQ.mjs";
|
|
176
176
|
import "./chunk-2MM5EJJX.mjs";
|
|
177
177
|
export {
|
|
178
178
|
AbortError,
|
package/dist/math/index.mjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "../chunk-QVHWSUEH.mjs";
|
|
2
|
-
import {
|
|
3
|
-
mean
|
|
4
|
-
} from "../chunk-KHK7LKE5.mjs";
|
|
5
2
|
import {
|
|
6
3
|
randomInt
|
|
7
4
|
} from "../chunk-GIWAOOFY.mjs";
|
|
8
|
-
import {
|
|
9
|
-
random
|
|
10
|
-
} from "../chunk-SYWMYQYJ.mjs";
|
|
11
5
|
import {
|
|
12
6
|
range
|
|
13
7
|
} from "../chunk-UNLX2F2Y.mjs";
|
|
14
8
|
import {
|
|
15
9
|
round
|
|
16
10
|
} from "../chunk-5PMKOZ2F.mjs";
|
|
11
|
+
import {
|
|
12
|
+
clamp
|
|
13
|
+
} from "../chunk-MLCL773E.mjs";
|
|
14
|
+
import {
|
|
15
|
+
mean
|
|
16
|
+
} from "../chunk-KHK7LKE5.mjs";
|
|
17
17
|
import {
|
|
18
18
|
sum
|
|
19
19
|
} from "../chunk-NOFHNJ5C.mjs";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "../chunk-
|
|
21
|
+
random
|
|
22
|
+
} from "../chunk-SYWMYQYJ.mjs";
|
|
23
23
|
import "../chunk-2MM5EJJX.mjs";
|
|
24
24
|
export {
|
|
25
25
|
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.6.0-dev.
|
|
4
|
+
"version": "1.6.0-dev.121+0ec0f6c2",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"docs"
|
|
7
7
|
],
|