es-toolkit
1.53.2 · 6 Nov 2026MIT91.3M / weekRepositoryHomepagenpmAtom feed
1.53.2 is the newest release of 1.x.
In short
11 fixed1 changed
Release note
Released on June 12th, 2026.
Fixed
maxByandminByto propagateNaN, matchingMath.max/Math.minbehavior. ([#1749])Fixed
orderByandsortByto placenullandundefinedvalues last when sorting. ([#1681])Fixed
isNumberto no longer treat boxedNumberobjects as numbers. ([#1726])Fixed
reduceandreduceRightto respect explicitly passed nullish accumulators. ([#1742])Fixed
isEmptyto handle functions with own enumerable properties. ([#1645])Fixed the
globalThispolyfill to avoidFunction(...), supporting CSP environments withoutunsafe-eval.Fixed ESM resolution for
./compat/*subpaths in package exports. ([#1757])Fixed
compat/sizeto count array-like objects by theirlength. ([#1766])Fixed
compat/round,compat/ceil, andcompat/floorto returnInfinityfor infinite values with precision. ([#1764])Fixed
compat/randomto coerce the upper bound for non-numbermax. ([#1751])Fixed
compat/toLengthto coerce non-numeric values to 0. ([#1758])Removed unused generic type parameters from
pull. ([#1746])
We sincerely thank @Amund211, @Antoliny0919, @chatman-media, @D-Sketon, @dayongkr, @JetProc, @parkhojeong, @pbk95120, @raon0211, @sarathfrancis90, @shaked-shlomo, and @sukvvon 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.