From c79c73b3a4c4db6288be170708a9c1352068b732 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 7 Jul 2024 08:09:42 +0000 Subject: [PATCH] fix: upgrade react-hook-form from 7.51.5 to 7.52.0 Snyk has created this PR to upgrade react-hook-form from 7.51.5 to 7.52.0. See this package in npm: react-hook-form See this project in Snyk: https://app.snyk.io/org/leoo1992/project/6f1e1591-28bd-403f-9772-29968609bf71?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 11 ++++++----- package.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index b528ac9..9b21761 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "react": "^18.3.1", "react-data-table-component": "^7.6.2", "react-dom": "^18.3.1", - "react-hook-form": "^7.51.4", + "react-hook-form": "^7.52.0", "react-hot-toast": "^2.4.1", "react-icons": "^5.2.0", "react-router-dom": "^6.22.3", @@ -6656,9 +6656,10 @@ } }, "node_modules/react-hook-form": { - "version": "7.51.5", - "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.51.5.tgz", - "integrity": "sha512-J2ILT5gWx1XUIJRETiA7M19iXHlG74+6O3KApzvqB/w8S5NQR7AbU8HVZrMALdmDgWpRPYiZJl0zx8Z4L2mP6Q==", + "version": "7.52.0", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.52.0.tgz", + "integrity": "sha512-mJX506Xc6mirzLsmXUJyqlAI3Kj9Ph2RhplYhUVffeOQSnubK2uVqBFOBJmvKikvbFV91pxVXmDiR+QMF19x6A==", + "license": "MIT", "engines": { "node": ">=12.22.0" }, @@ -6667,7 +6668,7 @@ "url": "https://opencollective.com/react-hook-form" }, "peerDependencies": { - "react": "^16.8.0 || ^17 || ^18" + "react": "^16.8.0 || ^17 || ^18 || ^19" } }, "node_modules/react-hot-toast": { diff --git a/package.json b/package.json index 932e40f..0f436f9 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "react": "^18.3.1", "react-data-table-component": "^7.6.2", "react-dom": "^18.3.1", - "react-hook-form": "^7.51.4", + "react-hook-form": "^7.52.0", "react-hot-toast": "^2.4.1", "react-icons": "^5.2.0", "react-router-dom": "^6.22.3",