From a7ec06578a056fc8c6b463c9ebab464a7699d51d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 29 Nov 2023 18:17:08 +0100
Subject: [PATCH] build(deps): Bump react-hook-form from 7.47.0 to 7.48.2 in
/api-editor/gui (#1497)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps
[react-hook-form](https://github.com/react-hook-form/react-hook-form)
from 7.47.0 to 7.48.2.
Release notes
Sourced from react-hook-form's
releases.
Version 7.48.2
๐ #11106
fix disabled prop not update dirty formState (#11143)
๐ fix controller update with disabled
prop from
useForm
(#11142)
Version 7.48.1
๐ fix controller update with disabled prop from useForm
Version 7.48.0
๐งฑ feature: disable prop for useForm (#10496)
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
Changelog
Sourced from react-hook-form's
changelog.
Changelog
[7.48.0] - 2023-11-05
Added
- added new
disabled
prop for useForm
to
disable the entire form
const App = () => {
const [disabled, setDisabled] = useState(false);
const { handleSubmit } = useForm({ disabled });
return (
<form
onSubmit={handleSubmit(async () => {
setDisabled(true);
await sleep(100);
setDisabled(false);
})}
/ >
);
}
Commits
[![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)
---
Dependabot commands and options
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 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)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
api-editor/gui/package-lock.json | 14 +++++++-------
api-editor/gui/package.json | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/api-editor/gui/package-lock.json b/api-editor/gui/package-lock.json
index 4800aab96..33b9a0313 100644
--- a/api-editor/gui/package-lock.json
+++ b/api-editor/gui/package-lock.json
@@ -26,7 +26,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",
@@ -8669,9 +8669,9 @@
}
},
"node_modules/react-hook-form": {
- "version": "7.47.0",
- "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.47.0.tgz",
- "integrity": "sha512-F/TroLjTICipmHeFlMrLtNLceO2xr1jU3CyiNla5zdwsGUGu2UOxxR4UyJgLlhMwLW/Wzp4cpJ7CPfgJIeKdSg==",
+ "version": "7.48.2",
+ "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.48.2.tgz",
+ "integrity": "sha512-H0T2InFQb1hX7qKtDIZmvpU1Xfn/bdahWBN1fH19gSe4bBEqTfmlr7H3XWTaVtiK4/tpPaI1F3355GPMZYge+A==",
"engines": {
"node": ">=12.22.0"
},
@@ -16373,9 +16373,9 @@
}
},
"react-hook-form": {
- "version": "7.47.0",
- "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.47.0.tgz",
- "integrity": "sha512-F/TroLjTICipmHeFlMrLtNLceO2xr1jU3CyiNla5zdwsGUGu2UOxxR4UyJgLlhMwLW/Wzp4cpJ7CPfgJIeKdSg==",
+ "version": "7.48.2",
+ "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.48.2.tgz",
+ "integrity": "sha512-H0T2InFQb1hX7qKtDIZmvpU1Xfn/bdahWBN1fH19gSe4bBEqTfmlr7H3XWTaVtiK4/tpPaI1F3355GPMZYge+A==",
"requires": {}
},
"react-icons": {
diff --git a/api-editor/gui/package.json b/api-editor/gui/package.json
index efbc18485..e25fc3df4 100644
--- a/api-editor/gui/package.json
+++ b/api-editor/gui/package.json
@@ -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",