diff --git a/package.json b/package.json index ab13eed..1efb619 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "autoprefixer": "^10.4.19", "conventional-changelog-cli": "^5.0.0", "eslint": "^9.8.0", - "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.9", "fs-extra": "^11.2.0", "lint-staged": "^15.2.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 01ed3d0..dfe4680 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,7 +44,7 @@ importers: devDependencies: '@antfu/eslint-config': specifier: ^2.24.1 - version: 2.24.1(@eslint-react/eslint-plugin@1.8.2(eslint@9.8.0)(typescript@5.5.4))(@vue/compiler-sfc@3.4.27)(eslint-plugin-react-hooks@4.6.2(eslint@9.8.0))(eslint-plugin-react-refresh@0.4.9(eslint@9.8.0))(eslint@9.8.0)(typescript@5.5.4) + version: 2.24.1(@eslint-react/eslint-plugin@1.8.2(eslint@9.8.0)(typescript@5.5.4))(@vue/compiler-sfc@3.4.27)(eslint-plugin-react-hooks@5.0.0(eslint@9.8.0))(eslint-plugin-react-refresh@0.4.9(eslint@9.8.0))(eslint@9.8.0)(typescript@5.5.4) '@eslint-react/eslint-plugin': specifier: ^1.8.0 version: 1.8.2(eslint@9.8.0)(typescript@5.5.4) @@ -91,8 +91,8 @@ importers: specifier: ^9.8.0 version: 9.8.0 eslint-plugin-react-hooks: - specifier: ^4.6.2 - version: 4.6.2(eslint@9.8.0) + specifier: ^5.0.0 + version: 5.0.0(eslint@9.8.0) eslint-plugin-react-refresh: specifier: ^0.4.9 version: 0.4.9(eslint@9.8.0) @@ -1315,11 +1315,11 @@ packages: typescript: optional: true - 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-naming-convention@1.8.2: resolution: {integrity: sha512-SvYH1ZsqvZT0FwVYxqDErPWxS9QQ9XAfcOwWmYRH4XkI1xAVwgdqb86Vn2tBQKplnLQhR9CVYlbxm/l2VZoD+g==} @@ -2964,7 +2964,7 @@ snapshots: '@alloc/quick-lru@5.2.0': {} - '@antfu/eslint-config@2.24.1(@eslint-react/eslint-plugin@1.8.2(eslint@9.8.0)(typescript@5.5.4))(@vue/compiler-sfc@3.4.27)(eslint-plugin-react-hooks@4.6.2(eslint@9.8.0))(eslint-plugin-react-refresh@0.4.9(eslint@9.8.0))(eslint@9.8.0)(typescript@5.5.4)': + '@antfu/eslint-config@2.24.1(@eslint-react/eslint-plugin@1.8.2(eslint@9.8.0)(typescript@5.5.4))(@vue/compiler-sfc@3.4.27)(eslint-plugin-react-hooks@5.0.0(eslint@9.8.0))(eslint-plugin-react-refresh@0.4.9(eslint@9.8.0))(eslint@9.8.0)(typescript@5.5.4)': dependencies: '@antfu/install-pkg': 0.3.3 '@clack/prompts': 0.7.0 @@ -3004,7 +3004,7 @@ snapshots: yargs: 17.7.2 optionalDependencies: '@eslint-react/eslint-plugin': 1.8.2(eslint@9.8.0)(typescript@5.5.4) - eslint-plugin-react-hooks: 4.6.2(eslint@9.8.0) + eslint-plugin-react-hooks: 5.0.0(eslint@9.8.0) eslint-plugin-react-refresh: 0.4.9(eslint@9.8.0) transitivePeerDependencies: - '@vue/compiler-sfc' @@ -4323,7 +4323,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-react-hooks@4.6.2(eslint@9.8.0): + eslint-plugin-react-hooks@5.0.0(eslint@9.8.0): dependencies: eslint: 9.8.0