[Snyk] Upgrade: tslib, , react-hook-form, react-pdf-html, react-router-dom #1
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.
Snyk has created this PR to upgrade multiple dependencies.
👯♂ The following dependencies are linked and will therefore be updated together.ℹ️ 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.
tslib
from 2.6.3 to 2.7.0 | 1 version ahead of your current version | 22 days ago
on 2024-08-23
@reduxjs/toolkit
from 2.2.6 to 2.2.7 | 1 version ahead of your current version | 2 months ago
on 2024-07-27
react-hook-form
from 7.52.1 to 7.53.0 | 2 versions ahead of your current version | 21 days ago
on 2024-08-24
react-pdf-html
from 2.0.5 to 2.1.2 | 3 versions ahead of your current version | a month ago
on 2024-08-09
react-router-dom
from 6.24.0 to 6.26.1 | 11 versions ahead of your current version | a month ago
on 2024-08-15
Release notes
Package name: tslib
What's Changed
await
inawait using
by @ rbuckton in #262Full Changelog: v2.6.3...v2.7.0
What's Changed
Full Changelog: v2.6.2...v2.6.3
Package name: @reduxjs/toolkit
This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.
Changelog
TS Type Portability
We've had a slew of issues reported around "TS type portability" errors, such as:
The error messages are typically along the lines of:
@ aryaemami59 did some deep investigation and concluded these were due to a mixture of using
interface
instead oftype
in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.Arya put together a highly detailed writeup and set of fixes in #4467: Fix: TypeScript Type Portability Issues, and that appears to resolve all of those issues we've seen. Thank you!
Other Changes
Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.
We've exported additional types like
UpdateDefinitions
andRetryOptions
, per request.listenerMiddleware.withTypes()
methods now allow passing in anExtraArgument
generic.What's Changed
Full Changelog: v2.2.6...v2.2.7
This bugfix release:
useIsomorphicLayoutEffect
usage in line with React Redux in React Native environmentsFetchBaseQueryArgs
typecreateEntityAdapter
sorting perf improvements that could (in specific cases) cause Immer to throw an errorWhat's Changed
useIsomorphicLayoutEffect
usage in React Native environments by @ aryaemami59 in #4436Full Changelog: v2.2.5...v2.2.6
Package name: react-hook-form
🌫️ feat: #12148 support isValid when mode is set to onBlur (#12194)
🐞 fix #12021 issue with disable prop not reflecting on re-render without trigger by useEffect (#12193)
👩🌾 close #12168 optimise re-render with validating fields subscription (#12192)
🐞 fix #12127 issue with compare object value changed with object input (#12185)
🎲 improve : break out of recursive loops on first focus (#11827)
📖 fix example of ObjectKeys type (#11965)
thanks to @ suke & @ DPflasterer
👍 close #12108 useController should subscribe to exact field name of form's state (#12109)
👍 chore: upgrade app deps
🩻 fix: add useCallback for ref callback (#12078)
🚀 fix: skip call executeBuiltInValidation if no sub-fields left (#12054)
thanks to @ newsiberian, @ Wendystraite and @ abnud11
🐞 fix #12024 dirty not update issue with values prop (#12041)
🐞 fix: field array validate rules shift errors (#12033)
thanks to @ JardelCheung
Package name: react-pdf-html
No content.
Package name: react-router-dom
[email protected]
[email protected]
Important
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: