es-toolkit breaking changes
Updated December 4, 2026
On this page
Latest version 1.53.2, released November 6, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
es-toolkit 1.53.1 breaking changes
- Behavior changed
compat.defaultsDeep
For security against prototype pollution, compat/defaultsDeep ignores __proto__ keys, which may change results for code that relied on them. github.com - Behavior changed
compat.omit
For security, compat/omit now stops when __proto__, constructor, or prototype appears before the last path key instead of touching built-in prototype properties. github.com - Behavior changed
compat.pullAt
For security, compat/pullAt now stops when __proto__, constructor, or prototype appears before the last path key instead of deleting built-in prototype properties. github.com - Behavior changed
compat.template
For security, compat/template rejects variable values and imports keys that are not plain parameter names, and replaces all whitespace in sourceURL. Code relying on the old looser behavior may now throw or produce different output. github.com - Behavior changed
compat.unset
For security, compat/unset now stops when __proto__, constructor, or prototype appears before the last path key instead of deleting built-in prototype properties. github.com
es-toolkit 1.53.0 breaking changes
- Behavior changed
compat.add
compat add matches Lodash on null operands in es-toolkit 1.53.0 github.com - Behavior changed
compat.ceil
compat ceil coerces arguments like Lodash in es-toolkit 1.53.0 github.com - Behavior changed
compat.cloneDeep
compat cloneDeep keeps errors uncloned in es-toolkit 1.53.0 github.com - Behavior changed
compat.cloneDeepWith
compat cloneDeepWith keeps errors uncloned in es-toolkit 1.53.0 github.com - Behavior changed
compat.countBy
compat countBy returns a plain object in es-toolkit 1.53.0 github.com - Behavior changed
compat.deburr
compat deburr only deburrs Latin letters in es-toolkit 1.53.0 github.com - Behavior changed
compat.divide
compat divide matches Lodash on null operands in es-toolkit 1.53.0 github.com - Behavior changed
compat.dropRightWhile
compat dropRightWhile normalizes the predicate in es-toolkit 1.53.0 github.com - Behavior changed
compat.dropWhile
compat dropWhile normalizes the predicate in es-toolkit 1.53.0 github.com - Behavior changed
compat.floor
compat floor coerces arguments like Lodash in es-toolkit 1.53.0 github.com
And 40 more in this version. Sign up to see every change
es-toolkit 1.52.0 breaking changes
- Behavior changed
compat.debounce
With both leading and trailing set to false, the maxWait invocation is now skipped, so results may differ from before. github.com - Behavior changed
compat.differenceWith
-0 values are now normalized to 0, so results may differ from before. github.com - Behavior changed
compat.findLastIndex
fromIndex is now converted to an integer, so non-integer inputs may give different results. github.com - Behavior changed
compat.has
A -0 path key is now normalized, so lookups may return different results than before. github.com - Behavior changed
compat.hasIn
A -0 path key is now normalized, so lookups may return different results than before. github.com - Behavior changed
compat.mergeWith
null values in array sources are now assigned, so merged results may differ from before. github.com - Behavior changed
compat.toString
Objects with a custom valueOf are now converted through it, so output may differ from before. github.com - Behavior changed
compat.without
-0 values are now normalized to 0, so results may differ from before. github.com - Behavior changed
compat.xorWith
Calls without a comparator now follow Lodash behavior, so results may differ from before. github.com - Signature changed
attempt
Was function attempt<T, E>(func: () => T): [null, T] | [E, null]; now function attempt<T, E = unknown>(func: () => T): [null, T] | [E, null]. npmjs.com
And 4 more in this version. Sign up to see every change
es-toolkit 1.51.0 breaking changes
- Removed
limitAsync
limitAsync is no longer exported from the array category. Import it from the promise category instead. github.com - Behavior changed
compat.difference
Negative zero in results is now returned as 0, which may change equality checks on results. github.com - Behavior changed
compat.differenceBy
Negative zero in results is now returned as 0, which may change equality checks on results. github.com - Behavior changed
compat.isMatch
Object source patterns against primitive and non-plain-object targets now follow Lodash, which may change results. github.com - Behavior changed
compat.isMatchWith
Object source patterns against primitive and non-plain-object targets now follow Lodash, which may change results. github.com - Behavior changed
compat.iteratee
Passing a boolean now selects a property shorthand, so results from boolean inputs change. github.com - Behavior changed
compat.maxBy
Nullish iteratee values are now skipped, which may change the maximum returned. github.com - Behavior changed
compat.meanBy
undefined values are no longer included in the average, which changes results. github.com - Behavior changed
compat.minBy
Nullish iteratee values are now skipped, which may change the minimum returned. github.com - Behavior changed
compat.omit
A key array is now read as a single deep path, which changes which properties are omitted. github.com
And 21 more in this version. Sign up to see every change
es-toolkit 1.50.0 breaking changes
- Behavior changed
compat.every
A falsy, non-nullish doesMatch is now treated as a _.property shorthand instead of identity. Code relying on the old behavior may get different results. github.com - Behavior changed
compat.findIndex
A NaN fromIndex is treated as 0 and fromIndex is converted to an integer. Code passing such values may get different results. github.com - Behavior changed
compat.findLastIndex
A NaN fromIndex is treated as 0 and fromIndex is converted to an integer. Code passing such values may get different results. github.com - Behavior changed
compat.includes
The length property is now excluded when matching array-like values, so some previously true results become false. github.com - Behavior changed
compat.intersectionBy
intersectionBy with one array, including by the iteratee, now returns deduplicated results like Lodash. Code relying on the previous output may see different results. github.com - Behavior changed
compat.lastIndexOf
fromIndex is coerced the way Lodash does it, so results for unusual fromIndex values may differ. github.com - Behavior changed
compat.maxBy
The comparison now follows Lodash, so the selected maximum may differ from before. github.com - Behavior changed
compat.minBy
The comparison now follows Lodash, so the selected minimum may differ from before. github.com - Behavior changed
compat.unset
An own key containing a literal dot is now removed as a key rather than as a nested path. github.com - Behavior changed
compat.values
Sparse array holes now produce undefined values instead of being skipped, so output may differ. github.com
And 8 more in this version. Sign up to see every change
es-toolkit 1.49.0 breaking changes
- Behavior changed
compat.chunk
compat/chunk now treats NaN and Infinity size values consistently with Lodash, which can change results for those inputs. github.com - Behavior changed
compat.pick
When the picked value is undefined, compat/pick now prefers a literal key over a dot-notation path. Check code that relies on the old path lookup. github.com - Behavior changed
compat.random
Coerced bounds and floating-point options in compat/random now behave more like Lodash, which can change returned values. github.com - Signature changed
compat:drop
Was function drop<T>(array: ArrayLike<T> | null | undefined, n?: number): T[]; now function drop<T>(array: ArrayLike<T> | null | undefined, itemsCount?: number): T[]. npmjs.com - Signature changed
compat:dropWhile
Was function dropWhile<T>(arr: ArrayLike<T> | null | undefined, predicate?: ListIteratee<T>): T[]; now function dropWhile<T>(array: ArrayLike<T> | null | undefined, predicate?: ListIteratee<T>): T[]. npmjs.com - Signature changed
take
Was function take<T>(arr: readonly T[], count?: number, guard?: unknown): T[]; now function take<T>(arr: readonly T[], count: number): T[]. npmjs.com - Signature changed
takeRight
Was function takeRight<T>(arr: readonly T[], count?: number, guard?: unknown): T[]; now function takeRight<T>(arr: readonly T[], count: number): T[]. npmjs.com
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
es-toolkit 1.48.0 breaking changes
- Behavior changed
compat.difference
Sparse array holes are now compared as undefined. Results for arrays with holes may differ from before. github.com - Behavior changed
compat.isMatchWith
Nested primitive matching now follows lodash, so some matches may now succeed or fail differently than before. github.com
And 6 more in this version.
es-toolkit 1.47.1 breaking changes
- Behavior changed
compat.ceil
Infinite inputs with precision now return Infinity instead of the previous result. github.com - Behavior changed
compat.floor
Infinite inputs with precision now return Infinity instead of the previous result. github.com
And 12 more in this version.
es-toolkit 1.47.0 breaking changes
- Behavior changed
compat.omitBy
Plain objects that have a numeric length property are now processed as objects, so omitBy may return different results for them. github.com - Behavior changed
uniqWith
The compat uniqWith comparator receives its arguments in lodash's order now. Code whose comparator depended on the old argument order must be updated. github.com
es-toolkit 1.46.0 breaking changes
- Behavior changed
AbortError
AbortError now extends DOMException. Code that depends on its previous base class or prototype chain may behave differently. github.com - Behavior changed
TimeoutError
TimeoutError now extends DOMException. Code that depends on its previous base class or prototype chain may behave differently. github.com
And 2 more in this version.
es-toolkit 1.45.1 breaking changes
- Signature changed
sample
The return type of sample was narrowed back to exclude undefined, which reverses the 1.45.0 type. Code that relied on the 1.45.0 type may need its undefined handling adjusted. npmjs.com
es-toolkit 1.45.0 breaking changes
- Signature changed
omit
The overload for runtime-determined key arrays in omit was reverted, so code relying on that overload may no longer type-check. Pass keys in a form the remaining overloads accept. npmjs.com - Signature changed
sample
The return type of sample now includes undefined in its union, so callers that assume a non-undefined result may need to handle undefined. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.