Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 6, 2024

Bumps usehooks-ts from 2.9.1 to 2.13.0.

Release notes

Sourced from usehooks-ts's releases.

[email protected]

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

  • b5b9e1f: chore: Updated dependencies
  • 4146c39: fix: useScript failed to remove script from cache when passing removeOnUnmount prop (#354 by @​ShanSenanayake)
  • bdf7bda: Add eslint rules to comply with verbatimModuleSyntax to avoid side-effects
  • 6b582de: use tsup as bundler instead of transpiling with tsc (@​BlankParticle)
  • be8c35b: Fix useScreen is not rerendering on screen resize (#280 by @​philipgher)

[email protected]

Patch Changes

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

[email protected]

Minor Changes

Patch Changes

[email protected]

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)

... (truncated)

Commits

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 added the dependencies Pull requests that update a dependency file label Feb 6, 2024
@github-actions github-actions bot enabled auto-merge (squash) February 6, 2024 15:33
Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.9.1 to 2.13.0.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.13.0)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/usehooks-ts-2.13.0 branch from bbed507 to bdbfb53 Compare February 7, 2024 06:29
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 12, 2024

Superseded by #2265.

@dependabot dependabot bot closed this Feb 12, 2024
auto-merge was automatically disabled February 12, 2024 06:13

Pull request was closed

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/usehooks-ts-2.13.0 branch February 12, 2024 06:13
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.

1 participant