diff --git a/package.json b/package.json index 2a1ca0e47..a8dc83e26 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@vitejs/release-scripts": "^1.8.0", "eslint": "^9.39.5", "eslint-plugin-import-x": "^4.17.1", - "eslint-plugin-n": "^17.24.0", + "eslint-plugin-n": "^18.2.2", "eslint-plugin-regexp": "^3.1.1", "fs-extra": "^11.3.6", "globals": "^17.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53fa1a651..2fd3aa8fa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,8 +30,8 @@ importers: specifier: ^4.17.1 version: 4.17.1(@typescript-eslint/utils@8.64.0(eslint@9.39.5(jiti@2.7.0))(typescript@6.0.3))(eslint@9.39.5(jiti@2.7.0)) eslint-plugin-n: - specifier: ^17.24.0 - version: 17.24.0(eslint@9.39.5(jiti@2.7.0))(typescript@6.0.3) + specifier: ^18.2.2 + version: 18.2.2(eslint@9.39.5(jiti@2.7.0))(typescript@6.0.3) eslint-plugin-regexp: specifier: ^3.1.1 version: 3.1.1(eslint@9.39.5(jiti@2.7.0)) @@ -3101,10 +3101,6 @@ packages: resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} - enhanced-resolve@5.18.3: - resolution: {integrity: sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==} - engines: {node: '>=10.13.0'} - enhanced-resolve@5.21.6: resolution: {integrity: sha512-aNnGCvbJ/RIyWo1IuhNdVjnNF+EjH9wpzpNHt+ci/m9He9LJvUN8wrCcXjp9cWsGNAuvSpVFTx/vraAFQ8qGjQ==} engines: {node: '>=10.13.0'} @@ -3172,11 +3168,18 @@ packages: eslint-import-resolver-node: optional: true - 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.2.2: + resolution: {integrity: sha512-gOO0lIqwEjZ750kv9/SptCWArUoAZXJoBr0vYWTO2dCBxctHUXlBIigiC8xuxxr/NKqgIT6Ehz1xRcilj8a5cA==} + 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-regexp@3.1.1: resolution: {integrity: sha512-MxR5nqoQCtVWmJwia0D2+NlXX1xzdpkslsVOZLEYQ4PQWEaL65PCZXURxaBc3lPnkNFpNxzMIRmYVxdl8giXRA==} @@ -3340,9 +3343,6 @@ packages: get-them-args@1.3.2: resolution: {integrity: sha512-LRn8Jlk+DwZE4GTlDbT3Hikd1wSHgLMme/+7ddlqKd7ldwR6LjJgTVWzBnR01wnYGe4KgrXjg287RaI22UHmAw==} - get-tsconfig@4.13.6: - resolution: {integrity: sha512-shZT/QMiSHc/YBLxxOkMtgSid5HFoauqCE3/exfsEcwg1WkeqjG+V40yBbBrsD+jW2HDXcs28xOfcbm2jI8Ddw==} - get-tsconfig@4.13.7: resolution: {integrity: sha512-7tN6rFgBlMgpBML5j8typ92BKFi2sFQvIdpAqLA2beia5avZDrMs0FLZiM5etShWq5irVyGcGMEA1jcDaK7A/Q==} @@ -4141,11 +4141,6 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - semver@7.7.3: - resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} - engines: {node: '>=10'} - hasBin: true - semver@7.8.4: resolution: {integrity: sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==} engines: {node: '>=10'} @@ -4296,10 +4291,6 @@ packages: tailwindcss@4.3.2: resolution: {integrity: sha512-WtctNNSH8A9jlMIqxzuYumOHU5uGZyRv0Q5svQl+oEPy5w84YpBxdb7MdqyiSPQge5jTJ6zFQLq0PFygdccSBA==} - tapable@2.2.1: - resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} - engines: {node: '>=6'} - tapable@2.3.3: resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} engines: {node: '>=6'} @@ -4348,11 +4339,6 @@ packages: peerDependencies: typescript: '>=4.8.4' - ts-declaration-location@1.0.7: - resolution: {integrity: sha512-EDyGAwH1gO0Ausm9gV6T2nUvBgXT5kGoCMJPllOaooZ+4VvJiKBdZE7wK18N1deEowhcUptS+5GXZK8U/fvpwA==} - peerDependencies: - typescript: '>=4.0.0' - tsdown@0.22.7: resolution: {integrity: sha512-4egbOzc9dxVv/QS+gDV75FIxDIjQQeOnXBlUuikyjmn0ozuc6FW11djJjEEo3vqkuJRygpnKHurnj+Iwftk4VA==} engines: {node: ^22.18.0 || >=24.11.0} @@ -4780,7 +4766,7 @@ snapshots: '@babel/helper-validator-option': 8.0.0 browserslist: 4.28.1 lru-cache: 11.5.2 - semver: 7.8.4 + semver: 7.8.5 '@babel/helper-globals@7.29.7': {} @@ -5869,7 +5855,7 @@ snapshots: '@typescript-eslint/visitor-keys': 8.64.0 debug: 4.4.3 minimatch: 10.2.2 - semver: 7.8.4 + semver: 7.8.5 tinyglobby: 0.2.17 ts-api-utils: 2.5.0(typescript@6.0.3) typescript: 6.0.3 @@ -6385,11 +6371,6 @@ snapshots: encodeurl@1.0.2: {} - enhanced-resolve@5.18.3: - dependencies: - graceful-fs: 4.2.11 - tapable: 2.2.1 - enhanced-resolve@5.21.6: dependencies: graceful-fs: 4.2.11 @@ -6443,7 +6424,7 @@ snapshots: eslint-compat-utils@0.5.1(eslint@9.39.5(jiti@2.7.0)): dependencies: eslint: 9.39.5(jiti@2.7.0) - semver: 7.8.4 + semver: 7.8.5 eslint-import-context@0.1.9(unrs-resolver@1.9.2): dependencies: @@ -6476,20 +6457,19 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-n@17.24.0(eslint@9.39.5(jiti@2.7.0))(typescript@6.0.3): + eslint-plugin-n@18.2.2(eslint@9.39.5(jiti@2.7.0))(typescript@6.0.3): dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.5(jiti@2.7.0)) - enhanced-resolve: 5.18.3 + enhanced-resolve: 5.21.6 eslint: 9.39.5(jiti@2.7.0) eslint-plugin-es-x: 7.8.0(eslint@9.39.5(jiti@2.7.0)) - get-tsconfig: 4.13.6 + get-tsconfig: 4.13.7 globals: 15.12.0 globrex: 0.1.2 ignore: 5.3.2 - semver: 7.7.3 - ts-declaration-location: 1.0.7(typescript@6.0.3) - transitivePeerDependencies: - - typescript + semver: 7.8.5 + optionalDependencies: + typescript: 6.0.3 eslint-plugin-regexp@3.1.1(eslint@9.39.5(jiti@2.7.0)): dependencies: @@ -6681,10 +6661,6 @@ snapshots: get-them-args@1.3.2: {} - get-tsconfig@4.13.6: - dependencies: - resolve-pkg-maps: 1.0.0 - get-tsconfig@4.13.7: dependencies: resolve-pkg-maps: 1.0.0 @@ -7655,8 +7631,6 @@ snapshots: semver@6.3.1: {} - semver@7.7.3: {} - semver@7.8.4: {} semver@7.8.5: {} @@ -7667,7 +7641,7 @@ snapshots: dependencies: '@img/colour': 1.0.0 detect-libc: 2.1.2 - semver: 7.8.4 + semver: 7.8.5 optionalDependencies: '@img/sharp-darwin-arm64': 0.34.5 '@img/sharp-darwin-x64': 0.34.5 @@ -7799,8 +7773,6 @@ snapshots: tailwindcss@4.3.2: {} - tapable@2.2.1: {} - tapable@2.3.3: {} test-package@file:playground/include-node-modules/test-package(react@19.2.7): @@ -7832,11 +7804,6 @@ snapshots: dependencies: typescript: 6.0.3 - ts-declaration-location@1.0.7(typescript@6.0.3): - dependencies: - picomatch: 4.0.4 - typescript: 6.0.3 - tsdown@0.22.7(publint@0.3.21)(typescript@6.0.3): dependencies: ansis: 4.3.1