chore(deps): bump es-toolkit from 1.47.0 to 1.47.1

Merged
DE
5mo ago
+1-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 maxBy and minBy to propagate NaN, matching Math.max/Math.min behavior. ([#1749])
  • Fixed orderBy and sortBy to place null and undefined values last when sorting. ([#1681])
  • Fixed isNumber to no longer treat boxed Number objects as numbers. ([#1726])
  • Fixed reduce and reduceRight to respect explicitly passed nullish accumulators. ([#1742])
  • Fixed isEmpty to handle functions with own enumerable properties. ([#1645])
  • Fixed the globalThis polyfill to avoid Function(...), supporting CSP environments without unsafe-eval.
  • Fixed ESM resolution for ./compat/* subpaths in package exports. ([#1757])
  • Fixed compat/size to count array-like objects by their length. ([#1766])
  • Fixed compat/round, compat/ceil, and compat/floor to return Infinity for infinite values with precision. ([#1764])
  • Fixed compat/random to coerce the upper bound for non-number max. ([#1751])
  • Fixed compat/toLength to 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 @​sukvvon for their contributions. We appreciate your great efforts!

Changelog

Sourced from es-toolkit's changelog.

Version v1.47.1

Released on June 12th, 2026.

  • Fixed maxBy and minBy to propagate NaN, matching Math.max/Math.min behavior. (#1749)
  • Fixed orderBy and sortBy to place null and undefined values last when sorting. (#1681)
  • Fixed isNumber to no longer treat boxed Number objects as numbers. (#1726)
  • Fixed reduce and reduceRight to respect explicitly passed nullish accumulators. (#1742)
  • Fixed isEmpty to handle functions with own enumerable properties. (#1645)
  • Fixed the globalThis polyfill to avoid Function(...), supporting CSP environments without unsafe-eval.
  • Fixed ESM resolution for ./compat/* subpaths in package exports. (#1757)
  • Fixed compat/size to count array-like objects by their length. (#1766)
  • Fixed compat/round, compat/ceil, and compat/floor to return Infinity for infinite values with precision. (#1764)
  • Fixed compat/random to coerce the upper bound for non-number max. (#1751)
  • Fixed compat/toLength to 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 @​sukvvon for their contributions. We appreciate your great efforts!

Commits
  • bc10e66 v1.47.1
  • 2c95fc3 fix(compat/size): count array-like objects by their length
  • 11bdbfb fix(maxBy/minBy): propagate NaN to match Math.max/Math.min
  • 2cee9b6 fix(maxBy/minBy): restore leading-NaN handling regressed in #1176
  • b2673a2 fix(compat): round/ceil/floor should return Infinity for infinite values with...
  • 10cc7ec fix: Remove Function(...) call in globalThis polyfill
  • 100c288 docs(bundle-size): update esbuild version in documentation
  • 882a1c6 build(deps): bump github/codeql-action from 4.36.1 to 4.36.2
  • 34bfe02 docs(bundle-size): infer lodash-es version from yarn berry when generating bu...
  • 98420c2 docs(banner): add ja and zh-hand versions banner
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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/undefined now sort last.
    • maxBy/minBy: propagate NaN like Math.max/Math.min.
    • isNumber: no longer treats boxed Number objects as numbers.
    • reduce/reduceRight: respect explicit nullish accumulators.
    • globalThis polyfill: works under CSP without unsafe-eval.