es-toolkit
1.53.2 · 6 Nov 2026MIT91.3M / weekRepositoryHomepagenpmAtom feed
Upgrading es-toolkit From 1.53.0 to 1.53.2
2 releases in betweenevery note read
Security
- 1.53.1
This release includes security fixes for
es-toolkit/compat, and we recommend upgrading. - 1.53.1
Fixed
compat/templateto rejectvariablevalues andimportskeys that are not plain parameter names, and to replace all whitespace insourceURL, preventing code injection. - 1.53.1
Fixed
compat/defaultsDeepto ignore__proto__keys, preventing prototype pollution.
Release by release
- New
Added support for per-function imports like
es-toolkit/array/chunk. (#2173) - Fixed
Fixed
reduceAsyncto preserve explicitly providednullandundefinedinitial values. (#2176) - Fixed
Fixed circular dependency warnings in bundlers when importing
orderByorsortBy. (#2187) - Fixed
Fixed
truncateines-toolkit/compatto preserve separator boundaries, matching Lodash's behavior. (#2180) - Fixed
Fixed
isErrorines-toolkit/compatto returntrueforDOMExceptionand error-like objects, matching Lodash's behavior. (#2188) - Fixed
Fixed incorrect example outputs in the documentation for
random,keysIn,setWith, andcurryRight. (#2183)
- New
- Security
This release includes security fixes for
es-toolkit/compat, and we recommend upgrading. - Security
Fixed
compat/templateto rejectvariablevalues andimportskeys that are not plain parameter names, and to replace all whitespace insourceURL, preventing code injection. - Security
Fixed
compat/defaultsDeepto ignore__proto__keys, preventing prototype pollution. - Fixed
Fixed
compat/unset,compat/omit, andcompat/pullAtto stop when__proto__,constructor, orprototypeappears before the last path key, preventing the deletion of built-in prototype properties.
- Security
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.