diff --git a/package-lock.json b/package-lock.json index 542f9152..10fef3ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -74,7 +74,7 @@ "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.22.0", - "eslint-plugin-react-hooks": "^2.5.1", + "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-testing-library": "^5.0.0", "husky": "^9.0.11", "jest": "^29.7.0", @@ -10337,12 +10337,15 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.5.1.tgz", - "integrity": "sha512-Y2c4b55R+6ZzwtTppKwSmK/Kar8AdLiC2f9NADCuxbcTgPPg41Gyqa6b9GppgXSvCtkRw43ZE86CT5sejKC6/g==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz", + "integrity": "sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==", "dev": true, "engines": { - "node": ">=7" + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" } }, "node_modules/eslint-plugin-react/node_modules/estraverse": { @@ -34191,10 +34194,11 @@ } }, "eslint-plugin-react-hooks": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.5.1.tgz", - "integrity": "sha512-Y2c4b55R+6ZzwtTppKwSmK/Kar8AdLiC2f9NADCuxbcTgPPg41Gyqa6b9GppgXSvCtkRw43ZE86CT5sejKC6/g==", - "dev": true + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz", + "integrity": "sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==", + "dev": true, + "requires": {} }, "eslint-plugin-testing-library": { "version": "5.11.1", diff --git a/package.json b/package.json index 64c7e337..28bb5cf7 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.22.0", - "eslint-plugin-react-hooks": "^2.5.1", + "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-testing-library": "^5.0.0", "husky": "^9.0.11", "jest": "^29.7.0",