Closed snyk-bot closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/villivald/koripallo/9D9hxqnMA7vXkmYX7eqiPkrxBoej
✅ Preview: https://koripallo-git-snyk-upgrade-21fea33ad22f22dd629-92c5ad-villivald.vercel.app
🔍 Inspect: https://vercel.com/villivald/koripallopaikat/7xTfPs5SB8FECT3AgzTd9ogUmMPY
✅ Preview: https://koripallopaikat-git-snyk-upgrade-21fea33ad22f2-c33feb-villivald.vercel.app
Snyk has created this PR to upgrade react-hook-form from 7.9.0 to 7.11.1.
:information_source: 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
update
method for useFieldArray (#5835)👨🏻💻 chore: allow readonly tuple in useWatch generic params (#5845)
7.10.2-beta.0
7.10.1-beta.0
defaultValue
atuseFieldArray
as a required prop (#5636)function Test() { const { control, register } = useForm(); const { fields, append, prepend, remove, swap, move, insert } = useFieldArray({ control, name: "test", }); return ( {fields.map((field, index) => ( <input key={field.id} // important to include key with field's id {...register(`test.${index}.value`)} - defaultValue={field.value} // no longer required /> ))} ); }
👨🏻💻 fix #5787 controller type for defaultValue (#5792)
😿 fix #5777 regression on unmount defaultValue with shouldUnregister:true (#5778)
📅 close #5724 setValue skip parse date time as object (#5729)
🎮 #5712 enable controller with native validation (#5716)
🐛 fix spread non-primitive values in nested array fields (#5705)
🎪 batch single watch update (#5707)
🏟️ batch unregister inputs (#5706)
🐞 fix #5699 trigger not focusing first input with error (#5700)
Commit messages
Package name: react-hook-form
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