Packages

es-toolkit

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

Upgrading es-toolkit From 1.52.0 to 1.53.2

3 releases in betweenevery note read

  1. 1.52.0yours
  2. 1.53.0
  3. 1.53.1security
  4. 1.53.2target
  5. 23 pre
0
changes to make
0
advisories fixed
7
new
32
fixes

Security

  • This release includes security fixes for es-toolkit/compat, and we recommend upgrading.

    1.53.1
  • 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.

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

    1.53.1

Release by release

  1. 1.53.2

    6 Nov 20261 new · 5 fixes
    • New

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

    • Fixed

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

    • Fixed

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

    • Fixed

      Fixed truncate in es-toolkit/compat to preserve separator boundaries, matching Lodash's behavior. (#2180)

    • Fixed

      Fixed isError in es-toolkit/compat to return true for DOMException and error-like objects, matching Lodash's behavior. (#2188)

    • Fixed

      Fixed incorrect example outputs in the documentation for random, keysIn, setWith, and curryRight. (#2183)

  2. 1.53.1

    Security fix30 Oct 20266 fixes
    • Security

      This release includes security fixes for es-toolkit/compat, and we recommend upgrading.

    • 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.

    • Fixed

      Fixed compat/unset, compat/omit, and compat/pullAt to stop when __proto__, constructor, or prototype appears before the last path key, preventing the deletion of built-in prototype properties.

  3. 1.53.0

    24 Oct 20266 new · 21 fixes
    • New

      Added serialize to es-toolkit/util, and hash in the new es-toolkit/util/hash entrypoint. ([#2067], [#2154])

    • New

      Added Queue to es-toolkit/util. ([#2150], [#2153])

    • New

      Added stringify to es-toolkit/query-string. ([#2121])

    • New

      Added sentenceCase. ([#2079])

13 other lines we could not sort, mostly version bumps
  • Replaced Prettier and ESLint with oxfmt and oxlint, and forbade circular imports. (#2185, #2189, #2190)

    1.53.2
  • Enhanced the dist and browser compatibility checks to verify the packed tarball and only exported functions. (#2182, #2192)

    1.53.2
  • es-toolkit/compat now runs on Node.js 6 and ES2015 environments without transpilation or polyfills. ([#2097], [#2161])

    1.53.0
  • dedent now leaves interpolated values out of the indentation calculation ([#2099]), and throws a TypeError for a malformed template literal, like String.dedent ([#2100]).

    1.53.0
  • deburr now keeps letters of non-Latin scripts as they are. ([#2124])

    1.53.0
  • orderBy and sortBy now sort NaN in a consistent position. ([#2133])

    1.53.0
  • once now calls the function with the caller's this. ([#2069])

    1.53.0
  • findKey and mapKeys now type keys like Object.keys, so numeric keys are strings. ([#2077], [#2156])

    1.53.0
  • The fp head, last, maxBy, and minBy now always return T | undefined. ([#2113])

    1.53.0
  • Exported the PropertyPath type from es-toolkit/compat. ([#2145])

    1.53.0

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.