Skip to content

chore(deps):(deps): bump use-debounce from 9.0.4 to 10.0.6#308

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/use-debounce-10.0.6
Open

chore(deps):(deps): bump use-debounce from 9.0.4 to 10.0.6#308
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/use-debounce-10.0.6

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Dec 8, 2025

Bumps use-debounce from 9.0.4 to 10.0.6.

Release notes

Sourced from use-debounce's releases.

10.0.6

What's Changed

Full Changelog: xnimorz/use-debounce@10.0.5...10.0.6

10.0.5

What's Changed

New Contributors

Full Changelog: xnimorz/use-debounce@10.0.4...10.0.5

v10.0.4

  • Fix behaviour for strictMode react when leading is set to true and trailing is true

v10.0.2

v10.0.1

  • Fixed flush method return args, thanks to @​h

v10.0.0

  • ❗️ [Major breaking change] replaced index.modern.js with index.mjs. Might require a little change in your build pipeline
  • ❗️ [Major breaking change] New option debounceOnServer: if you put the option to true, it will run debouncing on server (via setTimeout). The new option can break your current server behaviour, as v9.x, it runs all the time and might cause unnessesary server CPU utilisation. Now, by default, debounced callbacks do not happen on server.
  • ❕[Minor breaking change]: Replaced useState for useDebounce with useReducer. It might lead to reduced amount of re-renders, as useState is known to have excess re-renders in some corner: https://stackoverflow.com/questions/57652176/react-hooks-usestate-setvalue-still-rerender-one-more-time-when-value-is-equal
  • ❕[Minor breaking change]: useDebouncedCallback now updates function to call asap. Meaning, if you re-called the hook and it should trigger immediately, it will trigger the newest function all the time.
  • ℹ Lib size:
    • 914 B: index.js.gz
    • 851 B: index.js.br
    • 883 B: index.mjs.gz
    • 826 B: index.mjs.br
    • 938 B: index.module.js.gz
    • 873 B: index.module.js.br
    • 989 B: index.umd.js.gz
    • 919 B: index.umd.js.br
  • ℹ [Internal] Replaced Enzyme with testing-library
  • ℹ [Internal] yarn classic => npm
  • ℹ [Internal] Updated devDependencies
Changelog

Sourced from use-debounce's changelog.

10.0.5

10.0.4

  • Fix behaviour for strictMode react when leading is set to true and trailing is true

10.0.3

10.0.2

10.0.1

  • Fixed flush method return args, thanks to @​h

10.0.0

  • Major breaking change: replaced index.modern.js with index.mjs. Might require a little change in your build pipeline
  • Major breaking change: New option debounceOnServer: if you put the option to true, it will run debouncing on server (via setTimeout). The new option can break your current server behaviour, as v9.x, it runs all the time and might cause unnessesary server CPU utilisation. Now, by default, debounced callbacks do not happen on server.
  • Minor breaking change: Replaced useState for useDebounce with useReducer. It might lead to reduced amount of re-renders, as useState is known to have excess re-renders in some corner: https://stackoverflow.com/questions/57652176/react-hooks-usestate-setvalue-still-rerender-one-more-time-when-value-is-equal
  • Minor breaking change: useDebouncedCallback now updates function to call asap. Meaning, if you re-called the hook and it should trigger immediately, it will trigger the newest function all the time.
  • Lib size: 914 B: index.js.gz 851 B: index.js.br 883 B: index.mjs.gz 826 B: index.mjs.br 938 B: index.module.js.gz 873 B: index.module.js.br 989 B: index.umd.js.gz 919 B: index.umd.js.br
  • [Internal] Replaced Enzyme with @​testing-library
  • [Internal] yarn classic => npm
  • [Internal] Updated devDependencies
Commits
  • d2481ea Merge pull request #199 from elrion018/fix/cancel-ispending-ui-update
  • 309dcc8 refactor: simplify cancel() logic in useDebouncedCallback
  • f4bcd87 test: add test for cancel() triggering UI update
  • 86da92f fix: trigger UI update when cancel() is called
  • f1c7511 Merge pull request #198 from xnimorz/dependabot/npm_and_yarn/form-data-4.0.4
  • 46085fa Bump form-data from 4.0.0 to 4.0.4
  • cc9831c Merge pull request #197 from xnimorz/dependabot/npm_and_yarn/multi-86b6d328ca
  • de6ad62 Bump esbuild and @​size-limit/preset-small-lib
  • fd7e2db up use-debounce version to 10.0.5
  • eede2b8 Merge pull request #196 from elrion018/fix/ispending-bug
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 8, 2025
@vercel
Copy link
Copy Markdown

vercel bot commented Dec 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
react-creme Ready Ready Preview, Comment Dec 29, 2025 4:41am

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/use-debounce-10.0.6 branch from 52cfb95 to a79006b Compare December 8, 2025 06:09
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/use-debounce-10.0.6 branch from a79006b to dddeb3a Compare December 9, 2025 06:50
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/use-debounce-10.0.6 branch from dddeb3a to 2668529 Compare December 9, 2025 10:20
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/use-debounce-10.0.6 branch from 2668529 to d3bfe6d Compare December 10, 2025 11:20
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/use-debounce-10.0.6 branch from d3bfe6d to c9fb085 Compare December 11, 2025 07:06
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/use-debounce-10.0.6 branch from c9fb085 to bca84e6 Compare December 15, 2025 07:25
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/use-debounce-10.0.6 branch from bca84e6 to ca75abf Compare December 16, 2025 04:09
Bumps [use-debounce](https://github.com/xnimorz/use-debounce) from 9.0.4 to 10.0.6.
- [Release notes](https://github.com/xnimorz/use-debounce/releases)
- [Changelog](https://github.com/xnimorz/use-debounce/blob/master/CHANGELOG.md)
- [Commits](xnimorz/use-debounce@9.0.4...10.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
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