Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency use-debounce to v10 #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 6, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
use-debounce 9.0.2 -> 10.0.4 age adoption passing confidence

Release Notes

xnimorz/use-debounce (use-debounce)

v10.0.4

Compare Source

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

v10.0.3

Compare Source

v10.0.2

Compare Source

v10.0.1

Compare Source

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

v10.0.0

Compare Source

  • 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

v9.0.4

Compare Source

v9.0.3

Compare Source

  • Represent correct return type from useDebounce(), see issue, thanks to @​appden

Configuration

📅 Schedule: Branch creation - "every 2 weeks on Monday before 7am" in timezone Europe/Berlin, 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 requested a review from Lisa-Stubert as a code owner November 6, 2023 03:16
Copy link

netlify bot commented Nov 6, 2023

Deploy Preview for weihnachtsmarktkarte ready!

Name Link
🔨 Latest commit 92e75c3
🔍 Latest deploy log https://app.netlify.com/sites/weihnachtsmarktkarte/deploys/670c1465a663520008d6ddc6
😎 Deploy Preview https://deploy-preview-78--weihnachtsmarktkarte.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
use-debounce 9.0.2...10.0.0 None +0/-0 105 kB xnimorz

@renovate renovate bot force-pushed the renovate/use-debounce-10.x branch from c537d45 to 915c18c Compare May 26, 2024 09:42
@renovate renovate bot force-pushed the renovate/use-debounce-10.x branch from 915c18c to a0adeec Compare July 28, 2024 12:36
@renovate renovate bot force-pushed the renovate/use-debounce-10.x branch from a0adeec to 4576fb0 Compare August 17, 2024 13:39
@renovate renovate bot force-pushed the renovate/use-debounce-10.x branch from 4576fb0 to 92e75c3 Compare October 13, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants