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.47.0 to 7.48.2 in /api-edito…
Browse files Browse the repository at this point in the history
…r/gui (#1497)

Bumps
[react-hook-form](https://github.com/react-hook-form/react-hook-form)
from 7.47.0 to 7.48.2.
<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.48.2</h2>
<p>🐞 <a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11106">#11106</a>
fix disabled prop not update dirty formState (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11143">#11143</a>)
🐞 fix controller update with <code>disabled</code> prop from
<code>useForm</code> (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11142">#11142</a>)</p>
<h2>Version 7.48.1</h2>
<p>🐞 fix controller update with disabled prop from useForm</p>
<h2>Version 7.48.0</h2>
<p>🧱 feature: disable prop for useForm (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10496">#10496</a>)</p>
<pre lang="tsx"><code>const App = () =&gt; {
  const [disabled, setDisabled] = useState(false);
  const { handleSubmit } = useForm({ disabled });
<p>return (
&lt;form
onSubmit={handleSubmit(async () =&gt; {
setDisabled(true);
await sleep(100);
setDisabled(false);
})}
/ &gt;
);
}
</code></pre></p>
<p>😵‍💫 fixed typo in useFormContext (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11126">#11126</a>)
🫡 strictly manage constants and improve types (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11101">#11101</a>)
🐞 fix <a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11076">#11076</a>
disable toggle issue (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11090">#11090</a>)
🚀 fix: Solve the issue of race condition with resolver. (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10991">#10991</a>)
📖 docs: fix useWatch example syntax error (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11005">#11005</a>)
📝 readme arabic version (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10992">#10992</a>)</p>
<p>thanks to <a
href="https://github.com/Iyadchafroud"><code>@​Iyadchafroud</code></a>
<a href="https://github.com/domuk-k"><code>@​domuk-k</code></a> <a
href="https://github.com/mehunk"><code>@​mehunk</code></a> <a
href="https://github.com/ssi02014"><code>@​ssi02014</code></a> and <a
href="https://github.com/tykhan"><code>@​tykhan</code></a></p>
</blockquote>
</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>
<h1>Changelog</h1>
<h2>[7.48.0] - 2023-11-05</h2>
<h3>Added</h3>
<ul>
<li>added new <code>disabled</code> prop for <code>useForm</code> to
disable the entire form</li>
</ul>
<pre><code>const App = () =&gt; {
  const [disabled, setDisabled] = useState(false);
  const { handleSubmit } = useForm({ disabled });
<p>return (
&lt;form
onSubmit={handleSubmit(async () =&gt; {
setDisabled(true);
await sleep(100);
setDisabled(false);
})}
/ &gt;
);
}
</code></pre></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/ba8cc312950604657ff0aafe5ea6b19d849d26c1"><code>ba8cc31</code></a>
7.48.2</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/30e5c4286b2e988a741659e8b9b2fc7de1cf2a22"><code>30e5c42</code></a>
🐞 <a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11106">#11106</a>
fix disabled prop not update dirty formState (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11143">#11143</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/32f632a6dd109475fae7371bfedf882aba113563"><code>32f632a</code></a>
🐞 fix <code>controller</code> update with <code>disabled</code> prop
from <code>useForm</code> (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11142">#11142</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/e18e49b208cf6c85f91873e689235e6798c1432f"><code>e18e49b</code></a>
7.48.1</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/e2ffa7aff5e397d7e6e07ced32049ab7467d75a5"><code>e2ffa7a</code></a>
🥼 update changelog 7.48.0</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/9e7d812d64ac8e54f317f376b2818fe5cae52b74"><code>9e7d812</code></a>
7.48.0</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/c3b2249e6bdffbee5cf3a19b26cf90ecf8ef6d27"><code>c3b2249</code></a>
😵‍💫 fixed typo in useFormContext (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11126">#11126</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/a7ee911e13e3ea12e4a18ac120b9be091248688b"><code>a7ee911</code></a>
🫡 strictly manage constants and improve types (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11101">#11101</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/dd89833e9f8abc3c09e12be68b2e6356e473a4a5"><code>dd89833</code></a>
🐞 fix <a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11076">#11076</a>
disable toggle issue (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11090">#11090</a>)</li>
<li><a
href="https://github.com/react-hook-form/react-hook-form/commit/6d83aacb719671cd048832b332cb1d50933ab398"><code>6d83aac</code></a>
🚀 fix: Solve the issue of race condition with resolver. (<a
href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10991">#10991</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/react-hook-form/react-hook-form/compare/v7.47.0...v7.48.2">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.47.0&new-version=7.48.2)](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] committed Nov 29, 2023
1 parent 7b89329 commit a7ec065
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.47.0",
"react-hook-form": "^7.48.2",
"react-icons": "^4.12.0",
"react-markdown": "^8.0.7",
"react-redux": "^8.1.3",
Expand Down

0 comments on commit a7ec065

Please sign in to comment.