[Snyk] Upgrade react-hook-form from 7.32.2 to 7.49.3 #130
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.32.2 to 7.49.3.
ℹ️ 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.
The recommended version fixes:
SNYK-JS-SEMVER-3247795
Why? Proof of Concept exploit, CVSS 7.5
SNYK-JS-WORDWRAP-3149973
Why? Proof of Concept exploit, CVSS 7.5
SNYK-JS-BABELTRAVERSE-5962462
Why? Proof of Concept exploit, CVSS 7.5
SNYK-JS-FOLLOWREDIRECTS-6141137
Why? Proof of Concept exploit, CVSS 7.5
SNYK-JS-SEMVER-3247795
Why? Proof of Concept exploit, CVSS 7.5
SNYK-JS-JSON5-3182856
Why? Proof of Concept exploit, CVSS 7.5
SNYK-JS-JSON5-3182856
Why? Proof of Concept exploit, CVSS 7.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: react-hook-form
🐛 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)
📮 feat: add reactive errors prop at useForm (#11188)
🖥️ feat: add react-server bundle (#11162)
🔩 chore: upgrade Node.js and pnpm (#11163)
🪖 feat: add ValidationModeFlags Type (#11144)
🐞 fix #11267 disabled prop does not affect controller validation (#11273)
🔧 refactor(util function): Enhance Consistency in Utility Functions: Standardizing Export, Function Types, and Naming (#11268)
⌨️ change type structure of UseFormHandleSubmit (#11245)
📮 fix(#11239): Set fields disabled state based on form and field disabled (#11241)
🍢 improved getDirtyFieldsFromDefaultValues type (#11238)
🐞 fix #11229 issue with values not re-render the root form (#11231)
🐞 fix #11218 useFieldArray focus issue with rules prop (#11221)
🔧 chore: improved isObjectType and swap (#11183)
thanks to @ kotarella1110, @ ssi02014, @ thomasdbock, @ mildfuzz and @ Lennon57
🐞 #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
🧱 feature: disable prop for useForm (#10496)
const [disabled, setDisabled] = useState(false);
const { handleSubmit } = useForm({ disabled });
return (
<form
onSubmit={handleSubmit(async () => {
setDisabled(true);
await sleep(100);
setDisabled(false);
})}
/ >
);
}
😵💫 fixed typo in useFormContext (#11126)
🫡 strictly manage constants and improve types (#11101)
🐞 fix #11076 disable toggle issue (#11090)
🚀 fix: Solve the issue of race condition with resolver. (#10991)
📖 docs: fix useWatch example syntax error (#11005)
📝 readme arabic version (#10992)
thanks to @ Iyadchafroud @ domuk-k @ mehunk @ ssi02014 and @ tykhan
Read more
Read more
🐞 fix #10878 return disabled field state (#10879)
thanks to @ Moshyfawn
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