woocommerce / woocommerce-blocks

(Deprecated) This plugin has been merged into woocommerce/woocommerce
https://wordpress.org/plugins/woo-gutenberg-products-block/
GNU General Public License v3.0
404 stars 217 forks source link

Bump usehooks-ts from 2.9.1 to 2.12.1 #12220

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps usehooks-ts from 2.9.1 to 2.12.1.

Release notes

Sourced from usehooks-ts's releases.

usehooks-ts@2.12.1

Patch Changes

  • Don't remove comments during package build to keep JSdoc comments

usehooks-ts@2.12.0

Minor Changes

Patch Changes

usehooks-ts@2.11.0

Minor Changes

  • add1431: Created useUnmount hook
  • add1431: Created useDebounceCallback and useDebounceValue hooks
  • add1431: Depreciated useDebounce hook (replaced by useDebounceCallback or useDebounceValue)
  • fc8a30e: Fix hydration issues in both useScreen and useMediaQuery (Fixes #394, thanks to @​bryantcodesart)
  • 4a9fc88: Introduce the SSR-friendly new optional { initializeWithValue?: boolean } parameter to useLocalStorage, useReadLocalStorage, useSessionStorage, useDarkMode, useTernaryDarkMode, useMediaQuery, useScreen, useWindowSize and useElementSize, see #451.
  • 5c210c1: Add defaultValue option to useTernaryDarkMode and update its signature (using function overload for smooth migration)
  • 5c210c1: Update useDarkMode signature (using function overload for smooth migration)
  • 0321342, 4a9fc88: Drop Map, Set and Date supports in use*Storage hooks, it isn't compatible with useReadLocalStorage making the API un-consistent. Use a custom serializer/deserializer instead.

Patch Changes

  • add1431: Upgrade dependencies
  • a192167: Upgraded react and @testing-library/react (thanks to @​TheHaff)
  • 0321342: Make Typescript and @typescript-eslint stricter to catch bugs sooner
  • 382161a: Depreciate useImageOnLoad, too opinionated
  • 382161a: Add JSdoc comments to improve DX via in-IDE documentation
  • a192167: Migrate from jest to vitest (making test-suite execution 2 times faster)

usehooks-ts@2.10.0

2.10.0

Minor Changes

  • 8f3c90f: Enable setting localStorage key for useDarkTheme & useTernaryDarkMode (#298 by @​ubarbaxor)
  • ae47c9a: Expose setting dark mode value directly (#299 by ubarbaxor)
  • 771afa5: Add serialization support for use-*-storage hooks

Patch Changes

  • a816d6b: Depreciated useSsr #258
  • 42f3a3a: Remove the need of commenting out useEffect deps in useMediaQuery (#383 by @​lisandro52)
  • 9bc05f4: Fix hydration mismatch on use***Storage (fixes #176, #369 with #320 & #251)
  • 771afa5: Add Date, Set & Map support to use*Storage (#309 by @​AlecsFarias)

... (truncated)

Commits
  • 9f6c3bb 🐛 Keep JSdoc comments in the compiled /dist and bump version
  • f8cfe73 🔖 Update version
  • b8ee088 fix: move lodash.debounce to dependencies from peerDependencies (#459)
  • 05375bf 🔧 Update the hook blacklist for unit testing
  • b83fcaf chore(deps): update actions/setup-node action to v4 (#455)
  • 7f2ef22 chore(deps): update dependency @​types/node to v20.11.10 (#454)
  • cb6eb5c ✨ feat: add an option to reset to default document title on unmount for useDo...
  • 9f48970 Add useClickAnyWhere tests (#353)
  • 781378a 🔖 Update version
  • 4a9fc88 ✨ Feature: declarative SSR (#451)
  • 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 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)
github-actions[bot] commented 8 months ago

Thank you for your interest in contributing to WooCommerce!

WooCommerce Blocks has been merged into the WooCommerce Monorepo.

From now on, please open any issues or pull requests in the woocommerce/woocommerce repository.

dependabot[bot] commented 8 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.