diff --git a/package.json b/package.json index 0ad66e77ffc..55d6ae91cb3 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "eslint-plugin-jsdoc": "50.4.3", "eslint-plugin-prefer-arrow": "1.2.3", "eslint-plugin-react": "7.37.1", - "eslint-plugin-react-hooks": "4.6.2", + "eslint-plugin-react-hooks": "5.0.0", "eslint-plugin-react-refresh": "0.4.12", "eslint-plugin-testing-library": "6.4.0", "eslint-plugin-unused-imports": "4.1.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0a74bdc6521..9ede99a3d9d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -72,8 +72,8 @@ importers: specifier: 7.37.1 version: 7.37.1(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-react-hooks: - specifier: 4.6.2 - version: 4.6.2(eslint@9.13.0(jiti@1.21.6)) + specifier: 5.0.0 + version: 5.0.0(eslint@9.13.0(jiti@1.21.6)) eslint-plugin-react-refresh: specifier: 0.4.12 version: 0.4.12(eslint@9.13.0(jiti@1.21.6)) @@ -2874,11 +2874,11 @@ packages: peerDependencies: eslint: '>=2.0.0' - eslint-plugin-react-hooks@4.6.2: - resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==} + eslint-plugin-react-hooks@5.0.0: + resolution: {integrity: sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==} 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 eslint-plugin-react-refresh@0.4.12: resolution: {integrity: sha512-9neVjoGv20FwYtCP6CB1dzR1vr57ZDNOXst21wd2xJ/cTlM2xLq0GWVlSNTdMn/4BtP6cHYBMCSp1wFBJ9jBsg==} @@ -8085,7 +8085,7 @@ snapshots: dependencies: eslint: 9.13.0(jiti@1.21.6) - eslint-plugin-react-hooks@4.6.2(eslint@9.13.0(jiti@1.21.6)): + eslint-plugin-react-hooks@5.0.0(eslint@9.13.0(jiti@1.21.6)): dependencies: eslint: 9.13.0(jiti@1.21.6)