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.
- Fixed
compat/templateto rejectvariablevalues andimportskeys that are not plain parameter names, and to replace all whitespace insourceURL, preventing code injection. - 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!