opengovsg / checkfirst

Don't Know? CheckFirst. A tool to build eligibility checkers and calculators for Singapore Government policies
https://checkfirst.gov.sg
Other
11 stars 6 forks source link

[Snyk] Upgrade react-hook-form from 7.18.1 to 7.48.2 #1462

Closed liangyuanruo closed 1 month ago

liangyuanruo commented 9 months 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.18.1 to 7.48.2.

: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 **123 versions** ahead of your current version. - The recommended version was released **a month ago**, on 2023-11-05.
Release notes
Package name: react-hook-form
  • 7.48.2 - 2023-11-05

    ๐Ÿž #11106 fix disabled prop not update dirty formState (#11143)
    ๐Ÿž fix controller update with disabled prop from useForm (#11142)

      </li>
      <li>
        <b>7.48.1</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.48.1">2023-11-04</a></br><p>๐Ÿž fix controller update with disabled prop from useForm</p>
      </li>
      <li>
        <b>7.48.0</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.48.0">2023-11-04</a></br><p>๐Ÿงฑ feature: disable prop for useForm (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1740200067" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/10496" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/10496/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/10496">#10496</a>)</p>

    <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const App = () => { const [disabled, setDisabled] = useState(false); const { handleSubmit } = useForm({ disabled });

    return ( <form onSubmit={handleSubmit(async () => { setDisabled(true); await sleep(100); setDisabled(false); })} / > ); }">

    const App = () => {
    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

  </li>
  <li>
    <b>7.47.0</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.47.0">2023-10-02</a></br><p>๐Ÿซก allow keepIsSubmitSuccessful flag (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1504844437" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/9640" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/9640/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/9640">#9640</a>)</p>

<div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const { reset } = useForm()

<Form onSubmit={() => { reset(formValues, { keepIsSubmitSuccessful: true, }); }} />">

const { reset } = useForm()

<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

  </li>
  <li>
    <b>7.46.2</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.46.2">2023-09-21</a></br><p>๐Ÿž fix implicit type coercion (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1902693730" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/10949" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/10949/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/10949">#10949</a>)<br>

๐Ÿ™„ close #10932 omit disabled prop when not defined (#10937)
๐Ÿ”ง fix controller test is dirty (#10899)

thanks to @ samimakicc & @ pierluigigiancola

  </li>
  <li>
    <b>7.46.1</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.46.1">2023-09-04</a></br><p>๐Ÿž fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1879397760" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/10878" data-hovercard-type="issue" data-hovercard-url="/react-hook-form/react-hook-form/issues/10878/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/issues/10878">#10878</a> return disabled field state (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1879427432" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/10879" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/10879/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/10879">#10879</a>)</p>

thanks to @ Moshyfawn

  </li>
  <li>
    <b>7.46.0</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.46.0">2023-09-03</a></br><p>๐ŸงŸโ€โ™‚๏ธ feat: support disabled prop for useController (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1857920909" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/10810" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/10810/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/10810">#10810</a>)</p>

const [disabled, setDisabled] = useState(false)
useController({
disabled
})

๐Ÿซ– prevent reset argument mutation (#10847)
๐Ÿž fix: add exact option for array name in useWatch. (#10707)
๐Ÿž update isDirty when setting disabled in register (#10805)
๐Ÿงถ feat: trigger passed names to construct resolver options (#10590)

thanks to @ selimb @ vonagam @ jgullstr and @ rabbitson87

  </li>
  <li>
    <b>7.46.0-next.0</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.46.0-next.0">2023-08-13</a></br><a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.46.0-next.0"> Read more </a>
  </li>
  <li>
    <b>7.45.4</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.45.4">2023-08-05</a></br><p>๐Ÿž fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1837444784" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/10767" data-hovercard-type="issue" data-hovercard-url="/react-hook-form/react-hook-form/issues/10767/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/issues/10767">#10767</a> dep issue with replayio (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1837762524" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/10768" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/10768/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/10768">#10768</a>)<br>

๐Ÿž fix #10762 async submit with Form component (#10766)
๐Ÿซ– add test case for issue #10744 to avoid future regressions (#10759)

thanks to @ eg-bernardo

  </li>
  <li>
    <b>7.45.3</b> - 2023-08-04
  </li>
  <li>
    <b>7.45.2</b> - 2023-07-17
  </li>
  <li>
    <b>7.45.1</b> - 2023-06-28
  </li>
  <li>
    <b>7.45.0</b> - 2023-06-19
  </li>
  <li>
    <b>7.45.0-next.1</b> - 2023-06-18
  </li>
  <li>
    <b>7.45.0-next.0</b> - 2023-06-11
  </li>
  <li>
    <b>7.44.3</b> - 2023-06-01
  </li>
  <li>
    <b>7.44.3-beta.1</b> - 2023-05-31
  </li>
  <li>
    <b>7.44.3-beta.0</b> - 2023-05-31
  </li>
  <li>
    <b>7.44.2</b> - 2023-05-28
  </li>
  <li>
    <b>7.44.1</b> - 2023-05-27
  </li>
  <li>
    <b>7.44.0</b> - 2023-05-27
  </li>
  <li>
    <b>7.44.0-rc.5</b> - 2023-05-20
  </li>
  <li>
    <b>7.44.0-rc.4</b> - 2023-05-20
  </li>
  <li>
    <b>7.44.0-rc.3</b> - 2023-05-07
  </li>
  <li>
    <b>7.44.0-rc.1</b> - 2023-04-15
  </li>
  <li>
    <b>7.44.0-rc.0</b> - 2023-03-10
  </li>
  <li>
    <b>7.44.0-next.1</b> - 2023-02-16
  </li>
  <li>
    <b>7.44.0-next.0</b> - 2023-02-09
  </li>
  <li>
    <b>7.43.9</b> - 2023-03-30
  </li>
  <li>
    <b>7.43.8</b> - 2023-03-24
  </li>
  <li>
    <b>7.43.7</b> - 2023-03-18
  </li>
  <li>
    <b>7.43.6</b> - 2023-03-17
  </li>
  <li>
    <b>7.43.5</b> - 2023-03-06
  </li>
  <li>
    <b>7.43.4</b> - 2023-03-03
  </li>
  <li>
    <b>7.43.3</b> - 2023-03-01
  </li>
  <li>
    <b>7.43.2</b> - 2023-02-22
  </li>
  <li>
    <b>7.43.1</b> - 2023-02-07
  </li>
  <li>
    <b>7.43.0</b> - 2023-01-30
  </li>
  <li>
    <b>7.43.0-next.0</b> - 2023-01-18
  </li>
  <li>
    <b>7.42.1</b> - 2023-01-15
  </li>
  <li>
    <b>7.42.0</b> - 2023-01-13
  </li>
  <li>
    <b>7.42.0-next.0</b> - 2023-01-01
  </li>
  <li>
    <b>7.41.8-beta.0</b> - 2023-01-04
  </li>
  <li>
    <b>7.41.5</b> - 2023-01-04
  </li>
  <li>
    <b>7.41.4</b> - 2023-01-03
  </li>
  <li>
    <b>7.41.3</b> - 2022-12-30
  </li>
  <li>
    <b>7.41.2</b> - 2022-12-28
  </li>
  <li>
    <b>7.41.1</b> - 2022-12-23
  </li>
  <li>
    <b>7.41.0</b> - 2022-12-16
  </li>
  <li>
    <b>7.40.0</b> - 2022-11-29
  </li>
  <li>
    <b>7.40.0-next.1</b> - 2022-11-23
  </li>
  <li>
    <b>7.40.0-next.0</b> - 2022-11-17
  </li>
  <li>
    <b>7.39.7</b> - 2022-11-28
  </li>
  <li>
    <b>7.39.6</b> - 2022-11-27
  </li>
  <li>
    <b>7.39.5</b> - 2022-11-21
  </li>
  <li>
    <b>7.39.4</b> - 2022-11-14
  </li>
  <li>
    <b>7.39.3</b> - 2022-11-10
  </li>
  <li>
    <b>7.39.2</b> - 2022-11-09
  </li>
  <li>
    <b>7.39.1</b> - 2022-11-02
  </li>
  <li>
    <b>7.39.0</b> - 2022-11-01
  </li>
  <li>
    <b>7.38.0</b> - 2022-10-18
  </li>
  <li>
    <b>7.37.0</b> - 2022-10-06
  </li>
  <li>
    <b>7.37.0-next.0</b> - 2022-09-29
  </li>
  <li>
    <b>7.36.1</b> - 2022-09-23
  </li>
  <li>
    <b>7.36.0</b> - 2022-09-20
  </li>
  <li>
    <b>7.35.0</b> - 2022-09-09
  </li>
  <li>
    <b>7.35.0-next.0</b> - 2022-08-25
  </li>
  <li>
    <b>7.34.2</b> - 2022-08-15
  </li>
  <li>
    <b>7.34.1</b> - 2022-08-12
  </li>
  <li>
    <b>7.34.0</b> - 2022-07-28
  </li>
  <li>
    <b>7.34.0-next.0</b> - 2022-07-10
  </li>
  <li>
    <b>7.33.1</b> - 2022-07-01
  </li>
  <li>
    <b>7.33.0</b> - 2022-06-24
  </li>
  <li>
    <b>7.32.2</b> - 2022-06-17
  </li>
  <li>
    <b>7.32.1</b> - 2022-06-14
  </li>
  <li>
    <b>7.32.0</b> - 2022-06-10
  </li>
  <li>
    <b>7.31.3</b> - 2022-05-27
  </li>
  <li>
    <b>7.31.2</b> - 2022-05-20
  </li>
  <li>
    <b>7.31.1</b> - 2022-05-10
  </li>
  <li>
    <b>7.31.0</b> - 2022-05-10
  </li>
  <li>
    <b>7.30.0</b> - 2022-04-17
  </li>
  <li>
    <b>7.29.0</b> - 2022-03-30
  </li>
  <li>
    <b>7.28.1</b> - 2022-03-20
  </li>
  <li>
    <b>7.28.0</b> - 2022-03-13
  </li>
  <li>
    <b>7.28.0-next.0</b> - 2022-02-26
  </li>
  <li>
    <b>7.27.1</b> - 2022-02-19
  </li>
  <li>
    <b>7.27.0</b> - 2022-02-11
  </li>
  <li>
    <b>7.26.1</b> - 2022-02-07
  </li>
  <li>
    <b>7.26.0</b> - 2022-02-04
  </li>
  <li>
    <b>7.25.3</b> - 2022-01-29
  </li>
  <li>
    <b>7.25.2</b> - 2022-01-28
  </li>
  <li>
    <b>7.25.1</b> - 2022-01-25
  </li>
  <li>
    <b>7.25.0</b> - 2022-01-21
  </li>
  <li>
    <b>7.24.2</b> - 2022-01-20
  </li>
  <li>
    <b>7.24.1</b> - 2022-01-18
  </li>
  <li>
    <b>7.24.0</b> - 2022-01-14
  </li>
  <li>
    <b>7.23.0</b> - 2022-01-12
  </li>
  <li>
    <b>7.23.0-next.1</b> - 2022-01-07
  </li>
  <li>
    <b>7.23.0-next.0</b> - 2021-12-30
  </li>
  <li>
    <b>7.22.5</b> - 2021-12-24
  </li>
  <li>
    <b>7.22.4</b> - 2021-12-23
  </li>
  <li>
    <b>7.22.3</b> - 2021-12-21
  </li>
  <li>
    <b>7.22.2</b> - 2021-12-18
  </li>
  <li>
    <b>7.22.1</b> - 2021-12-15
  </li>
  <li>
    <b>7.22.0</b> - 2021-12-13
  </li>
  <li>
    <b>7.21.3-beta.0</b> - 2021-12-11
  </li>
  <li>
    <b>7.21.2</b> - 2021-12-10
  </li>
  <li>
    <b>7.21.1</b> - 2021-12-10
  </li>
  <li>
    <b>7.21.1-0</b> - 2021-12-09
  </li>
  <li>
    <b>7.21.0</b> - 2021-12-06
  </li>
  <li>
    <b>7.20.5</b> - 2021-11-30
  </li>
  <li>
    <b>7.20.4</b> - 2021-11-26
  </li>
  <li>
    <b>7.20.3</b> - 2021-11-26
  </li>
  <li>
    <b>7.20.2</b> - 2021-11-20
  </li>
  <li>
    <b>7.20.1</b> - 2021-11-19
  </li>
  <li>
    <b>7.20.0</b> - 2021-11-19
  </li>
  <li>
    <b>7.19.5</b> - 2021-11-12
  </li>
  <li>
    <b>7.19.4</b> - 2021-11-11
  </li>
  <li>
    <b>7.19.3</b> - 2021-11-10
  </li>
  <li>
    <b>7.19.2</b> - 2021-11-10
  </li>
  <li>
    <b>7.19.1</b> - 2021-11-07
  </li>
  <li>
    <b>7.19.0</b> - 2021-11-05
  </li>
  <li>
    <b>7.19.0-next.0</b> - 2021-10-30
  </li>
  <li>
    <b>7.18.1</b> - 2021-11-01
  </li>
</ul>
from <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases">react-hook-form GitHub release notes</a>

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