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 @react-hookz/web to v24 #1723

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 25, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@react-hookz/web ^23.1.0 -> ^24.0.4 age adoption passing confidence
@react-hookz/web ^22.0.0 -> ^24.0.4 age adoption passing confidence

Release Notes

react-hookz/web (@​react-hookz/web)

v24.0.4

Compare Source

Bug Fixes

v24.0.3

Compare Source

Bug Fixes
  • get rid of import alias as it still breaks everything around (#​1509) (90e4f9d)

v24.0.2

Compare Source

Bug Fixes
  • lower engines requirements to ease usage for consumers (8bd29f7)

v24.0.1

Compare Source

Bug Fixes
  • change build so development and distributed imports match (6383cdd)

v24.0.0

Compare Source

Features
BREAKING CHANGES
  • Hooks are now distrubutes as JS built form TS with target ESNext and ESM module resolution. There is no more sense to distribute CJS version as package is ESM-only.

Consequent of above - no more esm and cjs subfolders - hooks are importable from index.js or its own directory which don't have a prefix anymore, thanks to exports directive. All of below examples will lead to same result, choose any on your taste:

import { useFirstMountState } from '@​react-hookz/web';
import { useFirstMountState } from '@​react-hookz/web/';
import { useFirstMountState } from '@​react-hookz/web/useFirstMountState/';
import { useFirstMountState } from '@​react-hookz/web/useFirstMountState/index.js';
Thought is seems not to have subfolder, it is only due to exports directive, in real it is
@​react-hookz/web/dist/useFirstMountState/index.js.

Pakage uses imports directive to define path alias #root - it stays so even in distributed code, thus, some may be affected in case their bundler configured to somehow handle such alias. Those developer shoud configure import rewriter not to handle node_modules or @​react-hookz/web package exclusively.

Side-effect for current PR - documentation is broken, as storybook 6 is not working within ESM packages and I'm planning to switch to another domenting engine anyway.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 force-pushed the renovate/react-hookz-web-24.x branch 20 times, most recently from 84a4d25 to f5d2f8d Compare May 2, 2024 15:33
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch 9 times, most recently from a1ebf3c to b564013 Compare May 8, 2024 18:05
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch from 0606057 to 562a7fa Compare August 19, 2024 04:46
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch from 562a7fa to c15b3f0 Compare August 19, 2024 12:30
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch from c15b3f0 to 2967deb Compare August 20, 2024 09:18
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch from 2967deb to 883b24a Compare August 20, 2024 11:30
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch 6 times, most recently from e0181df to d230989 Compare August 26, 2024 07:28
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch 3 times, most recently from 4ee04f3 to a23b2cc Compare August 26, 2024 07:51
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch 2 times, most recently from 8d20ab8 to 079f418 Compare August 26, 2024 08:12
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch 6 times, most recently from fb856b0 to eea4daa Compare September 6, 2024 19:59
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch from eea4daa to afba934 Compare September 17, 2024 22:56
@renovate renovate bot force-pushed the renovate/react-hookz-web-24.x branch from afba934 to f08a2e4 Compare September 18, 2024 02:07
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