es-toolkit 1.47.1 → 1.48.0-dev.1872

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/browser.global.js +3 -3
  3. package/dist/compat/array/difference.js +1 -2
  4. package/dist/compat/array/difference.mjs +1 -2
  5. package/dist/compat/array/sortedIndex.js +1 -1
  6. package/dist/compat/array/sortedIndex.mjs +1 -1
  7. package/dist/compat/compat.js +1 -1
  8. package/dist/compat/compat.mjs +1 -1
  9. package/dist/compat/index.js +1 -1
  10. package/dist/compat/index.mjs +1 -1
  11. package/dist/compat/math/parseInt.js +2 -1
  12. package/dist/compat/math/parseInt.mjs +2 -1
  13. package/dist/compat/math/random.d.mts +3 -3
  14. package/dist/compat/math/random.d.ts +3 -3
  15. package/dist/compat/object/pick.js +6 -5
  16. package/dist/compat/object/pick.mjs +6 -5
  17. package/dist/compat/predicate/isMatchWith.js +9 -6
  18. package/dist/compat/predicate/isMatchWith.mjs +9 -6
  19. package/dist/compat/predicate/isNaN.js +2 -1
  20. package/dist/compat/predicate/isNaN.mjs +2 -1
  21. package/dist/compat/predicate/isNumber.js +4 -1
  22. package/dist/compat/predicate/isNumber.mjs +4 -1
  23. package/dist/compat/util/toPath.js +3 -4
  24. package/dist/compat/util/toPath.mjs +3 -4
  25. package/dist/function/debounce.d.mts +1 -0
  26. package/dist/function/debounce.d.ts +1 -0
  27. package/dist/function/debounce.js +1 -0
  28. package/dist/function/debounce.mjs +1 -0
  29. package/dist/object/toMerged.js +2 -1
  30. package/dist/object/toMerged.mjs +2 -1
  31. package/dist/promise/timeout.d.mts +25 -2
  32. package/dist/promise/timeout.d.ts +25 -2
  33. package/dist/promise/timeout.js +31 -5
  34. package/dist/promise/timeout.mjs +31 -5
  35. package/dist/promise/withTimeout.d.mts +19 -1
  36. package/dist/promise/withTimeout.d.ts +19 -1
  37. package/dist/promise/withTimeout.js +15 -2
  38. package/dist/promise/withTimeout.mjs +15 -2
  39. package/package.json +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "es-toolkit",
3
- "version": "1.47.1",
3
+ "version": "1.48.0-dev.1872+90d91515",
4
4
  "description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
5
5
  "homepage": "https://es-toolkit.dev",
6
6
  "bugs": "https://github.com/toss/es-toolkit/issues",
@@ -190,6 +190,7 @@
190
190
  "bench": "vitest bench",
191
191
  "build": "tsdown && ./.scripts/postbuild.sh",
192
192
  "format": "prettier --write .",
193
+ "gen:benchmark": "node ./.scripts/generate-benchmark.mjs",
193
194
  "gen:bundle-size": "node ./.scripts/generate-bundle-size.mjs",
194
195
  "lint": "eslint --config eslint.config.mjs --concurrency=auto",
195
196
  "packlint": "packlint sort -R",
@@ -239,7 +240,8 @@
239
240
  "publishConfig": {
240
241
  "access": "public",
241
242
  "main": "./dist/index.js",
242
- "browser": "./dist/browser.global.js",
243
+ "jsdelivr": "./dist/browser.global.js",
244
+ "unpkg": "./dist/browser.global.js",
243
245
  "module": "./dist/index.mjs",
244
246
  "exports": {
245
247
  ".": {
@@ -409,7 +411,6 @@
409
411
  },
410
412
  "react-native": "./dist/index.js",
411
413
  "main": "./dist/index.js",
412
- "browser": "./dist/browser.global.js",
413
414
  "module": "./dist/index.mjs",
414
415
  "types": "./dist/index.d.ts"
415
416
  }