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

Bump use-debounce from 9.0.4 to 10.0.4 #586

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 14, 2024

Bumps use-debounce from 9.0.4 to 10.0.4.

Release notes

Sourced from use-debounce's releases.

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.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
  • 324885c Update version
  • cd102d3 Fix React Strict mode behaviour
  • 4c27377 Merge pull request #185 from xnimorz/dependabot/npm_and_yarn/rollup-2.79.2
  • 7b99fa4 Bump rollup from 2.79.1 to 2.79.2
  • 453490e 10.03
  • 460b1df Merge pull request #180 from xnimorz/isPending
  • da112e0 Fix isPending state
  • d4f9cc9 Merge pull request #177 from xnimorz/dependabot/npm_and_yarn/braces-3.0.3
  • a6a95cc Bump braces from 3.0.2 to 3.0.3
  • 4386acc Merge pull request #176 from xnimorz/dependabot/npm_and_yarn/ws-8.17.1
  • Additional commits viewable in compare view

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

@dependabot dependabot bot requested a review from alangumer as a code owner October 14, 2024 12:01
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 14, 2024
Copy link

github-actions bot commented Oct 14, 2024

Localization Summary

language unchanged added removed untranslated
br 875 0 0 79
de 875 0 0 412
en 875 0 0 0
es 875 0 0 403
fr 875 0 0 420
ja 875 0 0 383
ru 875 0 0 393
zh 875 0 0 382

View full summary

Copy link

vercel bot commented Oct 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
audioverse-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 2:43pm

Copy link

github-actions bot commented Oct 14, 2024

📦 Next.js Bundle Analysis for audioverse-next

This analysis was generated by the Next.js Bundle Analysis action. 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 242.29 KB (🟢 -26 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Two Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (225 KB)
/[language]/library/history 23.53 KB 265.82 KB 118.14% (+/- <0.01%)
/[language]/library/playlists 23.56 KB 265.85 KB 118.15% (+/- <0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

Copy link

github-actions bot commented Oct 14, 2024

Accessibility Issues

CodeNewFixedRetainedIgnoredTotal
WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail00022072207
WCAG2AA.Principle2.Guideline2_4.2_4_1.H64.1000129129
View full summary

Bumps [use-debounce](https://github.com/xnimorz/use-debounce) from 9.0.4 to 10.0.4.
- [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.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
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