[Snyk] Upgrade use-debounce from 10.0.0 to 10.0.6 #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade use-debounce from 10.0.0 to 10.0.6.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 7 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: use-debounce
-
10.0.6 - 2025-09-01
- Bump form-data from 4.0.0 to 4.0.4 by @ dependabot[bot] in #198
- Fix/cancel ispending UI update by @ elrion018 in #199
-
10.0.5 - 2025-06-07
- Update outdated tsdoc for useDebouncedCallback by @ stephan281094 in #195
- Fix isPending updating bug and add a test case. by @ elrion018 in #196
- Bump esbuild and @ size-limit/preset-small-lib by @ dependabot[bot] in #197
- @ stephan281094 made their first contribution in #195
- @ elrion018 made their first contribution in #196
-
10.0.4 - 2024-10-13
- Fix behaviour for strictMode react when leading is set to true and trailing is true
-
10.0.4-beta - 2024-10-06
-
10.0.3 - 2024-08-17
-
10.0.2 - 2024-07-28
- Fixed:
-
10.0.1 - 2024-05-26
- Fixed flush method return args, thanks to @ h
-
10.0.0 - 2023-11-05
- ❗️ [Major breaking change] replaced index.modern.js with index.mjs. Might require a little change in your build pipeline
- ❗️ [Major breaking change] New option
- ❕[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
- ℹ [Internal] yarn classic => npm
- ℹ [Internal] Updated devDependencies
from use-debounce GitHub release notesWhat's Changed
Full Changelog: 10.0.5...10.0.6
What's Changed
New Contributors
Full Changelog: 10.0.4...10.0.5
isPendingdoes not reset the state if the tracked value hasn't changed.. See #178debounceOnServer: 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.testing-libraryImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: