From 2505ec89844b445a07440c57a57e0be5dfa9ddc9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 25 Aug 2024 05:39:54 +0000 Subject: [PATCH] fix: upgrade react-hook-form from 7.43.9 to 7.52.2 Snyk has created this PR to upgrade react-hook-form from 7.43.9 to 7.52.2. See this package in npm: react-hook-form See this project in Snyk: https://app.snyk.io/org/talha-eCwtn9sPBiMc3PY2GyRycr/project/7f31f7fa-dc13-4493-a21e-3f35b0d5cf4a?utm_source=github&utm_medium=referral&page=upgrade-pr --- frontend/package-lock.json | 13 +++++++------ frontend/package.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index b47e34489..fee6c5205 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -23,7 +23,7 @@ "nextjs-google-analytics": "^2.3.3", "react": "18.2.0", "react-dom": "18.2.0", - "react-hook-form": "^7.43.9", + "react-hook-form": "^7.52.2", "react-hook-form-mui": "^6.1.0", "react-markdown": "^9.0.0", "react-redux": "^8.0.7", @@ -10310,18 +10310,19 @@ } }, "node_modules/react-hook-form": { - "version": "7.43.9", - "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.43.9.tgz", - "integrity": "sha512-AUDN3Pz2NSeoxQ7Hs6OhQhDr6gtF9YRuutGDwPQqhSUAHJSgGl2VeY3qN19MG0SucpjgDiuMJ4iC5T5uB+eaNQ==", + "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-hook-form-mui": { diff --git a/frontend/package.json b/frontend/package.json index a57808b70..41f3ff6d8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -40,7 +40,7 @@ "nextjs-google-analytics": "^2.3.3", "react": "18.2.0", "react-dom": "18.2.0", - "react-hook-form": "^7.43.9", + "react-hook-form": "^7.52.2", "react-hook-form-mui": "^6.1.0", "react-markdown": "^9.0.0", "react-redux": "^8.0.7",