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

[Snyk] Upgrade usehooks-ts from 2.9.2 to 2.14.0 #135

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

Conversation

EchoSkorJjj
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade usehooks-ts from 2.9.2 to 2.14.0.

As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.

✨ Snyk has automatically assigned this pull request, set who gets assigned.

ℹ️ 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 9 versions ahead of your current version.
  • The recommended version was released 25 days ago, on 2024-02-09.
Release notes
Package name: usehooks-ts
  • 2.14.0 - 2024-02-09

    Minor Changes

    • d60f1c6: Added debounce option to both useScreen and useWindowSize

    Patch Changes

    • 7d74e09: Release documentation for useEventCallback
    • 2660580: Depreciated useFetch, see the documentation for more information
    • bc3f967: Deprecated useEffectOnce, useIsFirstRender and useUpdateEffect
  • 2.13.0 - 2024-02-06

    Minor Changes

    • 87a5141: Improve useOnClickOutside:
      • Prevent handling callback when clicking on a not connected element (#374 by @ hooriza)
      • Add support to accept multiple references
      • Add support for touch events in addition to mouse events
    • 87ba579: Fix SSR hooks by fallback with default or initial value instead of undefined
    • f39078f: Updated useIntersectionObserver API and fixed #395, #271 and #182, see #464.
    • a444ba7: Depreciated useElementSize replaced by useResizeObserver
    • e807ab3: Create useResizeObserver hook

    Patch Changes

  • 2.12.1 - 2024-02-01

    Patch Changes

    • Don't remove comments during package build to keep JSdoc comments
  • 2.12.0 - 2024-02-01

    Minor Changes

    Patch Changes

  • 2.11.0 - 2024-01-31

    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)
  • 2.10.0 - 2024-01-25
    Read more
  • 2.9.5 - 2024-01-18

    Fixed

    Updated

    • 60da216: use named exports instead of default exports
    • 5611309: added export map in package.json (CJS/ESM support)
    • 7141d01: Upgrade internal dependencies
    • 3588427: Add a comment in useMediaQuery (#402)
  • 2.9.4 - 2024-01-13
  • 2.9.3 - 2024-01-13
  • 2.9.2 - 2024-01-07
from usehooks-ts GitHub release notes

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:

🧐 View latest project report

👩‍💻 Set who automatically gets assigned

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@EchoSkorJjj EchoSkorJjj self-assigned this Mar 5, 2024
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.

2 participants