Repository navigation
chore(deps): update dependency es-toolkit to v1.53.1 - #514
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/es-toolkit-1.x-lockfile
branch
2 times, most recently
from
August 12, 2026 03:21
c0b0d1c to
0803d19
Compare
sharevb
force-pushed
the
chore/all-my-stuffs
branch
2 times, most recently
from
September 6, 2026 07:59
cc0812b to
62ab0bf
Compare
sharevb
force-pushed
the
chore/all-my-stuffs
branch
2 times, most recently
from
September 27, 2026 20:37
3ae31a6 to
90b7793
Compare
renovate
Bot
force-pushed
the
renovate/es-toolkit-1.x-lockfile
branch
from
October 3, 2026 23:12
0803d19 to
666b2c3
Compare
renovate
Bot
force-pushed
the
renovate/es-toolkit-1.x-lockfile
branch
3 times, most recently
from
October 24, 2026 16:56
4b2fcec to
535a9fa
Compare
renovate
Bot
force-pushed
the
renovate/es-toolkit-1.x-lockfile
branch
from
October 26, 2026 23:34
535a9fa to
2ea4459
Compare
renovate
Bot
force-pushed
the
renovate/es-toolkit-1.x-lockfile
branch
from
October 30, 2026 18:55
2ea4459 to
3971283
Compare
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.49.0→1.53.1Release Notes
toss/es-toolkit (es-toolkit)
v1.53.1Compare Source
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.
compat/templateto rejectvariablevalues andimportskeys that are notplain parameter names, and to replace all whitespace in
sourceURL, preventing code injection.compat/defaultsDeepto ignore__proto__keys, preventing prototype pollution.compat/unset,compat/omit, andcompat/pullAtto stop when__proto__,constructor, orprototypeappears before the last path key, preventing the deletionof built-in prototype properties.
The following are other fixes in this release.
cloneto preserve the offset and length of aDataView. ([#2166])splitto keep surrogate pairs and combining marks together for an empty separator. ([#2171])withTimeoutto clear its timer after the operation completes. ([#2170])compat/pickByto not treat objects with a numeric length as array-like. ([#2165])compat/findLastandcompat/someto not treatlengthas an element ofarray-likes. ([#2168])
We sincerely thank @arba-octo, @dayongkr, @frogscooper, and @KooYS for their contributions.
We appreciate your great efforts!
v1.53.0Compare Source
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 withouttranspilation 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 anarrower 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 lazypipes. ([#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 a
TypeErrorfor 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 arestrings. ([#2077], [#2156])
fphead,last,maxBy, andminBynow always returnT | undefined.([#2113])
The following bring
es-toolkit/compatcloser to Lodash. Behavior for the affectededge cases now matches Lodash, so results may differ if you relied on the previous output.
Fixed
compat/add,compat/subtract,compat/multiply, andcompat/dividetomatch Lodash on
nulloperands. ([#2056])Fixed
compat/ceil,compat/floor, andcompat/roundto coerce arguments likeLodash. ([#2064])
Fixed
compat/toStringto read sparse array holes asundefined. ([#2091])Fixed
compat/dropWhile,compat/dropRightWhile, andcompat/someto normalizethe predicate. ([#2072])
Fixed
compat/countByto return a plain object. ([#2090])Fixed
compat/pull,compat/pullAll,compat/pullAllBy, andcompat/removetohandle nullish inputs. ([#2095])
Fixed
compat/xorByandcompat/xorWithto ignore the iteratee and comparator fora single array. ([#2098])
Fixed
compat/reduceandcompat/reduceRightto resolve the iteratee like Lodash,and
compat/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-ASCIInumerals 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 iterateewith 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!
v1.52.0Compare Source
Released on August 28th, 2026.
Added the
es-toolkit/iteratorentrypoint, a lazy iterator module withchunk,count,dropWhile,head,iterate,partition,range,scan,takeWhile,uniqBy, andzip([#1815]), pluscartesianProduct([#2031]).The same functions are also available from
es-toolkit/fp/iterator.Added
deferanddeferAsynctoes-toolkit/util. ([#2032])Added
flowAsynctoes-toolkit/fp, a promise-aware left-to-right composition. ([#2033])Added the
EmptyObject,IsEqual,JSONValue,Primitive,SetOptional,SetRequired, andUnknownRecordtypes. ([#2044])Fixed
mergeto infer the deep merged return type, and exported theMergetype. ([#1959])Fixed
omitByandpickByto type numeric callback keys as strings, andexported the
ObjectKeystype. ([#2037])Fixed
attemptandattemptAsyncto default their error type parameter tounknown. ([#2052])The following bring
es-toolkit/compatcloser to Lodash. Behavior for the affectededge cases now matches Lodash, so results may differ if you relied on the previous output.
Fixed
compat/debounceto skip themaxWaitinvocation when bothleadingandtrailingarefalse. ([#1678])Fixed
compat/toStringto convert objects with a customvalueOf. ([#2034])Fixed
compat/mergeWithto assignnullvalues in array sources. ([#1929])Fixed
compat/hasandcompat/hasInto normalize the-0path key. ([#2035])Fixed
compat/differenceWithandcompat/withoutto normalize-0to0. ([#2049])Fixed
compat/findLastIndexto convertfromIndexto an integer. ([#2047])Fixed
compat/xorWithto match Lodash when no comparator is given. ([#2057])Covered the new iterator entrypoints in the dist and browser compatibility
checks. ([#2030])
Made the agent skills portable when installed on their own. ([#2054])
Fixed documentation typos and the Deno install commands. ([#2062])
v1.51.0Compare Source
Released on August 17th, 2026.
Added the
es-toolkit/bigintentrypoint:bigintcounterparts of the mathfunctions (
sum,sumBy,max,min,maxBy,minBy,clamp,inRange,median,medianBy,percentile,range,rangeRight), kept separate sothe
numberimplementations stay unchanged. ([#1966])Added
dedent, which removes common leading whitespace from template strings. ([#1679])Added
deepFreezefor recursively freezing objects. ([#1680])Added
mapValuesAsyncandmapKeysAsync. ([#1544])Added
toPascalCaseKeys,toKebabCaseKeys, andtoConstantCaseKeys,completing the object key casing family. ([#1984])
Exported the
ToCamelCaseKeys,ToPascalCaseKeys,ToSnakeCaseKeys,ToKebabCaseKeys, andToConstantCaseKeystypes. ([#1651])Added a
preserveArraysoption toflattenObject. ([#974])Fixed
retryto pass the last error to thedelaycallback ([#1759]) and tothrow the last attempt's error without applying a final delay ([#1901]).
Fixed
mergeWithandtoMergedto handle mixed array/object typesconsistently with
merge. ([#2026])Fixed
pullAtto remove the correct elements with negative indices. ([#1613])Fixed
at,pullAt,orderBy, andsortByto accept readonly arrays. ([#2016])Moved
limitAsyncfrom the array to the promise category. ([#2022])Included the NOTICE file in the published npm and JSR packages. ([#2020])
The following bring
es-toolkit/compatcloser to Lodash. Behavior for the affectededge cases now matches Lodash, so results may differ if you relied on the previous output.
Added
entriesandentriesIn. ([#1874])Fixed
compat/isMatchandcompat/isMatchWithto handle object sourcepatterns against primitive and non-plain-object targets like Lodash. ([#1432])
Fixed
compat/setto blockconstructor.prototypepaths, preventingprototype pollution. ([#1904])
Fixed
compat/findto respect array-likelength([#1958]) and to convertfromIndexto an integer ([#1961]), andcompat/indexOfto convertfromIndexto an integer when searching forNaN([#1951]).Fixed
compat/orderByto resolve unresolved deep paths and nullish elementsto
undefined([#2010]), to exclude thelengthproperty from array-likevalues ([#2002]), and to read the criterion property from primitive values ([#1903]).
Fixed
compat/toPathto split unquoted dotted keys inside brackets. ([#1899])Fixed
compat/omitto treat a key array as a single deep path. ([#1902])Fixed
compat/mapto make the iteratee optional with an identity default. ([#1928])Fixed
compat/sizeto count combined Unicode symbols as single characters. ([#1900])Fixed
compat/intersectionByto support number, object, and nullish iterateeshorthands ([#1993]), and
compat/intersectionWithto apply the comparatorwhen deduplicating the first array ([#1953]).
Fixed
compat/difference,compat/differenceBy,compat/uniqBy, andcompat/unionByto normalize-0to0. ([#2007])Fixed
compat/maxByandcompat/minByto skip nullish iteratee values ([#1927]),and
compat/meanByto skipundefinedvalues when averaging ([#1978]).Fixed
compat/some,compat/template([#2009]), andcompat/fill([#1952])to gate guard handling with
isIterateeCall.Fixed
compat/iterateeto treat a boolean as a property shorthand. ([#1941])Fixed
compat/reverseto support array-like objects andarguments. ([#2008])Fixed
compat/toArrayto convert non-array-like iterables. ([#1999])Fixed
compat/toStringto render nested nullish values like Lodash. ([#1992])Fixed
compat/zipObjectto treatnullkeys and values as empty arrays. ([#2005])Fixed
compat/sampleSizeto clamp the default size to the collection length. ([#2003])Fixed
compat/takeWhile,compat/takeRightWhile, andcompat/uniqBytosupport string inputs. ([#2004])
Fixed
compat/chunkto return an empty array for an empty collection with anInfinitysize. ([#1995])Fixed
compat/lastIndexOfto read holes in sparse arrays asundefined. ([#1977])Fixed
compat/lastto returnundefinedfor empty array-like inputs. ([#1954])Fixed
compat/pullAllto return the array as-is whenvaluesis nullish. ([#1962])Added a browser compatibility test suite. ([#2012])
Improved documentation, JSDoc accuracy, tests, and internal refactoring across
compatand the docs site. ([#1622], [#1789], [#1824], [#1844], [#1849],[#1854], [#1855], [#1859], [#1860], [#1868], [#1871], [#1887], [#1898],
[#1933], [#1939], [#1947], [#1950], [#1955], [#1956], [#1957], [#1960],
[#1963], [#1964], [#1968], [#1969], [#1970], [#1972], [#1979], [#1985],
[#2000], [#2001], [#2021], [#2025], [#2027])
We sincerely thank @Antoliny0919, @D-Sketon, @kojesung, @chuenchen309,
@mariazuheros, @DongEun02, @raon0211, @sukvvon, @racgoo, @dayongkr, @Kropiunig,
@ssi02014, @sarathfrancis90, @mym0404, @mlnwns, @kdelay, @gwagjiug, @dohwi,
@blro0319, @benedictleejh, @amir-rezaei, @ianzone, @sen2y, @rossyman,
@eunwoo-levi, @ramong26, @Gdm0714, and everyone else who contributed.
We appreciate your great efforts!
v1.50.0Compare Source
Released on July 24th, 2026.
es-toolkit/typesentrypoint: a declaration-only module of compile-timetype utilities TypeScript lacks natively —
ValueOf,Simplify,Writable,NonEmptyArray,DeepPartial, andDeepReadonly. ([#1818])flowtoes-toolkit/fp, a reusable data-last composition built onpipe. ([#1812])The following bring
es-toolkit/compatcloser to Lodash. Behavior for the affectededge cases now matches Lodash, so results may differ if you relied on the previous output.
Fixed
compat/intersectionByto dedupe a single array (including by the iteratee)and to keep results consistent with Lodash. ([#1935])
Fixed
compat/findIndexandcompat/findLastIndexto coerce aNaNfromIndexto
0and to convertfromIndexto an integer. ([#1828], [#1834], [#1938])Fixed
compat/lastIndexOfto coercefromIndexlike Lodash. ([#1832])Fixed
compat/everyto treat a falsy, non-nullishdoesMatchas a_.propertyshorthand instead of identity. ([#1940])
Fixed
compat/nthto support string inputs. ([#1833])Fixed
compat/inRangeto not throw on a lone negative bound. ([#1835])Fixed
compat/toArrayto convertSets to arrays like Lodash. ([#1840])Fixed
compat/valuesto treat sparse array holes asundefined. ([#1894])Fixed
compat/maxByandcompat/minByto restore Lodash-compatible comparison. ([#1893])Fixed
compat/includesto exclude thelengthproperty when matching array-like values. ([#1886])Fixed the case functions to split ordinal numbers like Lodash, and to count string
size and padding by code points for multi-byte characters. ([#1836], [#1852], [#1853])
Fixed
compat/unsetto not treat an own literal dotted key as a deep path. ([#1808])Moved
compat/flattenDepth's flattening logic out offlatten. ([#1847])Restored the standalone
eqandtemplateSettingsentry points. ([#1895])Fixed
deburrto remove all combining diacritical marks, matching Lodash. ([#1807])Fixed
partitionto accept any predicate return value, likeArray.prototype.filter. ([#1937])Fixed
hasandhasInto prioritize nullish literal keys over paths. ([#1810])Fixed
invokeMapto normalize a string path viatoPathforthisbinding. ([#1814])Fixed
isDeepKeyto detect deep keys with stricter patterns. ([#1621])Fixed
unzipWithto return an empty array instead of throwing on empty input. ([#1816])Improved documentation, JSDoc accuracy, and internal refactoring across
compatand
fp. ([#1817], [#1820], [#1822], [#1823], [#1825], [#1829], [#1830], [#1842],[#1845], [#1851], [#1858], [#1867], [#1879])
We sincerely thank @Antoliny0919, @raon0211, @dayongkr, @spokodev, @sarathfrancis90,
@mayur-shenoy, @mahirhir, @kojesung, @Hprogram, @BangDori, and everyone else who
contributed. We appreciate your great efforts!
Configuration
📅 Schedule: (in timezone Europe/Paris)
* 0-3 * * *)* 0-3 * * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.