Skip to content

fix(deps): update dependency debounce to v4 (main) - #9646

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-debounce-4.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-debounce-4.x

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
debounce ^3.0.0 → ^4.0.0 age confidence

Release Notes

sindresorhus/debounce (debounce)

v4.0.0

Compare Source

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


Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 21, 2026
@github-actions
github-actions Bot enabled auto-merge November 21, 2026 12:05
@codecov

codecov Bot commented Nov 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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 Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants