flaviuse / mern-authentication

MERN stack authentication boilerplate: password reset, email verification, server sessions, redux, typescript, hooks and docker for dev and prod.
https://mern-auth-client.herokuapp.com/login
MIT License
439 stars 95 forks source link

[Snyk] Upgrade react-hook-form from 7.34.1 to 7.34.2 #153

Closed flaviuse closed 2 years ago

flaviuse commented 2 years ago

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.34.1 to 7.34.2.

![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=react-hook-form&from_version=7.34.1&to_version=7.34.2&pr_id=6eb4299c-89ff-4658-9573-5db9606fd2c0&visibility=true&has_feature_flag=false) :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.
- The recommended version is **1 version** ahead of your current version. - The recommended version was released **21 days ago**, on 2022-08-15.
Release notes
Package name: react-hook-form
  • 7.34.2 - 2022-08-15

    Revert "๐Ÿงณ let isSubmitting state update after valid form (#8829)"

      </li>
      <li>
        <b>7.34.1</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.34.1">2022-08-12</a></br><p><g-emoji class="g-emoji" alias="lady_beetle" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41e.png">๐Ÿž</g-emoji> fix(path): keys of Date | FileList | File shouldn't be add to the PathImpl <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1330766306" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/8804" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/8804/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/8804">#8804</a><br>
    ๐Ÿž fix Date, FileList, File and Blob FieldErrors mapping #8772
    ๐ŸšŒ update isSubmitting state after valid form #8829

    function App() {
      const { formState: { isSubmitting }, register } = useForm()
    
      console.log(isSubmitting) // isSubmitting will remain false if form is invalid during submission
    
      return <form onSubmit={handleSubmit(async () => await sleep(1000))}>
        <input {...register('test', { required: true })} />
      </form>
    }

    ๐Ÿงƒ upgrade to cypress 10 #8769
    ๐Ÿ“– fix nested fields example #8840
    ๐Ÿ“– add nested form example #8703
    ๐Ÿ“– improve doc of single watch #8773
    ๐Ÿ“– fixing typo (Contruรญdo to Construรญdo) on pt-BR translation #8762

    thanks to @ HarmonyEarth, @ yleflour, @ glekner, @ vemoo, @ ronny1020 and @ joaoeffting

from react-hook-form GitHub release notes
Commit messages
Package name: react-hook-form
  • c6ba8ce 7.34.2
  • 593911f Revert "๐Ÿงณ let isSubmitting state update after valid form (#8829)"
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](https://app.snyk.io/org/flaviuse/project/67fbf59c-d76b-4c41-a75e-bc4fef683625?utm_source=github&utm_medium=referral&page=upgrade-pr) ๐Ÿ›  [Adjust upgrade PR settings](https://app.snyk.io/org/flaviuse/project/67fbf59c-d76b-4c41-a75e-bc4fef683625/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) ๐Ÿ”• [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/flaviuse/project/67fbf59c-d76b-4c41-a75e-bc4fef683625/settings/integration?pkg=react-hook-form&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)