es-toolkit
1.53.2 · 6 Nov 2026MIT91.3M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgrade- 1.x1.53.2No known advisoryLatest line
- 0.x0.0.1No known advisoryTo 1.53.2
Latest releases
All 90 releases1.53.2
6 Nov 2026Added support for per-function imports like
es-toolkit/array/chunk. (#2173)Fixed
reduceAsyncto preserve explicitly providednullandundefinedinitial values. (#2176)Fixed circular dependency warnings in bundlers when importing
orderByorsortBy. (#2187)
Released on November 6th, 2026.
Added support for per-function imports like
es-toolkit/array/chunk. (#2173)Fixed
reduceAsyncto preserve explicitly providednullandundefinedinitial values. (#2176)Fixed circular dependency warnings in bundlers when importing
orderByorsortBy. (#2187)Fixed
truncateines-toolkit/compatto preserve separator boundaries, matching Lodash's behavior. (#2180)Fixed
isErrorines-toolkit/compatto returntrueforDOMExceptionand error-like objects, matching Lodash's behavior. (#2188)Fixed incorrect example outputs in the documentation for
random,keysIn,setWith, andcurryRight. (#2183)Replaced Prettier and ESLint with oxfmt and oxlint, and forbade circular imports. (#2185, #2189, #2190)
Enhanced the dist and browser compatibility checks to verify the packed tarball and only exported functions. (#2182, #2192)
We sincerely thank @D-Sketon, @frogscooper, @MycroCosmo, @raon0211, @subotac, and @ys0v9 for their contributions. We appreciate your great efforts!
1.53.1
30 Oct 2026Summary· from the note as AI read it
Upgrade: this release fixes a security issue.
- 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.
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!
1.53.0
24 Oct 2026Summary· from the note as AI read it
Read before upgrading: 6 changes to make.
Released on October 24th, 2026.
Added
serializetoes-toolkit/util, andhashin the newes-toolkit/util/hashentrypoint. ([#2067], [#2154])Added
Queuetoes-toolkit/util. ([#2150], [#2153])Added
stringifytoes-toolkit/query-string. ([#2121])Added
sentenceCase. ([#2079])Added
lerpandinverseLerp. ([#2078])Added the
DistributiveOmittype. ([#2142])es-toolkit/compatnow runs on Node.js 6 and ES2015 environments without transpilation or polyfills. ([#2097], [#2161])Fixed
deepFreezeto freeze symbol and non-enumerable properties. ([#2143])Fixed
Semaphoreto keepreleasefast when many tasks are waiting. ([#2149])Fixed
DeepPartialandDeepReadonlyto preserve branded primitive types. ([#2074])Fixed the
Mergetype to keep the input type when merging a type with itself or a narrower type, and to use the source type when a defined source replaces a nullable or primitive value. ([#2148], [#2155])Fixed the
fpintersectionByto match each mapped value at most once in lazy pipes. ([#2146])
The following change results or types that v1.52.0 produced, so review them if you relied on the previous behavior.
dedentnow leaves interpolated values out of the indentation calculation ([#2099]), and throws aTypeErrorfor a malformed template literal, likeString.dedent([#2100]).deburrnow keeps letters of non-Latin scripts as they are. ([#2124])orderByandsortBynow sortNaNin a consistent position. ([#2133])oncenow calls the function with the caller'sthis. ([#2069])findKeyandmapKeysnow type keys likeObject.keys, so numeric keys are strings. ([#2077], [#2156])The
fphead,last,maxBy, andminBynow always returnT | undefined. ([#2113])
The following bring
es-toolkit/compatcloser to Lodash. Behavior for the affected edge cases now matches Lodash, so results may differ if you relied on the previous output.Fixed
compat/add,compat/subtract,compat/multiply, andcompat/divideto match Lodash onnulloperands. ([#2056])Fixed
compat/ceil,compat/floor, andcompat/roundto coerce arguments like Lodash. ([#2064])Fixed
compat/toStringto read sparse array holes asundefined. ([#2091])Fixed
compat/dropWhile,compat/dropRightWhile, andcompat/someto normalize the predicate. ([#2072])Fixed
compat/countByto return a plain object. ([#2090])Fixed
compat/pull,compat/pullAll,compat/pullAllBy, andcompat/removeto handle nullish inputs. ([#2095])Fixed
compat/xorByandcompat/xorWithto ignore the iteratee and comparator for a single array. ([#2098])Fixed
compat/reduceandcompat/reduceRightto resolve the iteratee like Lodash, andcompat/forEach,compat/forEachRight,compat/forIn,compat/forInRight,compat/forOwn, andcompat/forOwnRightto treat a non-function iteratee asidentity. ([#2101], [#2158])Fixed
compat/wordsto match titlecase letters, emoji sequences, and non-ASCII numerals and symbols, and to keep combining marks attached to their letter. ([#2102], [#2103], [#2110])Fixed
compat/unionWithto pass comparator arguments in Lodash's order. ([#2114])Fixed
compat/groupBy,compat/maxBy, andcompat/minByto call the iteratee with only the element. ([#2122])Fixed
compat/deburrto only deburr Latin letters. ([#2123])Fixed
compat/truncateto escape a stringseparator. ([#2130])Fixed
compat/cloneDeepandcompat/cloneDeepWithto keep errors uncloned, andcompat/isMatchandcompat/matchesto compare errors like Lodash. ([#2159])Fixed
compat/startCaseto only uppercase the first letter of each word. ([#2160])Exported the
PropertyPathtype fromes-toolkit/compat. ([#2145])Reduced the CommonJS bundle size of
compat/everyandcompat/findLastIndex. ([#2162])Fixed documentation examples whose results did not match the code. ([#2071], [#2109], [#2132], [#2136], [#2138])
Listed the iterator docs under the es-toolkit and fp tabs. ([#2137])
Clarified which compat behavior fixes the contributing guide accepts. ([#2107], [#2108], [#2125])
We sincerely thank @arba-octo, @Archibald1948, @cyclomati, @D-Sketon, @dayongkr, @HyoYoonNam, @jaideeppyne, @jeonghoon11, @jeynes-log, @JonghwanWon, @mariazuheros, @MFA-G, @minseonkkim, @minsoo-web, @Patrick-SCH03, @poketopa, @raon0211, @ssi02014, @TalhaHunter101, and @Tnalxmsk for their contributions. We appreciate your great efforts!
Dependency tracking
Know when your own dependencies move
es-toolkit published 17 releases in the last 12 months. inlinr folds the routine ones into a line and keeps the few that need you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 22 Nov 2026. Releases and advisories last read 22 Nov 2026.
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.