From f7c21ee8784fea208191d202aa1284482b91078d Mon Sep 17 00:00:00 2001 From: Matthias Prost Date: Thu, 12 Dec 2024 17:02:01 +0100 Subject: [PATCH] Revert "fix(deps): update dependency react-hook-form to v7.54.0" (#4578) * Revert "fix(deps): update dependency react-hook-form to v7.54.0 (#4567)" This reverts commit 5a9bc84498d06b6bfd28fd8589872f3b7e7b77b8. * fix: add changeset --- .changeset/fair-lamps-perform.md | 5 +++++ packages/form/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/fair-lamps-perform.md diff --git a/.changeset/fair-lamps-perform.md b/.changeset/fair-lamps-perform.md new file mode 100644 index 0000000000..de71b6651d --- /dev/null +++ b/.changeset/fair-lamps-perform.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/form": patch +--- + +Revert react hook form creating infinite loop diff --git a/packages/form/package.json b/packages/form/package.json index a9251b33ef..ae3b20cb29 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -84,7 +84,7 @@ "@babel/runtime": "7.26.0", "@ultraviolet/themes": "workspace:*", "@ultraviolet/ui": "workspace:*", - "react-hook-form": "7.54.0", + "react-hook-form": "7.53.2", "react-select": "5.8.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a24c5432e6..faf3428845 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -485,8 +485,8 @@ importers: specifier: workspace:* version: link:../ui react-hook-form: - specifier: 7.54.0 - version: 7.54.0(react@18.3.1) + specifier: 7.53.2 + version: 7.53.2(react@18.3.1) react-select: specifier: 5.8.3 version: 5.8.3(@types/react@18.3.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -6650,8 +6650,8 @@ packages: peerDependencies: react: ^18.3.1 - react-hook-form@7.54.0: - resolution: {integrity: sha512-PS05+UQy/IdSbJNojBypxAo9wllhHgGmyr8/dyGQcPoiMf3e7Dfb9PWYVRco55bLbxH9S+1yDDJeTdlYCSxO3A==} + react-hook-form@7.53.2: + resolution: {integrity: sha512-YVel6fW5sOeedd1524pltpHX+jgU2u3DSDtXEaBORNdqiNrsX/nUI/iGXONegttg0mJVnfrIkiV0cmTU6Oo2xw==} engines: {node: '>=18.0.0'} peerDependencies: react: ^16.8.0 || ^17 || ^18 || ^19 @@ -14996,7 +14996,7 @@ snapshots: react: 18.3.1 scheduler: 0.23.2 - react-hook-form@7.54.0(react@18.3.1): + react-hook-form@7.53.2(react@18.3.1): dependencies: react: 18.3.1