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