es-toolkit 1.10.0-dev.210 → 1.10.1-dev.211

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 CHANGED
@@ -1,12 +1,17 @@
1
1
  # es-toolkit Changelog
2
2
 
3
+ ## Version v1.10.1
4
+
5
+ Released on July 15th, 2024.
6
+
7
+ - Fixed [camelCase](https://es-toolkit.slash.page/reference/string/camelCase.html) using `capitalize` from incorrect import. ([8dda135](https://github.com/toss/es-toolkit/commit/8dda135fa339ae4953908a74b2e6eeca9f163a20))
8
+
3
9
  ## Version v1.10.0
4
10
 
5
11
  Released on July 14th, 2024.
6
12
 
7
13
  ### Features
8
14
 
9
-
10
15
  - Add support for [capitalize](https://es-toolkit.slash.page/reference/string/capitalize.html), [snakeCase](https://es-toolkit.slash.page/reference/string/snakeCase.html), [kebabCase](https://es-toolkit.slash.page/reference/string/kebabCase.html), [camelCase](https://es-toolkit.slash.page/reference/string/camelCase.html) and [lowerCase](https://es-toolkit.slash.page/reference/string/lowerCase.html). (https://github.com/toss/es-toolkit/pull/152, https://github.com/toss/es-toolkit/pull/161, https://github.com/toss/es-toolkit/pull/162, https://github.com/toss/es-toolkit/pull/166, [21d6530](https://github.com/toss/es-toolkit/commit/21d6530e16471d596410d57d59fd3ced8fc5569f)).
11
16
  - Add support for [negate](https://es-toolkit.slash.page/reference/function/negate.html). (https://github.com/toss/es-toolkit/pull/177)
12
17
  - Add support for [isEqual](https://es-toolkit.slash.page/reference/predicate/isEqual.html). (https://github.com/toss/es-toolkit/pull/174)
@@ -1,10 +1,4 @@
1
1
  import "../chunk-2MRZANXZ.mjs";
2
- import {
3
- without
4
- } from "../chunk-PYEYV7BY.mjs";
5
- import {
6
- xor
7
- } from "../chunk-L7FQX5MN.mjs";
8
2
  import {
9
3
  xorBy
10
4
  } from "../chunk-Q47NGNXT.mjs";
@@ -20,18 +14,9 @@ import {
20
14
  import {
21
15
  zipWith
22
16
  } from "../chunk-4KYXHZ4R.mjs";
23
- import {
24
- union
25
- } from "../chunk-R6QA7PLZ.mjs";
26
- import {
27
- unionBy
28
- } from "../chunk-NFS7RWWE.mjs";
29
17
  import {
30
18
  unionWith
31
19
  } from "../chunk-2ZCITDMK.mjs";
32
- import {
33
- uniq
34
- } from "../chunk-DVK2N4KC.mjs";
35
20
  import {
36
21
  uniqBy
37
22
  } from "../chunk-OXAZEEGP.mjs";
@@ -45,13 +30,11 @@ import {
45
30
  unzipWith
46
31
  } from "../chunk-IFNXROZR.mjs";
47
32
  import {
48
- sampleSize
49
- } from "../chunk-EHSKB6DF.mjs";
50
- import "../chunk-GIWAOOFY.mjs";
51
- import "../chunk-SYWMYQYJ.mjs";
33
+ without
34
+ } from "../chunk-PYEYV7BY.mjs";
52
35
  import {
53
- shuffle
54
- } from "../chunk-G7UQ5PUR.mjs";
36
+ xor
37
+ } from "../chunk-L7FQX5MN.mjs";
55
38
  import {
56
39
  tail
57
40
  } from "../chunk-OF6NM4G7.mjs";
@@ -71,11 +54,14 @@ import {
71
54
  toFilled
72
55
  } from "../chunk-OP4OAKQJ.mjs";
73
56
  import {
74
- intersectionWith
75
- } from "../chunk-XI7KRD2C.mjs";
57
+ union
58
+ } from "../chunk-R6QA7PLZ.mjs";
76
59
  import {
77
- keyBy
78
- } from "../chunk-AJKZMN2V.mjs";
60
+ uniq
61
+ } from "../chunk-DVK2N4KC.mjs";
62
+ import {
63
+ unionBy
64
+ } from "../chunk-NFS7RWWE.mjs";
79
65
  import {
80
66
  last
81
67
  } from "../chunk-KPBQ7OUY.mjs";
@@ -95,11 +81,13 @@ import {
95
81
  sample
96
82
  } from "../chunk-2KNLZB7V.mjs";
97
83
  import {
98
- flattenDeep
99
- } from "../chunk-ML727RRJ.mjs";
84
+ sampleSize
85
+ } from "../chunk-EHSKB6DF.mjs";
86
+ import "../chunk-GIWAOOFY.mjs";
87
+ import "../chunk-SYWMYQYJ.mjs";
100
88
  import {
101
- forEachRight
102
- } from "../chunk-IEA53J7P.mjs";
89
+ shuffle
90
+ } from "../chunk-G7UQ5PUR.mjs";
103
91
  import {
104
92
  groupBy
105
93
  } from "../chunk-E6E4RZLN.mjs";
@@ -116,11 +104,11 @@ import {
116
104
  intersectionBy
117
105
  } from "../chunk-O6UXZR3U.mjs";
118
106
  import {
119
- differenceBy
120
- } from "../chunk-LVWX5B43.mjs";
107
+ intersectionWith
108
+ } from "../chunk-XI7KRD2C.mjs";
121
109
  import {
122
- differenceWith
123
- } from "../chunk-6NVQAHXP.mjs";
110
+ keyBy
111
+ } from "../chunk-AJKZMN2V.mjs";
124
112
  import {
125
113
  drop
126
114
  } from "../chunk-S3CORED5.mjs";
@@ -136,9 +124,15 @@ import {
136
124
  import {
137
125
  fill
138
126
  } from "../chunk-C4WE4GLC.mjs";
127
+ import {
128
+ flattenDeep
129
+ } from "../chunk-ML727RRJ.mjs";
139
130
  import {
140
131
  flatten
141
132
  } from "../chunk-33MSBDC6.mjs";
133
+ import {
134
+ forEachRight
135
+ } from "../chunk-IEA53J7P.mjs";
142
136
  import {
143
137
  chunk
144
138
  } from "../chunk-E6C5EZQA.mjs";
@@ -151,6 +145,12 @@ import {
151
145
  import {
152
146
  difference
153
147
  } from "../chunk-JPUKH67K.mjs";
148
+ import {
149
+ differenceBy
150
+ } from "../chunk-LVWX5B43.mjs";
151
+ import {
152
+ differenceWith
153
+ } from "../chunk-6NVQAHXP.mjs";
154
154
  import "../chunk-2MM5EJJX.mjs";
155
155
  export {
156
156
  chunk,
@@ -55,19 +55,6 @@ import {
55
55
  import {
56
56
  isUndefined
57
57
  } from "../chunk-VH2PV426.mjs";
58
- import "../chunk-236H5JZJ.mjs";
59
- import {
60
- negate
61
- } from "../chunk-BOOQBJN2.mjs";
62
- import {
63
- noop
64
- } from "../chunk-LKXCOLNY.mjs";
65
- import {
66
- once
67
- } from "../chunk-CMBC4MXG.mjs";
68
- import {
69
- throttle
70
- } from "../chunk-QOJGMVVR.mjs";
71
58
  import "../chunk-FUS75PJ7.mjs";
72
59
  import {
73
60
  meanBy
@@ -93,16 +80,7 @@ import {
93
80
  import {
94
81
  inRange
95
82
  } from "../chunk-BH6HLGBA.mjs";
96
- import {
97
- debounce
98
- } from "../chunk-3IP4JVLL.mjs";
99
83
  import "../chunk-2MRZANXZ.mjs";
100
- import {
101
- without
102
- } from "../chunk-PYEYV7BY.mjs";
103
- import {
104
- xor
105
- } from "../chunk-L7FQX5MN.mjs";
106
84
  import {
107
85
  xorBy
108
86
  } from "../chunk-Q47NGNXT.mjs";
@@ -118,18 +96,9 @@ import {
118
96
  import {
119
97
  zipWith
120
98
  } from "../chunk-4KYXHZ4R.mjs";
121
- import {
122
- union
123
- } from "../chunk-R6QA7PLZ.mjs";
124
- import {
125
- unionBy
126
- } from "../chunk-NFS7RWWE.mjs";
127
99
  import {
128
100
  unionWith
129
101
  } from "../chunk-2ZCITDMK.mjs";
130
- import {
131
- uniq
132
- } from "../chunk-DVK2N4KC.mjs";
133
102
  import {
134
103
  uniqBy
135
104
  } from "../chunk-OXAZEEGP.mjs";
@@ -143,17 +112,11 @@ import {
143
112
  unzipWith
144
113
  } from "../chunk-IFNXROZR.mjs";
145
114
  import {
146
- sampleSize
147
- } from "../chunk-EHSKB6DF.mjs";
148
- import {
149
- randomInt
150
- } from "../chunk-GIWAOOFY.mjs";
151
- import {
152
- random
153
- } from "../chunk-SYWMYQYJ.mjs";
115
+ without
116
+ } from "../chunk-PYEYV7BY.mjs";
154
117
  import {
155
- shuffle
156
- } from "../chunk-G7UQ5PUR.mjs";
118
+ xor
119
+ } from "../chunk-L7FQX5MN.mjs";
157
120
  import {
158
121
  tail
159
122
  } from "../chunk-OF6NM4G7.mjs";
@@ -173,11 +136,14 @@ import {
173
136
  toFilled
174
137
  } from "../chunk-OP4OAKQJ.mjs";
175
138
  import {
176
- intersectionWith
177
- } from "../chunk-XI7KRD2C.mjs";
139
+ union
140
+ } from "../chunk-R6QA7PLZ.mjs";
178
141
  import {
179
- keyBy
180
- } from "../chunk-AJKZMN2V.mjs";
142
+ uniq
143
+ } from "../chunk-DVK2N4KC.mjs";
144
+ import {
145
+ unionBy
146
+ } from "../chunk-NFS7RWWE.mjs";
181
147
  import {
182
148
  last
183
149
  } from "../chunk-KPBQ7OUY.mjs";
@@ -197,11 +163,17 @@ import {
197
163
  sample
198
164
  } from "../chunk-2KNLZB7V.mjs";
199
165
  import {
200
- flattenDeep
201
- } from "../chunk-ML727RRJ.mjs";
166
+ sampleSize
167
+ } from "../chunk-EHSKB6DF.mjs";
202
168
  import {
203
- forEachRight
204
- } from "../chunk-IEA53J7P.mjs";
169
+ randomInt
170
+ } from "../chunk-GIWAOOFY.mjs";
171
+ import {
172
+ random
173
+ } from "../chunk-SYWMYQYJ.mjs";
174
+ import {
175
+ shuffle
176
+ } from "../chunk-G7UQ5PUR.mjs";
205
177
  import {
206
178
  groupBy
207
179
  } from "../chunk-E6E4RZLN.mjs";
@@ -218,11 +190,11 @@ import {
218
190
  intersectionBy
219
191
  } from "../chunk-O6UXZR3U.mjs";
220
192
  import {
221
- differenceBy
222
- } from "../chunk-LVWX5B43.mjs";
193
+ intersectionWith
194
+ } from "../chunk-XI7KRD2C.mjs";
223
195
  import {
224
- differenceWith
225
- } from "../chunk-6NVQAHXP.mjs";
196
+ keyBy
197
+ } from "../chunk-AJKZMN2V.mjs";
226
198
  import {
227
199
  drop
228
200
  } from "../chunk-S3CORED5.mjs";
@@ -238,13 +210,15 @@ import {
238
210
  import {
239
211
  fill
240
212
  } from "../chunk-C4WE4GLC.mjs";
213
+ import {
214
+ flattenDeep
215
+ } from "../chunk-ML727RRJ.mjs";
241
216
  import {
242
217
  flatten
243
218
  } from "../chunk-33MSBDC6.mjs";
244
- import "../chunk-FZEZH22H.mjs";
245
219
  import {
246
- AbortError
247
- } from "../chunk-DXB7EZUQ.mjs";
220
+ forEachRight
221
+ } from "../chunk-IEA53J7P.mjs";
248
222
  import {
249
223
  chunk
250
224
  } from "../chunk-E6C5EZQA.mjs";
@@ -257,6 +231,32 @@ import {
257
231
  import {
258
232
  difference
259
233
  } from "../chunk-JPUKH67K.mjs";
234
+ import {
235
+ differenceBy
236
+ } from "../chunk-LVWX5B43.mjs";
237
+ import {
238
+ differenceWith
239
+ } from "../chunk-6NVQAHXP.mjs";
240
+ import "../chunk-FZEZH22H.mjs";
241
+ import {
242
+ AbortError
243
+ } from "../chunk-DXB7EZUQ.mjs";
244
+ import "../chunk-236H5JZJ.mjs";
245
+ import {
246
+ throttle
247
+ } from "../chunk-QOJGMVVR.mjs";
248
+ import {
249
+ debounce
250
+ } from "../chunk-3IP4JVLL.mjs";
251
+ import {
252
+ negate
253
+ } from "../chunk-BOOQBJN2.mjs";
254
+ import {
255
+ noop
256
+ } from "../chunk-LKXCOLNY.mjs";
257
+ import {
258
+ once
259
+ } from "../chunk-CMBC4MXG.mjs";
260
260
  import "../chunk-2MM5EJJX.mjs";
261
261
 
262
262
  // src/compat/array/chunk.ts
@@ -1,4 +1,10 @@
1
1
  import "../chunk-236H5JZJ.mjs";
2
+ import {
3
+ throttle
4
+ } from "../chunk-QOJGMVVR.mjs";
5
+ import {
6
+ debounce
7
+ } from "../chunk-3IP4JVLL.mjs";
2
8
  import {
3
9
  negate
4
10
  } from "../chunk-BOOQBJN2.mjs";
@@ -8,12 +14,6 @@ import {
8
14
  import {
9
15
  once
10
16
  } from "../chunk-CMBC4MXG.mjs";
11
- import {
12
- throttle
13
- } from "../chunk-QOJGMVVR.mjs";
14
- import {
15
- debounce
16
- } from "../chunk-3IP4JVLL.mjs";
17
17
  import "../chunk-2MM5EJJX.mjs";
18
18
  export {
19
19
  debounce,
package/dist/index.mjs CHANGED
@@ -55,19 +55,6 @@ import {
55
55
  import {
56
56
  isUndefined
57
57
  } from "./chunk-VH2PV426.mjs";
58
- import "./chunk-236H5JZJ.mjs";
59
- import {
60
- negate
61
- } from "./chunk-BOOQBJN2.mjs";
62
- import {
63
- noop
64
- } from "./chunk-LKXCOLNY.mjs";
65
- import {
66
- once
67
- } from "./chunk-CMBC4MXG.mjs";
68
- import {
69
- throttle
70
- } from "./chunk-QOJGMVVR.mjs";
71
58
  import "./chunk-FUS75PJ7.mjs";
72
59
  import {
73
60
  meanBy
@@ -93,16 +80,7 @@ import {
93
80
  import {
94
81
  inRange
95
82
  } from "./chunk-BH6HLGBA.mjs";
96
- import {
97
- debounce
98
- } from "./chunk-3IP4JVLL.mjs";
99
83
  import "./chunk-2MRZANXZ.mjs";
100
- import {
101
- without
102
- } from "./chunk-PYEYV7BY.mjs";
103
- import {
104
- xor
105
- } from "./chunk-L7FQX5MN.mjs";
106
84
  import {
107
85
  xorBy
108
86
  } from "./chunk-Q47NGNXT.mjs";
@@ -118,18 +96,9 @@ import {
118
96
  import {
119
97
  zipWith
120
98
  } from "./chunk-4KYXHZ4R.mjs";
121
- import {
122
- union
123
- } from "./chunk-R6QA7PLZ.mjs";
124
- import {
125
- unionBy
126
- } from "./chunk-NFS7RWWE.mjs";
127
99
  import {
128
100
  unionWith
129
101
  } from "./chunk-2ZCITDMK.mjs";
130
- import {
131
- uniq
132
- } from "./chunk-DVK2N4KC.mjs";
133
102
  import {
134
103
  uniqBy
135
104
  } from "./chunk-OXAZEEGP.mjs";
@@ -143,17 +112,11 @@ import {
143
112
  unzipWith
144
113
  } from "./chunk-IFNXROZR.mjs";
145
114
  import {
146
- sampleSize
147
- } from "./chunk-EHSKB6DF.mjs";
148
- import {
149
- randomInt
150
- } from "./chunk-GIWAOOFY.mjs";
151
- import {
152
- random
153
- } from "./chunk-SYWMYQYJ.mjs";
115
+ without
116
+ } from "./chunk-PYEYV7BY.mjs";
154
117
  import {
155
- shuffle
156
- } from "./chunk-G7UQ5PUR.mjs";
118
+ xor
119
+ } from "./chunk-L7FQX5MN.mjs";
157
120
  import {
158
121
  tail
159
122
  } from "./chunk-OF6NM4G7.mjs";
@@ -173,11 +136,14 @@ import {
173
136
  toFilled
174
137
  } from "./chunk-OP4OAKQJ.mjs";
175
138
  import {
176
- intersectionWith
177
- } from "./chunk-XI7KRD2C.mjs";
139
+ union
140
+ } from "./chunk-R6QA7PLZ.mjs";
178
141
  import {
179
- keyBy
180
- } from "./chunk-AJKZMN2V.mjs";
142
+ uniq
143
+ } from "./chunk-DVK2N4KC.mjs";
144
+ import {
145
+ unionBy
146
+ } from "./chunk-NFS7RWWE.mjs";
181
147
  import {
182
148
  last
183
149
  } from "./chunk-KPBQ7OUY.mjs";
@@ -197,11 +163,17 @@ import {
197
163
  sample
198
164
  } from "./chunk-2KNLZB7V.mjs";
199
165
  import {
200
- flattenDeep
201
- } from "./chunk-ML727RRJ.mjs";
166
+ sampleSize
167
+ } from "./chunk-EHSKB6DF.mjs";
202
168
  import {
203
- forEachRight
204
- } from "./chunk-IEA53J7P.mjs";
169
+ randomInt
170
+ } from "./chunk-GIWAOOFY.mjs";
171
+ import {
172
+ random
173
+ } from "./chunk-SYWMYQYJ.mjs";
174
+ import {
175
+ shuffle
176
+ } from "./chunk-G7UQ5PUR.mjs";
205
177
  import {
206
178
  groupBy
207
179
  } from "./chunk-E6E4RZLN.mjs";
@@ -218,11 +190,11 @@ import {
218
190
  intersectionBy
219
191
  } from "./chunk-O6UXZR3U.mjs";
220
192
  import {
221
- differenceBy
222
- } from "./chunk-LVWX5B43.mjs";
193
+ intersectionWith
194
+ } from "./chunk-XI7KRD2C.mjs";
223
195
  import {
224
- differenceWith
225
- } from "./chunk-6NVQAHXP.mjs";
196
+ keyBy
197
+ } from "./chunk-AJKZMN2V.mjs";
226
198
  import {
227
199
  drop
228
200
  } from "./chunk-S3CORED5.mjs";
@@ -238,13 +210,15 @@ import {
238
210
  import {
239
211
  fill
240
212
  } from "./chunk-C4WE4GLC.mjs";
213
+ import {
214
+ flattenDeep
215
+ } from "./chunk-ML727RRJ.mjs";
241
216
  import {
242
217
  flatten
243
218
  } from "./chunk-33MSBDC6.mjs";
244
- import "./chunk-FZEZH22H.mjs";
245
219
  import {
246
- AbortError
247
- } from "./chunk-DXB7EZUQ.mjs";
220
+ forEachRight
221
+ } from "./chunk-IEA53J7P.mjs";
248
222
  import {
249
223
  chunk
250
224
  } from "./chunk-E6C5EZQA.mjs";
@@ -257,6 +231,32 @@ import {
257
231
  import {
258
232
  difference
259
233
  } from "./chunk-JPUKH67K.mjs";
234
+ import {
235
+ differenceBy
236
+ } from "./chunk-LVWX5B43.mjs";
237
+ import {
238
+ differenceWith
239
+ } from "./chunk-6NVQAHXP.mjs";
240
+ import "./chunk-FZEZH22H.mjs";
241
+ import {
242
+ AbortError
243
+ } from "./chunk-DXB7EZUQ.mjs";
244
+ import "./chunk-236H5JZJ.mjs";
245
+ import {
246
+ throttle
247
+ } from "./chunk-QOJGMVVR.mjs";
248
+ import {
249
+ debounce
250
+ } from "./chunk-3IP4JVLL.mjs";
251
+ import {
252
+ negate
253
+ } from "./chunk-BOOQBJN2.mjs";
254
+ import {
255
+ noop
256
+ } from "./chunk-LKXCOLNY.mjs";
257
+ import {
258
+ once
259
+ } from "./chunk-CMBC4MXG.mjs";
260
260
  import "./chunk-2MM5EJJX.mjs";
261
261
  export {
262
262
  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.10.0-dev.210+8dda135f",
4
+ "version": "1.10.1-dev.211+96ec636e",
5
5
  "homepage": "https://es-toolkit.slash.page",
6
6
  "bugs": "https://github.com/toss/es-toolkit/issues",
7
7
  "repository": {