diff --git a/package-lock.json b/package-lock.json index 6be3bd88ba..9d38ca17fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -105,7 +105,7 @@ "eslint-plugin-babel": "5.3.1", "eslint-plugin-jsx-expressions": "1.3.2", "eslint-plugin-react": "7.36.1", - "eslint-plugin-react-hooks": "4.6.0", + "eslint-plugin-react-hooks": "5.0.0", "eslint-plugin-react-native": "4.1.0", "jest": "29.7.0", "js-yaml": "4.1.0", @@ -6006,6 +6006,19 @@ "eslint": ">=7.0.0" } }, + "node_modules/@react-native/eslint-config/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==", + "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" + } + }, "node_modules/@react-native/eslint-plugin": { "version": "0.73.1", "resolved": "https://registry.npmjs.org/@react-native/eslint-plugin/-/eslint-plugin-0.73.1.tgz", @@ -10420,16 +10433,16 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", - "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+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, "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-native": { diff --git a/package.json b/package.json index 8e86feabb8..b2cc1ee0fb 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "eslint-plugin-babel": "5.3.1", "eslint-plugin-jsx-expressions": "1.3.2", "eslint-plugin-react": "7.36.1", - "eslint-plugin-react-hooks": "4.6.0", + "eslint-plugin-react-hooks": "5.0.0", "eslint-plugin-react-native": "4.1.0", "jest": "29.7.0", "js-yaml": "4.1.0",