From 05e74ef3276046e41cb32afc09027ced4647af69 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 11 Sep 2024 10:01:44 +0000 Subject: [PATCH] fix: upgrade react-hook-form from 7.46.2 to 7.52.2 Snyk has created this PR to upgrade react-hook-form from 7.46.2 to 7.52.2. See this package in npm: react-hook-form See this project in Snyk: https://app.snyk.io/org/violetina/project/f84189d1-6119-400b-bf91-148181c0e0d4?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 13 +++++++------ package.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51778edd7..b6af79511 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,7 +51,7 @@ "react-datepicker": "4.21.0", "react-dom": "18.2.0", "react-highlight-words": "0.20.0", - "react-hook-form": "7.46.2", + "react-hook-form": "^7.52.2", "react-infinite-scroll-component": "6.1.0", "react-masonry-css": "1.0.16", "react-modal": "3.14.4", @@ -31717,18 +31717,19 @@ } }, "node_modules/react-hook-form": { - "version": "7.46.2", - "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.46.2.tgz", - "integrity": "sha512-x1DWmHQchV7x2Rq9l99M/cQHC8JGchAnw9Z0uTz5KrPa0bTl/Inm1NR7ceOARfIrkNuQNAhuSuZPYa6k7QYn3Q==", + "version": "7.52.2", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.52.2.tgz", + "integrity": "sha512-pqfPEbERnxxiNMPd0bzmt1tuaPcVccywFDpyk2uV5xCIBphHV5T8SVnX9/o3kplPE1zzKt77+YIoq+EMwJp56A==", + "license": "MIT", "engines": { - "node": ">=12.22.0" + "node": ">=18.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/react-hook-form" }, "peerDependencies": { - "react": "^16.8.0 || ^17 || ^18" + "react": "^16.8.0 || ^17 || ^18 || ^19" } }, "node_modules/react-i18next": { diff --git a/package.json b/package.json index de8b1eb60..53e2a9b41 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "react-datepicker": "4.21.0", "react-dom": "18.2.0", "react-highlight-words": "0.20.0", - "react-hook-form": "7.46.2", + "react-hook-form": "7.52.2", "react-infinite-scroll-component": "6.1.0", "react-masonry-css": "1.0.16", "react-modal": "3.14.4",