[Snyk] Upgrade react-hook-form from 7.43.7 to 7.50.1 #20
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 was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade react-hook-form from 7.43.7 to 7.50.1.
ℹ️ 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.
Release notes
Package name: react-hook-form
🥲 Regression: Revert "⌨️ fix #10734 watch and useWatch without parameters return type (#11359)"
🔧 fix data param in handleSubmit when TTransformedValues is a union type (#11420)✈️ fix #11281 issue with upgrade node version (#11392)
👷 build(Engines): remove pnpm dependency (#11425)
🐞 fixes #11386 get new dirtyFields when reset keeping defaults and dirty values (#11401)
🏷️ improve CustomElement type (#11309)
💫 feat(useForm): leave formState flags in a consistent state when throwing in handleSubmit onValid (#11214)
⌨️ fix: change DeepPartial to account for object union types & unknown (#11385)
✨ feat(values): priorities values over defaultvalues (#11399)
🐞 close #11246 skip root validation on action when mode and revalidate mode is onSubmit (#11395)
💩 fix #11322 trigger extra re-render with useWatch plus shouldUnregister (#11394)
⌨️ fix #10734 watch and useWatch without parameters return type (#11359)
🧑
🐞 fix #11368 keep form state mounted when keeping values (#11384)
🐞 fix #11374: Nested deep partial with unknown (#11373)
thanks to @ Moshyfawn, @ jonahallibone, @ eladattias1996, @ RulerOfCakes, @ anonkey, @ Ar4ys, @ IanVS and @ r-kataoka11
🐛 fix(formState, disabled): infer controlled disabled form state (#11361)
🐛 fix(reset): remove global reset option flag (#11355)
🐛 fix(useController): check if disabled state was set by user (#11353)
🖨️ fix: Change DeepPartial type definition to be compatible with unknown (#11333)
🐞 fix #11328 resetField with object as defaultValue (#11329)
thanks to @ Moshyfawn, @ geeee and @ RulerOfCakes
🐞 fix #11292 issue with controller validation prop (#11294)
🐞 fix #11276 issue with disabled omit on Controller (#11277)
🐞 fix #11287 disabled prop cause const dirtyFields update (#11291)
Read more
🐞 #11106 fix disabled prop not update dirty formState (#11143)
🐞 fix controller update with
disabled
prop fromuseForm
(#11142)🐞 fix controller update with disabled prop from useForm
Read more
🫡 allow keepIsSubmitSuccessful flag (#9640)
<Form
onSubmit={() => {
reset(formValues, {
keepIsSubmitSuccessful: true,
});
}}
/>
🦉 fix typo in form.ts (#10978)
🤡 close #10907 potential fix on unmounted component (#10980)
🪖 simplify logic for subscription by name (#10947)
thanks to @ stefanpl, @ kai-dorschner-twinsity & @ nitschSB
Commit messages
Package name: react-hook-form
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs