diff --git a/package-lock.json b/package-lock.json index d414c8c25..5ed5a030f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ "eslint-config-xo-react": "^0.27.0", "eslint-plugin-es": "^4.0.0", "eslint-plugin-react": "^7.0.0", - "eslint-plugin-react-hooks": "^4.0.0", + "eslint-plugin-react-hooks": "^5.0.0", "estree-to-babel": "^9.0.0", "estree-util-scope": "^1.0.0", "estree-util-value-to-estree": "^3.0.0", @@ -6461,16 +6461,16 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", - "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "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, "license": "MIT", "engines": { "node": ">=10" }, "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + "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/doctrine": { diff --git a/package.json b/package.json index db7e2dc41..60bf83bf6 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "eslint-config-xo-react": "^0.27.0", "eslint-plugin-es": "^4.0.0", "eslint-plugin-react": "^7.0.0", - "eslint-plugin-react-hooks": "^4.0.0", + "eslint-plugin-react-hooks": "^5.0.0", "estree-to-babel": "^9.0.0", "estree-util-scope": "^1.0.0", "estree-util-value-to-estree": "^3.0.0",