chore(deps): bump es-toolkit from 1.47.0 to 1.47.1
Bumps es-toolkit from 1.47.0 to 1.47.1.
Release notes
Sourced from es-toolkit's releases.
v1.47.1
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@sukvvonfor their contributions. We appreciate your great efforts!
Changelog
Sourced from es-toolkit's changelog.
Version v1.47.1
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@sukvvonfor their contributions. We appreciate your great efforts!
Commits
bc10e66v1.47.12c95fc3fix(compat/size): count array-like objects by their length11bdbfbfix(maxBy/minBy): propagate NaN to match Math.max/Math.min2cee9b6fix(maxBy/minBy): restore leading-NaN handling regressed in #1176b2673a2fix(compat): round/ceil/floor should return Infinity for infinite values with...10cc7ecfix: Remove Function(...) call in globalThis polyfill100c288docs(bundle-size): update esbuild version in documentation882a1c6build(deps): bump github/codeql-action from 4.36.1 to 4.36.234bfe02docs(bundle-size): infer lodash-es version from yarn berry when generating bu...98420c2docs(banner): add ja and zh-hand versions banner- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Upgrade es-toolkit to 1.47.1 for correctness fixes across sorting, math, and type helpers. Also improves CSP compatibility and ESM subpath resolution.
- Bug Fixes
orderBy/sortBy:null/undefinednow sort last.maxBy/minBy: propagateNaNlikeMath.max/Math.min.isNumber: no longer treats boxedNumberobjects as numbers.reduce/reduceRight: respect explicit nullish accumulators.globalThispolyfill: works under CSP withoutunsafe-eval.