es-toolkit
1.53.2 · 6 Nov 2026MIT91.3M / weekRepositoryHomepagenpmAtom feed
90 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 1.x · latest line
1.25.1
14 Oct 2024Resolved an issue in cloneDeep that incorrectly copied properties from the
targetwhen they were read-only.
Released on October 15th, 2024.
Resolved an issue in cloneDeep that incorrectly copied properties from the
targetwhen they were read-only.Updated every, filter, find, findIndex, findLastIndex, indexOf, and join to now accept array-like objects and a
fromIndexparameter, making them compatible with lodash.
This version includes contributions from @D-Sketon. Thank you for your valuable contributions!
1.25.0
14 Oct 2024Added support for isFile.
Enhanced performance for at and isPlainObject.
Released on October 14th, 2024.
Added support for isFile.
Added compatibility functions for escape, toSafeInteger, intersection, sample, chunk, compact, head, initial, last, tail, take, takeRight, uniq, and without.
Enhanced performance for at and isPlainObject.
Resolved an issue in cloneDeep that prevented it from cloning symbol properties and read-only properties of objects.
Fixed a problem in pick within our compatibility library that incorrectly added
undefinedfor keys that do not exist.
This version includes contributions from @D-Sketon, @mass2527, @dayongkr, @lukaszkowalik2, @Gyumong, @Dohun-choi, @belgattitude, and @chhw130. Thank you for your valuable contributions!
1.24.0
7 Oct 2024Added compatibility functions for invertBy, times, constant, slice, toLength, defaultTo, dropRightWhile, curryRight, rangeRight, before, eq, defaults, toDefaulted, isArrayBuffer, isSet, and isMap.
Enhanced difference to work with Array-like objects, aligning its functionality with lodash's behavior.
Released on October 7th, 2024.
Added compatibility functions for invertBy, times, constant, slice, toLength, defaultTo, dropRightWhile, curryRight, rangeRight, before, eq, defaults, toDefaulted, isArrayBuffer, isSet, and isMap.
Enhanced difference to work with Array-like objects, aligning its functionality with lodash's behavior.
1.23.0
1 Oct 2024Added support for isEqualWith, isArrayBuffer, curryRight, isJSONValue, isJSONObject, isJSONArray.
Fixed a bug in merge that copied the reference from the
sourceobject to thetargetobject.Fixed a bug in includes that returned
truefor inherited properties.
Released on October 1st, 2024.
Added support for isEqualWith, isArrayBuffer, curryRight, isJSONValue, isJSONObject, isJSONArray.
Fixed a bug in merge that copied the reference from the
sourceobject to thetargetobject.Fixed a bug in includes that returned
truefor inherited properties.Fixed a bug in startCase and other string methods that did not correctly split the words when using accented letters.
Fixed a bug in filter that did not provide correct arguments to the predicate function.
Fixed a bug in isMatch that did not strictly compare primitive falsy values.
This version includes contributions from @D-Sketon, @wojtekmaj, @mass2527, @chhw130, and @knott11. Thank you for your valuable contributions!
1.22.0
28 Sep 2024Fixed a bug in throttle that prevented it from throttling after the initial
throttleMs.
Released on September 28th, 2024.
Added compatibility functions for filter, includes, every, flip, and dropWhile.
Fixed a bug in throttle that prevented it from throttling after the initial
throttleMs.Fixed a bug in cloneDeep that caused it to not clone the offset and length of
DataView.Fixed a bug in clone that threw an error if
SharedArrayBufferis unavailable.
This version includes contributions from @dayongkr, @k-jeonghee, @D-Sketon, @iDevGon, @mass2527, @wojtekmaj, @jonganebski, @hyesungoh, and @chhw130. Thank you for your valuable contributions!
1.21.0
25 Sep 2024Added support for constantCase and isError.
Released on September 25th, 2024.
Added support for constantCase and isError.
Added compatibility functions for pad, padStart, padEnd, defer, isFinite, toNumber, toFinite, and toInteger.
Improved performance for flatten, isNumber, isString, isSymbol, isRegExp, and isBoolean.
Fixed compact to correctly exclude
0nas a falsey value.Fixed pick to not pick nonexistent keys from the original object.
Fixed omit to accept readonly arrays.
This version includes contributions from @hyesungoh, @D-Sketon, @mass2527, @gweesin, @VVSOGI, @coding-honey, @seonghun0828, and @jsparkdev. Thank you for your valuable contributions!
1.20.0
18 Sep 20241.19.0
14 Sep 2024Enhanced clone to handle
Buffers,SharedArrayBuffers,Files,Blobs,TypedArrays, andErrors.
Released on September 14th, 2024.
Added compatibility functions for pick, omit, unset, toPath, trim, trimStart, trimEnd, isInteger, isSafeInteger, snakeCase, startCase, lowerCase, kebabCase, ceil, floor, round.
Enhanced clone to handle
Buffers,SharedArrayBuffers,Files,Blobs,TypedArrays, andErrors.Fixed a bug where mergeWith did not preserve the original properties of the
targetobject.Fixed a bug where groupBy couldn't group with keys like
toStringandindexOf.
1.18.0
12 Sep 2024Added support for isObject, findLastIndex, parseInt, rearg, conforms, conformsTo, bindKey, some, fromPairs, isArrayLikeObject, escapeRegExp, sortBy, isWeakSet, isWeakMap, flatMapDeep, escape, unescape, repeat, pad, join, and spread.
Improved performance for deburr.
Released on September 12th, 2024.
Added support for isObject, findLastIndex, parseInt, rearg, conforms, conformsTo, bindKey, some, fromPairs, isArrayLikeObject, escapeRegExp, sortBy, isWeakSet, isWeakMap, flatMapDeep, escape, unescape, repeat, pad, join, and spread.
Improved performance for deburr.
1.17.0
31 Aug 2024Added support for new functions: at, pullAt, deburr, lowerFirst, upperFirst, and isRegExp.
countBy now supports numeric and symbol keys.
Released on August 31st, 2024.
New Features
Added support for new functions: at, pullAt, deburr, lowerFirst, upperFirst, and isRegExp.
countBy now supports numeric and symbol keys.
Bug Fixes
1.14.0
9 Aug 2024(
es-toolkit) Added support for mapKeys, mapValues, cloneDeep, before, after, isSubset, ary, unary, flattenDeep, isEqual, isFunction, isBoolean, isPrimitive, and isTypedArray.(
es-toolkit/compat) Added support for matches, isMatch, isArray, isArrayLike, isObjectLike, isArguments, size, bind, flattenDepth, and padStart.
Released on August 9th, 2024.
(
es-toolkit) Added support for mapKeys, mapValues, cloneDeep, before, after, isSubset, ary, unary, flattenDeep, isEqual, isFunction, isBoolean, isPrimitive, and isTypedArray.(
es-toolkit/compat) Added support for matches, isMatch, isArray, isArrayLike, isObjectLike, isArguments, size, bind, flattenDepth, and padStart.Added compatibility tests with lodash for many functions like initial, last, takeRight, without, uniq, invert, isNull, isUndefined, and isNil.
1.13.1
20 Jul 2024Use the compatibility layer
es-toolkit/compatin legacy CDN builds.
Released on July 20th, 2024.
Use the compatibility layer
es-toolkit/compatin legacy CDN builds.
1.13.0
20 Jul 2024Added support for flattenObject, isPlainObject, isLength. (3e60443, 3764993, #245)
Added support for concat in our compatibility layer
es-toolkit/compat.Ensured compatibility with difference and take
Released on July 20th, 2024.
es-toolkitcan now be used in various CDNs, like unpkg and jsdelivr. See more in our installation docsFeatures
Added support for flattenObject, isPlainObject, isLength. (3e60443, 3764993, #245)
Added support for concat in our compatibility layer
es-toolkit/compat.
Lodash Compatibility
Ensured compatibility with difference and take
1.12.0
18 Jul 2024Fixed a bug where
es-toolkit/compatwas not available in modern Node.js environments.
1.11.0
18 Jul 2024Added support for zipObjectDeep in our compatibility layer
es-toolkit/compat. (#150)
Released on July 18th, 2024.
Introducing
es-toolkit/compatWe're introducing
es-toolkit/compat, a new module designed as a drop-in replacement for lodash. It replicates lodash's API, making it easier to switch between the two libraries.es-toolkit/compatis undergoing rigorous testing using reallodashtest cases. Initial benchmarks suggest it's typically 5% slower and increases bundle size by 10% compared to the originales-toolkit.This module is intended to facilitate a smooth transition and should be replaced with the original
es-toolkitfor optimal performance once migration is complete.For more information, see our compatibility documentation.
Features
Added support for get and set in our compatibility layer
es-toolkit/compat. (#232, #223)Added support for zipObjectDeep in our compatibility layer
es-toolkit/compat. (#150)Added support for startCase, startsWith, and endsWith. (#224).
Added support for withTimeout. (#210)
Bug fixes
Fixed
dropanddropRightincorrectly accepting negative integers. (#218)Fixed
invertnot to invert inherited properties. (#221)
Performance Improvements
Improved performance for
dropRightWhile. (#220)
1.9.0
10 Jul 20241.7.1
3 Jul 2024Add support for forEachRight. (#119)
Released on July 3rd, 2024.
1.7.0
3 Jul 2024Add support for forEachRight. (#119)
Released on July 3rd, 2024.
1.5.0
28 Jun 2024Released on June 28th, 2024.
Features
Bug fixes
1.4.0
15 Jun 20241.3.0
14 Jun 20241.2.2
13 Jun 20241.2.0
8 Jun 20241.0.2
31 May 2024Re-released version 1.0.0 due to a previous deployment by someone else that was later deleted on NPM.
Released on May 31th, 2024.
Re-released version 1.0.0 due to a previous deployment by someone else that was later deleted on NPM.
1.0.1
10 May 2023Re-released version 1.0.0 due to a previous deployment by someone else that was later deleted on NPM.
Released on May 31th, 2024.
Re-released version 1.0.0 due to a previous deployment by someone else that was later deleted on NPM.
1.0.0
10 Sep 2019Initial release. Released on May 31th, 2024.
- 0.0.x
0.0.1
23 May 2024
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.