es-toolkit
1.53.2 · 6 Nov 2026MIT91.3M / weekRepositoryHomepagenpmAtom feed
1.53.2 is the newest release of 1.x.
Summary· from the note as AI read it
Security fixUpgrade: this release fixes a security issue.
Security
- Upgrade; template now rejects non-identifier variable and imports keys.
- Upgrade to fix prototype pollution in compat/defaultsDeep.
- Upgrade to prevent deletion of built-in prototype properties.
In short
3 security5 fixed
- 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. - Security
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.
Release note
Released on October 31st, 2026.
This release includes security fixes for es-toolkit/compat, and we recommend upgrading. The fixes match Lodash, so results may differ if you relied on the previous behavior.
- 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
compat/unset,compat/omit, andcompat/pullAtto stop when__proto__,constructor, orprototypeappears before the last path key, preventing the deletion of built-in prototype properties.
The following are other fixes in this release.
Fixed
cloneto preserve the offset and length of aDataView. ([#2166])Fixed
splitto keep surrogate pairs and combining marks together for an empty separator. ([#2171])Fixed
withTimeoutto clear its timer after the operation completes. ([#2170])Fixed
compat/pickByto not treat objects with a numeric length as array-like. ([#2165])Fixed
compat/findLastandcompat/someto not treatlengthas an element of array-likes. ([#2168])
We sincerely thank @arba-octo, @dayongkr, @frogscooper, and @KooYS for their contributions. We appreciate your great efforts!
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.