diff --git a/package.json b/package.json index c815d5c8..cd1e3fef 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "@vercel/ncc": "0.38.4", "eslint": "10.4.0", "eslint-config-prettier": "10.1.8", - "eslint-plugin-n": "17.24.0", + "eslint-plugin-n": "18.0.1", "eslint-plugin-prettier": "5.5.5", "husky": "^9.0.11", "prettier": "3.8.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 98080c2a..792ccf52 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -67,8 +67,8 @@ importers: specifier: 10.1.8 version: 10.1.8(eslint@10.4.0(jiti@2.6.1)) eslint-plugin-n: - specifier: 17.24.0 - version: 17.24.0(eslint@10.4.0(jiti@2.6.1))(typescript@6.0.3) + specifier: 18.0.1 + version: 18.0.1(eslint@10.4.0(jiti@2.6.1))(ts-declaration-location@1.0.7(typescript@6.0.3))(typescript@6.0.3) eslint-plugin-prettier: specifier: 5.5.5 version: 5.5.5(eslint-config-prettier@10.1.8(eslint@10.4.0(jiti@2.6.1)))(eslint@10.4.0(jiti@2.6.1))(prettier@3.8.3) @@ -522,11 +522,18 @@ packages: peerDependencies: eslint: '>=8' - eslint-plugin-n@17.24.0: - resolution: {integrity: sha512-/gC7/KAYmfNnPNOb3eu8vw+TdVnV0zhdQwexsw6FLXbhzroVj20vRn2qL8lDWDGnAQ2J8DhdfvXxX9EoxvERvw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-plugin-n@18.0.1: + resolution: {integrity: sha512-q3ARhk+eZRc7myR0KHx+R3/GJeOHF+Ir6PK95Pu2tEX8Sl/4BIpmmVLva2kPrjC2gCmn6WHlHm+3yeo6Rxhycw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} peerDependencies: - eslint: '>=8.23.0' + eslint: '>=8.57.1' + ts-declaration-location: ^1.0.6 + typescript: '>=5.0.0' + peerDependenciesMeta: + ts-declaration-location: + optional: true + typescript: + optional: true eslint-plugin-prettier@5.5.5: resolution: {integrity: sha512-hscXkbqUZ2sPithAuLm5MXL+Wph+U7wHngPBv9OMWwlP8iaflyxpjTYZkmdgB4/vPIhemRlBEoLrH7UC1n7aUw==} @@ -1588,7 +1595,7 @@ snapshots: eslint: 10.4.0(jiti@2.6.1) eslint-compat-utils: 0.5.1(eslint@10.4.0(jiti@2.6.1)) - eslint-plugin-n@17.24.0(eslint@10.4.0(jiti@2.6.1))(typescript@6.0.3): + eslint-plugin-n@18.0.1(eslint@10.4.0(jiti@2.6.1))(ts-declaration-location@1.0.7(typescript@6.0.3))(typescript@6.0.3): dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@10.4.0(jiti@2.6.1)) enhanced-resolve: 5.20.1 @@ -1599,9 +1606,9 @@ snapshots: globrex: 0.1.2 ignore: 5.3.2 semver: 7.8.1 + optionalDependencies: ts-declaration-location: 1.0.7(typescript@6.0.3) - transitivePeerDependencies: - - typescript + typescript: 6.0.3 eslint-plugin-prettier@5.5.5(eslint-config-prettier@10.1.8(eslint@10.4.0(jiti@2.6.1)))(eslint@10.4.0(jiti@2.6.1))(prettier@3.8.3): dependencies: @@ -2055,6 +2062,7 @@ snapshots: dependencies: picomatch: 4.0.4 typescript: 6.0.3 + optional: true tunnel@0.0.6: {}