Skip to content

Commit

Permalink
fix(deps): update dependency react-hook-form to v7.48.2 (#9407)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-hook-form](https://www.react-hook-form.com)
([source](https://togithub.com/react-hook-form/react-hook-form)) |
[`7.46.1` ->
`7.48.2`](https://renovatebot.com/diffs/npm/react-hook-form/7.46.1/7.48.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-hook-form/7.48.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-hook-form/7.48.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-hook-form/7.46.1/7.48.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-hook-form/7.46.1/7.48.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

<details>
<summary>react-hook-form/react-hook-form (react-hook-form)</summary>

[`v7.48.2`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.48.2):
Version 7.48.2

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.48.1...v7.48.2)

🐞
[#&#8203;11106](https://togithub.com/react-hook-form/react-hook-form/issues/11106)
fix disabled prop not update dirty formState
([#&#8203;11143](https://togithub.com/react-hook-form/react-hook-form/issues/11143))
🐞 fix controller update with `disabled` prop from `useForm`
([#&#8203;11142](https://togithub.com/react-hook-form/react-hook-form/issues/11142))

[`v7.48.1`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.48.1):
Version 7.48.1

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.48.0...v7.48.1)

🐞 fix controller update with disabled prop from useForm

[`v7.48.0`](https://togithub.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7480---2023-11-05)

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.47.0...v7.48.0)

-   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);
          })}
        / >
      );
    }

[`v7.47.0`](https://togithub.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7470---2023-10-02)

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.46.2...v7.47.0)

[`v7.46.2`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.46.2):
Version 7.46.2

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.46.1...v7.46.2)

🐞 fix implicit type coercion
([#&#8203;10949](https://togithub.com/react-hook-form/react-hook-form/issues/10949))
🙄 close
[#&#8203;10932](https://togithub.com/react-hook-form/react-hook-form/issues/10932)
omit disabled prop when not defined
([#&#8203;10937](https://togithub.com/react-hook-form/react-hook-form/issues/10937))
🔧 fix controller test is dirty
([#&#8203;10899](https://togithub.com/react-hook-form/react-hook-form/issues/10899))

thanks to [@&#8203;samimakicc](https://togithub.com/samimakicc) &
[@&#8203;pierluigigiancola](https://togithub.com/pierluigigiancola)

</details>

---

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored and jtoar committed Nov 13, 2023
1 parent e0d176d commit a6ea0ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@babel/runtime-corejs3": "7.23.2",
"core-js": "3.32.2",
"pascalcase": "1.0.0",
"react-hook-form": "7.46.1"
"react-hook-form": "7.48.2"
},
"devDependencies": {
"@babel/cli": "7.23.0",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8677,7 +8677,7 @@ __metadata:
pascalcase: 1.0.0
react: 18.2.0
react-dom: 18.2.0
react-hook-form: 7.46.1
react-hook-form: 7.48.2
typescript: 5.2.2
peerDependencies:
graphql: 16.8.1
Expand Down Expand Up @@ -30006,12 +30006,12 @@ __metadata:
languageName: node
linkType: hard

"react-hook-form@npm:7.46.1":
version: 7.46.1
resolution: "react-hook-form@npm:7.46.1"
"react-hook-form@npm:7.48.2":
version: 7.48.2
resolution: "react-hook-form@npm:7.48.2"
peerDependencies:
react: ^16.8.0 || ^17 || ^18
checksum: 05377ee81083be98eef9fdb686c04f1309a3ca86a196d2aa48aa1bd0158ed54bbf8ab96bad19ef695dde8cd1a9b1e327ef35348fb30b496e0161da616154ff47
checksum: 77663276288d3e240da76c469612fec2bfb2dd34ed0512adb8554b8567e89a316c3df62266e51639f66a9a9d50ce175e8dc965f94bc31afecb460ed48333dafa
languageName: node
linkType: hard

Expand Down

0 comments on commit a6ea0ec

Please sign in to comment.