Skip to content

chore(deps): bump debounce from 3.0.0 to 4.0.0 - #9559

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 18, 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 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)

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 requested a review from a team as a code owner November 18, 2026 16:07
@dependabot dependabot Bot added dependencies Dependency updates javascript Work involving JavaScript code labels Nov 18, 2026

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 Dependency updates javascript Work involving JavaScript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants