fix(deps): update dependency usehooks-ts to v3
This PR contains the following updates:
| Package | Type | Update | Change | OpenSSF |
|---|---|---|---|---|
| usehooks-ts (source) | dependencies | major | 2.9.4 -> 3.1.1 |
Release Notes
juliencrn/usehooks-ts (usehooks-ts)
v3.1.1
Patch Changes
-
b1dffb9: feat: Update peerDependencies to include React 19 @michal-worwag
v3.1.0
Minor Changes
-
06dfd5e: Addremovefunction touseLocalStorageanduseSessionStorage(@k-melnychuk & @RubyHuntsman)
Patch Changes
-
e62c41f: Restoration of theuseTernaryDarkModerelated types (@soullivaneuh) -
90a33f5: fix: reject non-boolean value as adefaultValueforuseBoolean(@luckrnx09) -
7ba7e3a: test reset foruseCounter(#570 by @luckrnx09)
v3.0.2
Patch Changes
-
b14db5b: Add support for focus event touseOnClickOutside(Fixes: #522) -
59c0b93: Add SVG element support touseEventListener(#546 by @LumaKernel) -
b14db5b: ExposeAddEventListenerOptionsinuseOnClickOutside(Fixes #554 from @metav-drimz) -
b14db5b: Support missing refs inuseOnClickOutside(Fixes: #531) -
09341a3: feat(useEventCallback): allow optional callback (#550 by @Newbie012)
v3.0.1
Patch Changes
- Fix: Update exported files
v3.0.0
Major Changes
-
a8e8968: Remove previously deprecated hooks and hooks' signatures (#503) -
a8e8968: Improve JSDoc comments and rename or make private some type aliases -
a8e8968: Prefer type over interface (#515) -
a8e8968: Move the full workspace into ES Module
v2.16.0
Minor Changes
-
9b65ce8: Addidparam touseScripthook (from #285 by @misidoro)
Patch Changes
-
d881f08: AddisLockedstate to theuseScrollLockreturn (#521 by @kyrylo-soulandwolf) -
fc25779: Resolve warning when usinguseScrollLockin an SSR environment (#521 by @kyrylo-soulandwolf) -
d42741f: WrapuseCountdownmethods withuseCallback(from #326 by @gromchen) -
d42741f: WrapuseCountermethods withuseCallback(from #326 by @gromchen) -
d881f08: FixeduseScrollLockleaving inline styles (#516 from @novacdenis) -
0d99db9: chore(deps): update all non-major dependencies -
d881f08: Fixed reflow not considering the padding before the lock (#521 by @kyrylo-soulandwolf)
v2.15.1
Patch Changes
-
b88cc01: fixuseResizeObserverinitialSize mutation (#504 from @iuriiiurevich) -
823b62f: Resolve scroll lock issue on ios safari (#509 by @jontewks)
v2.15.0
Minor Changes
-
649ef39: ✨ Feature: adduseScrollLockhook (#479 by @BlankParticle)
Patch Changes
-
649ef39: DeprecateduseLockedBodyreplaced byuseScrollLock -
6514683: FixuseMediaQueryby defininggetMatchesbefore use (#494 by @ymc-maha) -
d8d8e5d: Upgrade dependencies
Additional
- Improved the doc introduction page
- Updated all contributor list
- Added regular contributing guide
v2.14.0
Minor Changes
-
d60f1c6: Added debounce option to bothuseScreenanduseWindowSize
Patch Changes
-
7d74e09: Release documentation foruseEventCallback -
2660580: DepreciateduseFetch, see the documentation for more information -
bc3f967: DeprecateduseEffectOnce,useIsFirstRenderanduseUpdateEffect
v2.13.0
Minor Changes
-
87a5141: ImproveuseOnClickOutside: -
87ba579: Fix SSR hooks by fallback with default or initial value instead ofundefined -
f39078f: UpdateduseIntersectionObserverAPI and fixed #395, #271 and #182, see #464. -
a444ba7: DepreciateduseElementSizereplaced byuseResizeObserver -
e807ab3: CreateuseResizeObserverhook
Patch Changes
-
b5b9e1f: chore: Updated dependencies -
4146c39: fix:useScriptfailed to remove script from cache when passingremoveOnUnmountprop (#354 by @ShanSenanayake) -
bdf7bda: Add eslint rules to comply withverbatimModuleSyntaxto avoid side-effects -
6b582de: usetsupas bundler instead of transpiling with tsc (@BlankParticle) -
be8c35b: FixuseScreenis not rerendering on screen resize (#280 by @philipgher)
v2.12.1
Patch Changes
- Don't remove comments during package build to keep JSdoc comments
v2.12.0
Minor Changes
-
cb6eb5c: Added an optional option param inuseDocumentTitle()to reset title on un-mount (#345 by @ladislasdellinger)
Patch Changes
-
b8ee088: movelodash.debounceto dependencies from peerDependencies (#459 by @BlankParticle)
v2.11.0
Minor Changes
-
add1431: CreateduseUnmounthook -
add1431: CreateduseDebounceCallbackanduseDebounceValuehooks -
add1431: DepreciateduseDebouncehook (replaced byuseDebounceCallbackoruseDebounceValue) -
fc8a30e: Fix hydration issues in both useScreen and useMediaQuery (Fixes #394, thanks to @bryantcodesart) -
4a9fc88: Introduce the SSR-friendly new optional{ initializeWithValue?: boolean }parameter touseLocalStorage,useReadLocalStorage,useSessionStorage,useDarkMode,useTernaryDarkMode,useMediaQuery,useScreen,useWindowSizeanduseElementSize, see #451. -
5c210c1: AdddefaultValueoption touseTernaryDarkModeand update its signature (using function overload for smooth migration) -
5c210c1: UpdateuseDarkModesignature (using function overload for smooth migration) -
0321342,4a9fc88: DropMap,SetandDatesupports in use*Storage hooks, it isn't compatible withuseReadLocalStoragemaking the API un-consistent. Use a custom serializer/deserializer instead.
Patch Changes
-
add1431: Upgrade dependencies -
a192167: Upgradedreactand@testing-library/react(thanks to @TheHaff) -
0321342: Make Typescript and@typescript-eslintstricter to catch bugs sooner -
382161a: DepreciateuseImageOnLoad, too opinionated -
382161a: Add JSdoc comments to improve DX via in-IDE documentation -
a192167: Migrate fromjesttovitest(making test-suite execution 2 times faster)
v2.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) -
4b3ed4e: Fix circular dependencies (#310) -
a3588b8: Added unit tests for useFetch hook -
c326dd3: Prevent unrelated storage keys from being updated unexpectedly in useLocalStorage and useSessionStorage (#313 by @stevenvachon fixes #384) -
e8aa777: make useLocalStorage and useSessionStorage compliant with useState (fixes #204 with #242 by @valyrie97) -
c5ad2b9: Recalculate useLocalStorage & useSessionStorage default value on dynamic key change (#355 by @amirking59) -
7406e3c: fix(useCopyToClipboard): added useCallback to 'copy' to avoid rerendering (by @nmacianx) -
ffe0f32: Set sideEffects to false in package.json
v2.9.5
Fixed
-
ad0dfa5: Update useCopyToClipboard documentation (#398 by @andyjphu) -
7b75fb4: Fix typo in useEventListener (#363 by @rahulchaudhary2244) -
ddfcce7: Removed unnecessary pre-install script (#420)
Updated
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: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| auth-hosting | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 16, 2024 6:09pm |
| auth-hosting-dev | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 16, 2024 6:09pm |
| auth-hosting-euc1 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 16, 2024 6:09pm |
| auth-hosting-sandbox | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 16, 2024 6:09pm |
| auth-hosting-sandbox-us | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 16, 2024 6:09pm |
Deployment failed with the following error:
Too many requests - try again in 2 minutes (more than 60, code: "api-deployments-flood").
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.