Packages

es-toolkit

1.53.2 · 6 Nov 2026MIT91.3M / weekRepositoryHomepagenpmAtom feed

Your version

90 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.53.2

    6 Nov 2026
    • Added support for per-function imports like es-toolkit/array/chunk. (#2173)

    • Fixed reduceAsync to preserve explicitly provided null and undefined initial values. (#2176)

    • Fixed circular dependency warnings in bundlers when importing orderBy or sortBy. (#2187)

  2. 1.53.1

    30 Oct 2026

    Summary· from the note as AI read it

    Upgrade: this release fixes a security issue.

    • Security

      Fixed compat/template to reject variable values and imports keys that are not plain parameter names, and to replace all whitespace in sourceURL, preventing code injection.

    • Security

      Fixed compat/defaultsDeep to ignore __proto__ keys, preventing prototype pollution.

  3. 1.53.0

    24 Oct 2026

    Summary· from the note as AI read it

    Read before upgrading: 6 changes to make.

  4. 1.52.0

    28 Aug 2026
    • Added the es-toolkit/iterator entrypoint, a lazy iterator module with chunk, count, dropWhile, head, iterate, partition, range, scan, takeWhile, uniqBy, and zip ([#1815]), plus cartesianProduct ([#2031]). The same functions are also available from es-toolkit/fp/iterator.

    • Added defer and deferAsync to es-toolkit/util. ([#2032])

    • Added flowAsync to es-toolkit/fp, a promise-aware left-to-right composition. ([#2033])

  5. 1.51.0

    17 Aug 2026
    • Security

      Fixed compat/set to block constructor.prototype paths, preventing prototype pollution. ([#1904])

    • Added the es-toolkit/bigint entrypoint: bigint counterparts of the math functions (sum, sumBy, max, min, maxBy, minBy, clamp, inRange, median, medianBy, percentile, range, rangeRight), kept separate so the number implementations stay unchanged. ([#1966])

    • Added dedent, which removes common leading whitespace from template strings. ([#1679])

  6. 1.50.0

    24 Jul 2026
    • Added the es-toolkit/types entrypoint: a declaration-only module of compile-time type utilities TypeScript lacks natively — ValueOf, Simplify, Writable, NonEmptyArray, DeepPartial, and DeepReadonly. ([#1818])

    • Added flow to es-toolkit/fp, a reusable data-last composition built on pipe. ([#1812])

    • Fixed compat/intersectionBy to dedupe a single array (including by the iteratee) and to keep results consistent with Lodash. ([#1935])

  7. 1.49.0

    26 Jun 2026
    • Added the es-toolkit/fp entrypoint with data-last, pipeable utilities, documentation, benchmarks, and bundle-size checks. ([#1781])

    • Added a broad set of array utilities to es-toolkit/fp, covering slicing, grouping, set operations, ordering, zipping, and collection helpers. ([#1801])

    • Fixed trimStart to validate multi-character trim strings correctly before it stops trimming. ([#1615])

  8. 1.48.1

    21 Jun 2026
    • Fixed the jsdelivr and unpkg CDN <script> entry that regressed in v1.48.0. The fields are now declared at the package root so yarn pack preserves them, since publishConfig only carries standard fields and dropped them. Both CDNs now serve the UMD bundle again.

  9. 1.48.0

    21 Jun 2026
    • Added AbortSignal support to timeout and withTimeout. ([#1617])

    • Fixed CDN <script> resolution by pointing jsdelivr/unpkg to the UMD bundle and dropping the misused browser field. ([#1395])

    • Fixed toMerged to deep clone the target so untouched nested values stay independent. ([#1780])

  10. 1.47.1

    12 Jun 2026
    • Fixed maxBy and minBy to propagate NaN, matching Math.max/Math.min behavior. ([#1749])

    • Fixed orderBy and sortBy to place null and undefined values last when sorting. ([#1681])

    • Fixed isNumber to no longer treat boxed Number objects as numbers. ([#1726])

  11. 1.47.0

    25 May 2026
    • Added es-toolkit/server entrypoint with colors namespace for ANSI terminal color utilities. ([#1683])

    • Added exec function. ([#1689])

    • Added sortKeys to the object entrypoint. ([#1674])

  12. 1.46.1

    29 Apr 2026
    • Fixed AbortError and TimeoutError to fall back to Error when DOMException is undefined. ([#1694])

    • Fixed missing forEach and countBy exports for map and set. ([#1695])

  13. 1.46.0

    22 Apr 2026
    • Changed AbortError and TimeoutError to extend DOMException. ([#1660])

    • Added keyBy to the map entrypoint exports. ([#1650])

    • Added Claude Code plugin marketplace and es-toolkit usage skills. ([#1644])

  14. 1.45.1

    4 Mar 2026
    • Reverted the return type of sample to not include undefined.

    • Fixed Deno install command to include jsr: prefix. ([#1627])

  15. 1.45.0

    2 Mar 2026
    • Fixed findIndex to add missing default parameter for doesMatch. ([#1373])

    • Fixed sample to include undefined in return union type. ([#1302])

    • Fixed cloneDeep to support cloning Error objects.

  16. 1.44.0

    16 Jan 2026
    • Added shouldRetry option to retry function. ([#1585])

    • Added isEmptyObject predicate function. ([#1584])

    • Added isNumber predicate function.

  17. 1.43.0

    12 Dec 2025
    • Enhanced merge to handle arrays and objects consistently, and to match lodash's behavior with date values and array-like objects. ([#1553], [#1542], [#1548])

    • Fixed isMatch and isMatchWith to match lodash's behavior.

    • Fixed intersectionBy implementation and removed duplicates when the mapper produces the same values. ([#1528])

  18. 1.42.0

    17 Nov 2025
    • Security

      Fixed compat/updateWith to remove unreachable code and add prototype pollution test.

    • Added new async utilities: filterAsync, flatMapAsync, forEachAsync, mapAsync, reduceAsync, and limitAsync for handling asynchronous operations.

    • Exported ThrottleOptions and DebounceOptions interfaces for better type support.

  19. 1.41.0

    24 Oct 2025
    • Enhanced throttle to preserve this context when called as a method.

    • Added type guard support for partition function.

    • Fixed omit to support runtime-determined key arrays with proper overloads.

  20. 1.40.0

    8 Oct 2025
    • Enhanced sumBy to pass the element index to the getValue callback function.

    • Improved performance for uniq function.

    • Fixed cloneDeepWith to handle runtime errors in environments without Blob support and correctly clone Boolean, Number, and String objects.

  21. 1.39.10

    17 Aug 2025
    • Fixed defaultsDeep to properly handle deep merging of objects in arrays

    • Fixed several documentation issues and examples across multiple functions

  22. 1.39.9

    10 Aug 2025
    • Fixed mergeWith to properly handle null values returned from customizer function.

    • Fixed cloneDeepWith to properly handle customizer returning null values.

    • Fixed some of the documentation issues.

  23. 1.39.8

    25 Jul 2025
    • Aligned the types of fill, pullAll, pullAllBy, pullAllWith, pullAt, remove, and reverse in our compatibility library with the latest Lodash types (@types/lodash v4.17.20).

  24. 1.39.7

    8 Jul 2025
    • Fixed a compatibility issue with Lodash's debounce and throttle functions.

    • Remove useless source map for reduce bundle size.

    • Fix some of the documentation issues.

  25. 1.39.6

    2 Jul 2025
    • Fixed handling of null/undefined values in values function.

    • Fixed type safety in compat/get by adding GetFieldType utility type.

  26. 1.39.5

    24 Jun 2025
    • Fixed type compatibility issues between es-toolkit/compat and @types/lodash.

    • Improved documentation.

  27. 1.39.4

    21 Jun 2025
    • Security

      Fixed prototype pollution issue in es-toolkit to enhance security.

    • Enhanced build system to provide compat/* functions in CommonJS format by default.

  28. 1.39.3

    7 Jun 2025
    • Fixed postbuild script to ensure compat function categorization aligns with src directory structure.

  29. 1.39.2

    7 Jun 2025
    • Added dual package export support for individual compat functions (e.g., es-toolkit/compat/add).

  30. 1.39.1

    6 Jun 2025
    • Resolved mismatch between named and default exports in compat .d.ts and .js files to improve TypeScript integration.

  31. 1.39.0

    5 Jun 2025
  32. 1.38.0

    18 May 2025
  33. 1.37.2

    4 May 2025
    • Fixed an issue in es-toolkit/compat's throttle function to match Lodash's behavior by immediately invoking the throttled function when wait time is zero.

  34. 1.37.1

    3 May 2025
  35. 1.37.0

    3 May 2025
  36. 1.36.0

    24 Apr 2025
  37. 1.35.0

    16 Apr 2025
  38. 1.34.1

    27 Mar 2025
    • Fixed a bug in isBrowser and isNode that caused them to not work properly in Deno environments.

  39. 1.34.0

    27 Mar 2025
  40. 1.33.0

    9 Mar 2025
  41. 1.32.0

    30 Jan 2025
  42. 1.31.0

    27 Dec 2024
  43. 1.30.1

    14 Dec 2024
    • Fixed uniqueId not being exported in our compatibility library.

  44. 1.30.0

    13 Dec 2024
  45. 1.29.0

    1 Dec 2024
  46. 1.28.0

    30 Nov 2024
    • Added compatibility functions for gt, gte, toArray, toUpper, add, assignIn (extend), and isElement.

    • Introduced new compatibility types for DebouncedFunc.

    • Enhanced our function types to accept PropertyKey instead of just string for property keys.

  47. 1.27.0

    10 Nov 2024
  48. 1.26.1

    25 Oct 2024
    • Fixed a bug in isMatch that did not strictly compare null in objects.

  49. 1.26.0

    24 Oct 2024
  50. 1.25.2

    16 Oct 2024

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.