Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
build(deps): Bump react-hook-form from 7.45.1 to 7.47.0 in /api-edito…
Browse files Browse the repository at this point in the history
…r/gui (#1446)

Bumps
[react-hook-form](https://github.com/react-hook-form/react-hook-form)
from 7.45.1 to 7.47.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/react-hook-form/react-hook-form/releases">react-hook-form's
releases</a>.</em></p>
<blockquote>
<h2>Version 7.47.0</h2>
<p>🫡 allow keepIsSubmitSuccessful flag (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/9640">#9640</a>)</p>
<pre lang="tsx"><code>const { reset } = useForm()
<p>&lt;Form
onSubmit={() =&gt; {
reset(formValues, {
keepIsSubmitSuccessful: true,
});
}}
/&gt;
</code></pre></p>
<p>🦉 fix typo in form.ts (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10978">#10978</a>)
🤡 close <a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10907">#10907</a>
potential fix on unmounted component (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10980">#10980</a>)
🪖 simplify logic for subscription by name (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10947">#10947</a>)</p>
<p>thanks to <a
href="https://github.com/stefanpl"><code>@​stefanpl</code></a>, <a
href="https://github.com/kai-dorschner-twinsity"><code>@​kai-dorschner-twinsity</code></a>
&amp; <a
href="https://github.com/nitschSB"><code>@​nitschSB</code></a></p>
<h2>Version 7.46.2</h2>
<p>🐞 fix implicit type coercion (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10949">#10949</a>)
🙄 close <a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10932">#10932</a>
omit disabled prop when not defined (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10937">#10937</a>)
🔧 fix controller test is dirty (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10899">#10899</a>)</p>
<p>thanks to <a
href="https://github.com/samimakicc"><code>@​samimakicc</code></a> &amp;
<a
href="https://github.com/pierluigigiancola"><code>@​pierluigigiancola</code></a></p>
<h2>Version 7.46.1</h2>
<p>🐞 fix <a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10878">#10878</a>
return disabled field state (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10879">#10879</a>)</p>
<p>thanks to <a
href="https://github.com/Moshyfawn"><code>@​Moshyfawn</code></a></p>
<h2>Version 7.46.0</h2>
<p>🧟‍♂️ feat: support disabled prop for useController (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10810">#10810</a>)</p>
<pre lang="tsx"><code>const [disabled, setDisabled] = useState(false)
useController({
  disabled
})
</code></pre>
<ul>
<li>field value will be disabled</li>
<li>field value will be omitted</li>
</ul>
<p>🫖 prevent reset argument mutation (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10847">#10847</a>)
🐞 fix: add exact option for array name in useWatch. (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10707">#10707</a>)
🐞 update isDirty when setting disabled in register (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10805">#10805</a>)
🧶 feat: trigger passed names to construct resolver options (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10590">#10590</a>)</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md">react-hook-form's
changelog</a>.</em></p>
<blockquote>
<h2>[7.47.0] - 2023-10-02</h2>
<h2>Added</h2>
<ul>
<li><code>reset</code> api with <code>keepIsSubmitSuccessful</code>
option, keep successfully submitted form state.</li>
</ul>
<pre lang="tsx"><code>&lt;Form
  onSubmit={() =&gt; {
    reset(formValues, {
      keepIsSubmitSuccessful: true,
    });
  }}
/&gt;
</code></pre>
<h2>[7.46.0] - 2023-09-03</h2>
<h2>Added</h2>
<ul>
<li>Controller <code>disabled</code> prop</li>
</ul>
<pre lang="jsx"><code>const [disabled, setDisabled] = useState(false);
useController({
  disabled,
});
</code></pre>
<ul>
<li>Trigger passed names to construct resolver options</li>
<li>Add <code>exact</code> option for array name in
<code>useWatch</code></li>
</ul>
<h2>Changed</h2>
<ul>
<li>Update <code>isDirty</code> when setting <code>disabled</code> in
<code>register</code></li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Prevent <code>reset</code> argument mutation</li>
</ul>
<h2>[7.45.0] - 2023-06-20</h2>
<h2>Changed</h2>
<ul>
<li>Controller with type check on <code>onChange</code></li>
</ul>
<pre lang="diff"><code>- onChange: (...event: any[]) =&gt; void;
+ onChange: (event: ChangeEvent | FieldPathValue&lt;TFieldValues,
TName&gt;) =&gt; void;
</code></pre>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/78f9870606db1887ba63b33d1432395c45b98377"><code>78f9870</code></a>
7.47.0</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/d7d45c80d50f32b735c9d7574498e0242e130349"><code>d7d45c8</code></a>
🤡 close <a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10907">#10907</a>
potential fix on unmounted component (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10980">#10980</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/f540e343337902fec63e4b8639ded82101deb085"><code>f540e34</code></a>
🦉 fix typo in form.ts (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10978">#10978</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/dab71a50841531779c7dd4151ff68c96e967bfae"><code>dab71a5</code></a>
📖 update README.md</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/5dbe834b41b1b84dab2e89c1806fd06f714c81d9"><code>5dbe834</code></a>
🫡 allow <code>keepIsSubmitSuccessful</code> flag (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/9640">#9640</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/ef34e906a983c6db0dba6fc166fcf07179df2889"><code>ef34e90</code></a>
📝 update README.md</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/de4a917f801bf72434ecc199c9fa2773471199f3"><code>de4a917</code></a>
🪖 simplify logic for subscription by name (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10947">#10947</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/75393f18fffc87e574fff08086689b8fc7f323af"><code>75393f1</code></a>
7.46.2</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/27ff8af74c3f1a2198c1f8f52127c0e976b68ba3"><code>27ff8af</code></a>
🐞 fix implicit type coercion (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10949">#10949</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/5fe56141a5b756e1d928efa0fbf2d5635edd8b58"><code>5fe5614</code></a>
🙄 close <a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10932">#10932</a>
omit disabled prop when not defined (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10937">#10937</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/react-hook-form/react-hook-form/compare/v7.45.1...v7.47.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-hook-form&package-manager=npm_and_yarn&previous-version=7.45.1&new-version=7.47.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 2, 2023
1 parent b795bf6 commit c0646f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions api-editor/gui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api-editor/gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.45.1",
"react-hook-form": "^7.47.0",
"react-icons": "^4.10.1",
"react-markdown": "^8.0.7",
"react-redux": "^8.1.1",
Expand Down

0 comments on commit c0646f1

Please sign in to comment.