fix(deps): update dependency usehooks-ts to v2.16.0 #270
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.9.1
->2.16.0
Release Notes
juliencrn/usehooks-ts (usehooks-ts)
v2.16.0
Compare Source
Minor Changes
9b65ce8
: Addid
param touseScript
hook (from #285 by @misidoro)Patch Changes
d881f08
: AddisLocked
state to theuseScrollLock
return (#521 by @kyrylo-soulandwolf)fc25779
: Resolve warning when usinguseScrollLock
in an SSR environment (#521 by @kyrylo-soulandwolf)d42741f
: WrapuseCountdown
methods withuseCallback
(from #326 by @gromchen)d42741f
: WrapuseCounter
methods withuseCallback
(from #326 by @gromchen)d881f08
: FixeduseScrollLock
leaving inline styles (#516 from @novacdenis)0d99db9
: chore(deps): update all non-major dependenciesd881f08
: Fixed reflow not considering the padding before the lock (#521 by @kyrylo-soulandwolf)v2.15.1
Compare Source
Patch Changes
b88cc01
: fixuseResizeObserver
initialSize mutation (#504 from @iuriiiurevich)823b62f
: Resolve scroll lock issue on ios safari (#509 by @jontewks)v2.15.0
Compare Source
Minor Changes
649ef39
: ✨ Feature: adduseScrollLock
hook (#479 by @BlankParticle)Patch Changes
649ef39
: DeprecateduseLockedBody
replaced byuseScrollLock
6514683
: FixuseMediaQuery
by defininggetMatches
before use (#494 by @ymc-maha)d8d8e5d
: Upgrade dependenciesAdditional
v2.14.0
Compare Source
Minor Changes
d60f1c6
: Added debounce option to bothuseScreen
anduseWindowSize
Patch Changes
7d74e09
: Release documentation foruseEventCallback
2660580
: DepreciateduseFetch
, see the documentation for more informationbc3f967
: DeprecateduseEffectOnce
,useIsFirstRender
anduseUpdateEffect
v2.13.0
Compare Source
Minor Changes
87a5141
: ImproveuseOnClickOutside
:87ba579
: Fix SSR hooks by fallback with default or initial value instead ofundefined
f39078f
: UpdateduseIntersectionObserver
API and fixed #395, #271 and #182, see #464.a444ba7
: DepreciateduseElementSize
replaced byuseResizeObserver
e807ab3
: CreateuseResizeObserver
hookPatch Changes
b5b9e1f
: chore: Updated dependencies4146c39
: fix:useScript
failed to remove script from cache when passingremoveOnUnmount
prop (#354 by @ShanSenanayake)bdf7bda
: Add eslint rules to comply withverbatimModuleSyntax
to avoid side-effects6b582de
: usetsup
as bundler instead of transpiling with tsc (@BlankParticle)be8c35b
: FixuseScreen
is not rerendering on screen resize (#280 by @philipgher)v2.12.1
Compare Source
Patch Changes
v2.12.0
Compare Source
Minor Changes
cb6eb5c
: Added an optional option param inuseDocumentTitle()
to reset title on un-mount (#345 by @ladislasdellinger)Patch Changes
b8ee088
: movelodash.debounce
to dependencies from peerDependencies (#459 by @BlankParticle)v2.11.0
Compare Source
Minor Changes
add1431
: CreateduseUnmount
hookadd1431
: CreateduseDebounceCallback
anduseDebounceValue
hooksadd1431
: DepreciateduseDebounce
hook (replaced byuseDebounceCallback
oruseDebounceValue
)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
,useWindowSize
anduseElementSize
, see #451.5c210c1
: AdddefaultValue
option touseTernaryDarkMode
and update its signature (using function overload for smooth migration)5c210c1
: UpdateuseDarkMode
signature (using function overload for smooth migration)0321342
,4a9fc88
: DropMap
,Set
andDate
supports in use*Storage hooks, it isn't compatible withuseReadLocalStorage
making the API un-consistent. Use a custom serializer/deserializer instead.Patch Changes
add1431
: Upgrade dependenciesa192167
: Upgradedreact
and@testing-library/react
(thanks to @TheHaff)0321342
: Make Typescript and@typescript-eslint
stricter to catch bugs sooner382161a
: DepreciateuseImageOnLoad
, too opinionated382161a
: Add JSdoc comments to improve DX via in-IDE documentationa192167
: Migrate fromjest
tovitest
(making test-suite execution 2 times faster)v2.10.0
Compare Source
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 hooksPatch Changes
a816d6b
: Depreciated useSsr #25842f3a3a
: 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 hookc326dd3
: 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.jsonv2.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
60da216
: use named exports instead of default exports5611309
: added export map in package.json (CJS/ESM support)7141d01
: Upgrade internal dependencies3588427
: Add a comment in useMediaQuery (#402)v2.9.2
Compare Source
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 this update again.
This PR was generated by Mend Renovate. View the repository job log.