Skip to content

chore(deps): Bump debounce from 3.0.0 to 4.0.0 - #360

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/debounce-4.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/debounce-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Bumps debounce from 3.0.0 to 4.0.0.

Release notes

Sourced from debounce's releases.

v4.0.0

Breaking

  • Require Node.js 22 c00dc79
  • Throw a RangeError for a wait that a timer cannot wait for e1fde61
    • This includes NaN, a non-numeric string, and a value larger than 2147483647 (about 24.8 days). Before, NaN did not wait at all, and a larger value re-armed a timer every millisecond.
  • Do not throw when different instances call a debounced method on a shared prototype d782617

Improvements

  • Keep readonly rest parameters in the TypeScript types d782617
    • Before, a debounced (...values: readonly number[]) => … function could not be called.

Fixes

  • Fix .flush() calling the function a second time, with no arguments, after an immediate call d0f2093
  • Fix .trigger() running a call from a wait that already ended in immediate mode d0f2093
  • Fix .trigger() dropping a call that the function makes to its debounced function d0f2093
  • Fix .trigger() running the function a second time if it throws d0f2093

sindresorhus/debounce@v3.0.0...v4.0.0

Commits

@dependabot dependabot Bot added dependencies javascript Pull requests that update javascript code labels Nov 21, 2026
Bumps [debounce](https://github.com/sindresorhus/debounce) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/debounce/releases)
- [Commits](sindresorhus/debounce@v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: debounce
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/debounce-4.0.0 branch from b2b318f to f68eb74 Compare November 21, 2026 02:15

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants