es-toolkit 1.12.0-dev.289 → 1.13.0-dev.290
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 +16 -5
- package/dist/array/index.mjs +12 -12
- package/dist/browser.js.map +1 -1
- package/dist/browser.mjs +7 -7
- package/dist/{chunk-UTBNEZQX.mjs → chunk-5JN3CIWZ.mjs} +16 -16
- package/dist/chunk-5JN3CIWZ.mjs.map +1 -0
- package/dist/compat/index.mjs +16 -16
- package/dist/function/index.mjs +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -16
- package/package.json +1 -1
- package/dist/chunk-UTBNEZQX.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-5JN3CIWZ.mjs";
|
|
2
2
|
import "./chunk-XT74R35S.mjs";
|
|
3
3
|
import {
|
|
4
4
|
kebabCase
|
|
@@ -97,9 +97,6 @@ import {
|
|
|
97
97
|
range
|
|
98
98
|
} from "./chunk-DPH2KE6O.mjs";
|
|
99
99
|
import "./chunk-DDH7K4QM.mjs";
|
|
100
|
-
import {
|
|
101
|
-
unzipWith
|
|
102
|
-
} from "./chunk-IFNXROZR.mjs";
|
|
103
100
|
import {
|
|
104
101
|
without
|
|
105
102
|
} from "./chunk-PYEYV7BY.mjs";
|
|
@@ -121,9 +118,6 @@ import {
|
|
|
121
118
|
import {
|
|
122
119
|
zipWith
|
|
123
120
|
} from "./chunk-4KYXHZ4R.mjs";
|
|
124
|
-
import {
|
|
125
|
-
toFilled
|
|
126
|
-
} from "./chunk-OP4OAKQJ.mjs";
|
|
127
121
|
import {
|
|
128
122
|
union
|
|
129
123
|
} from "./chunk-R6QA7PLZ.mjs";
|
|
@@ -146,8 +140,8 @@ import {
|
|
|
146
140
|
unzip
|
|
147
141
|
} from "./chunk-UYZKMBDO.mjs";
|
|
148
142
|
import {
|
|
149
|
-
|
|
150
|
-
} from "./chunk-
|
|
143
|
+
unzipWith
|
|
144
|
+
} from "./chunk-IFNXROZR.mjs";
|
|
151
145
|
import {
|
|
152
146
|
sampleSize
|
|
153
147
|
} from "./chunk-EHSKB6DF.mjs";
|
|
@@ -176,8 +170,8 @@ import {
|
|
|
176
170
|
takeWhile
|
|
177
171
|
} from "./chunk-2IXFGSUA.mjs";
|
|
178
172
|
import {
|
|
179
|
-
|
|
180
|
-
} from "./chunk-
|
|
173
|
+
toFilled
|
|
174
|
+
} from "./chunk-OP4OAKQJ.mjs";
|
|
181
175
|
import {
|
|
182
176
|
intersectionWith
|
|
183
177
|
} from "./chunk-XI7KRD2C.mjs";
|
|
@@ -199,6 +193,9 @@ import {
|
|
|
199
193
|
import {
|
|
200
194
|
partition
|
|
201
195
|
} from "./chunk-DN3NOZ3H.mjs";
|
|
196
|
+
import {
|
|
197
|
+
sample
|
|
198
|
+
} from "./chunk-2KNLZB7V.mjs";
|
|
202
199
|
import {
|
|
203
200
|
flattenDeep
|
|
204
201
|
} from "./chunk-ML727RRJ.mjs";
|
|
@@ -218,8 +215,8 @@ import {
|
|
|
218
215
|
intersection
|
|
219
216
|
} from "./chunk-FVVSE2F2.mjs";
|
|
220
217
|
import {
|
|
221
|
-
|
|
222
|
-
} from "./chunk-
|
|
218
|
+
intersectionBy
|
|
219
|
+
} from "./chunk-O6UXZR3U.mjs";
|
|
223
220
|
import {
|
|
224
221
|
differenceWith
|
|
225
222
|
} from "./chunk-6NVQAHXP.mjs";
|
|
@@ -256,6 +253,9 @@ import {
|
|
|
256
253
|
import {
|
|
257
254
|
difference
|
|
258
255
|
} from "./chunk-JPUKH67K.mjs";
|
|
256
|
+
import {
|
|
257
|
+
differenceBy
|
|
258
|
+
} from "./chunk-LVWX5B43.mjs";
|
|
259
259
|
import "./chunk-F47GLYUU.mjs";
|
|
260
260
|
import {
|
|
261
261
|
AbortError
|
|
@@ -264,9 +264,6 @@ import {
|
|
|
264
264
|
TimeoutError
|
|
265
265
|
} from "./chunk-KIOYQRMQ.mjs";
|
|
266
266
|
import "./chunk-236H5JZJ.mjs";
|
|
267
|
-
import {
|
|
268
|
-
negate
|
|
269
|
-
} from "./chunk-BOOQBJN2.mjs";
|
|
270
267
|
import {
|
|
271
268
|
noop
|
|
272
269
|
} from "./chunk-LKXCOLNY.mjs";
|
|
@@ -279,6 +276,9 @@ import {
|
|
|
279
276
|
import {
|
|
280
277
|
debounce
|
|
281
278
|
} from "./chunk-3IP4JVLL.mjs";
|
|
279
|
+
import {
|
|
280
|
+
negate
|
|
281
|
+
} from "./chunk-BOOQBJN2.mjs";
|
|
282
282
|
import "./chunk-24FKGR6U.mjs";
|
|
283
283
|
export {
|
|
284
284
|
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.13.0-dev.290+528bc2b0",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * es-toolkit\n * ====================================\n * A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.\n *\n * es-toolkit is a state-of-the-art, high-performance JavaScript utility library\n * with a small bundle size and strong type annotations.\n *\n * - es-toolkit offers a variety of everyday utility functions with modern implementations, such as [debounce](https://es-toolkit.slash.page/reference/function/debounce.html), [delay](https://es-toolkit.slash.page/reference/promise/delay.html), [chunk](https://es-toolkit.slash.page/reference/array/chunk.html), [sum](https://es-toolkit.slash.page/reference/math/sum.html), and [pick](https://es-toolkit.slash.page/reference/object/pick.html).\n * - Designed with performance in mind, es-toolkit achieves [2-3× better performance](https://es-toolkit.slash.page/performance.html) in modern JavaScript environments.\n * - es-toolkit supports tree shaking out of the box, and [reduces JavaScript code by up to 97%](https://es-toolkit.slash.page/bundle-size.html) compared to other libraries.\n * - es-toolkit includes built-in TypeScript support, with straightforward yet robust types. It also provides useful type guards such as [isNotNil](https://es-toolkit.slash.page/reference/predicate/isNotNil.html).\n * - es-toolkit is battle-tested with 100% test coverage, ensuring reliability and robustness.\n *\n * Here are some of the features es-toolkit offers:\n *\n * - **Array**: Utilities for array manipulation, such as [uniq](https://es-toolkit.slash.page/reference/array/uniq.html) and [difference](https://es-toolkit.slash.page/reference/array/difference.html).\n * - **Function**: Tools for controlling function execution, including [debounce](https://es-toolkit.slash.page/reference/function/debounce.html) and [throttle](https://es-toolkit.slash.page/reference/function/throttle.html).\n * - **Math**: Numerical utilities like [sum](https://es-toolkit.slash.page/reference/math/sum.html) and [round](https://es-toolkit.slash.page/reference/math/round.html).\n * - **Object**: Tools for manipulating JavaScript objects, such as [pick](https://es-toolkit.slash.page/reference/object/pick.html) and [omit](https://es-toolkit.slash.page/reference/object/omit.html).\n * - **Predicate**: Type guard functions like [isNotNil](https://es-toolkit.slash.page/reference/predicate/isNotNil.html).\n * - **Promise**: Asynchronous utilities like [delay](https://es-toolkit.slash.page/reference/promise/delay.html).\n * - **String**: Utilities for string manipulation, such as [snakeCase](https://es-toolkit.slash.page/reference/string/snakeCase.html)\n *\n * If you want to know more about the project, please take a look at the\n * following resources:\n *\n * - [GitHub](https://github.com/toss/es-toolkit)\n * - [Documentation](https://es-toolkit.slash.page)\n *\n * @module\n */\nexport * from './array/index.ts';\nexport * from './error/index.ts';\nexport * from './function/index.ts';\nexport * from './math/index.ts';\nexport * from './object/index.ts';\nexport * from './predicate/index.ts';\nexport * from './promise/index.ts';\nexport * from './string/index.ts';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
|