From f96d055fd995561bf31b86a62ab5cfffdb79dad6 Mon Sep 17 00:00:00 2001 From: dependabot <49699333+dependabot@users.noreply.github.com> Date: Tue, 18 Jun 2024 15:37:02 +0000 Subject: [PATCH] build(deps): bump react-hook-form from 7.51.4 to 7.52.0 (#2677) 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.51.4 to 7.52.0.
Release notes

Sourced from react-hook-form's releases.

v7.52.0

⚛️ close #11932 enable react 19 peer dependency (#11935) 👮‍♀️ close #11954 getFieldState remove unnessaried inValidating and touched subscription (#11995) 🐞 fix #11985 logic createFormControl check field before usage (#11986) ⌨️ fix: enforce type safety for deps property in RegisterOptions (#11969) 🐞 fix #11922 keep dirty on reset with dirty fields (#11958) 🚔 close #11937 add validation in the cleanup process in useController (#11938) Revert "⌨️ close: correct type of error field in getFieldState return object (#11831)" 📖 fix: change info.values type in WatchObserver (#11917)

thanks to @​nakaakist, @​IdoBouskila, @​pincy and @​peinguin

v7.51.5

📖 fix broken link to examples in README.md (#11805) ⌨️ close: correct type of error field in getFieldState return object (#11831) 🐞 fix #11842 radio buttons not disabled when multiple share a name (#11873) 🐞 fix #11821 set value with disabled false before mount (#11880) 🐞 fix setError to preserve existing errors elsewhere in the object (#11888) ⌨️ fix: add info.value type to WatchObserver (#11872) 🫡 fix issue with internal set api (#11915)

thanks to @​mjr2595 @​erashu212 @​SimonJTurner and @​peinguin

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.51.4&new-version=7.52.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) ---
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)
--- ## PR-Codex overview This PR updates `react-hook-form` to version 7.52.0 for improved functionality and compatibility with other packages. ### Detailed summary - Updated `react-hook-form` to version 7.52.0 - Updated dependencies related to `react-hook-form` to match the new version - Updated peer dependencies for `react` to include version 19 > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 65ceca699..b0388c724 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "react-children-utilities": "^2.10.0", "react-dom": "18.3.1", "react-dropzone": "^14.2.3", - "react-hook-form": "7.51.4", + "react-hook-form": "7.52.0", "react-icons": "^5.2.1", "react-intersection-observer": "^9.10.3", "react-markdown": "^9.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b8f26f95a..173d4d362 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,7 +33,7 @@ dependencies: version: 11.11.5(@emotion/react@11.11.4)(@types/react@18.3.3)(react@18.3.1) '@hookform/resolvers': specifier: ^3.6.0 - version: 3.6.0(react-hook-form@7.51.4) + version: 3.6.0(react-hook-form@7.52.0) '@n8tb1t/use-scroll-position': specifier: ^2.0.3 version: 2.0.3(@types/react@18.3.3)(react@18.3.1) @@ -206,8 +206,8 @@ dependencies: specifier: ^14.2.3 version: 14.2.3(react@18.3.1) react-hook-form: - specifier: 7.51.4 - version: 7.51.4(react@18.3.1) + specifier: 7.52.0 + version: 7.52.0(react@18.3.1) react-icons: specifier: ^5.2.1 version: 5.2.1(react@18.3.1) @@ -3914,12 +3914,12 @@ packages: react-dom: 18.3.1(react@18.3.1) dev: false - /@hookform/resolvers@3.6.0(react-hook-form@7.51.4): + /@hookform/resolvers@3.6.0(react-hook-form@7.52.0): resolution: {integrity: sha512-UBcpyOX3+RR+dNnqBd0lchXpoL8p4xC21XP8H6Meb8uve5Br1GCnmg0PcBoKKqPKgGu9GHQ/oygcmPrQhetwqw==} peerDependencies: react-hook-form: ^7.0.0 dependencies: - react-hook-form: 7.51.4(react@18.3.1) + react-hook-form: 7.52.0(react@18.3.1) dev: false /@humanwhocodes/config-array@0.11.14: @@ -16957,11 +16957,11 @@ packages: use-sidecar: 1.1.2(@types/react@18.3.3)(react@18.3.1) dev: false - /react-hook-form@7.51.4(react@18.3.1): - resolution: {integrity: sha512-V14i8SEkh+V1gs6YtD0hdHYnoL4tp/HX/A45wWQN15CYr9bFRmmRdYStSO5L65lCCZRF+kYiSKhm9alqbcdiVA==} + /react-hook-form@7.52.0(react@18.3.1): + resolution: {integrity: sha512-mJX506Xc6mirzLsmXUJyqlAI3Kj9Ph2RhplYhUVffeOQSnubK2uVqBFOBJmvKikvbFV91pxVXmDiR+QMF19x6A==} engines: {node: '>=12.22.0'} peerDependencies: - react: ^16.8.0 || ^17 || ^18 + react: ^16.8.0 || ^17 || ^18 || ^19 dependencies: react: 18.3.1 dev: false