diff --git a/package.json b/package.json index 744bc4fd3..93c106114 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@vitejs/release-scripts": "^1.7.1", "eslint": "^9.39.4", "eslint-plugin-import-x": "^4.16.2", - "eslint-plugin-n": "^17.24.0", + "eslint-plugin-n": "^18.2.1", "eslint-plugin-regexp": "^3.1.0", "fs-extra": "^11.3.5", "globals": "^17.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 11d1c440d..be283ee38 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,8 +30,8 @@ importers: specifier: ^4.16.2 version: 4.16.2(@typescript-eslint/utils@8.61.1(eslint@9.39.4(jiti@2.7.0))(typescript@6.0.3))(eslint@9.39.4(jiti@2.7.0)) eslint-plugin-n: - specifier: ^17.24.0 - version: 17.24.0(eslint@9.39.4(jiti@2.7.0))(typescript@6.0.3) + specifier: ^18.2.1 + version: 18.2.1(eslint@9.39.4(jiti@2.7.0))(typescript@6.0.3) eslint-plugin-regexp: specifier: ^3.1.0 version: 3.1.0(eslint@9.39.4(jiti@2.7.0)) @@ -3102,10 +3102,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'} @@ -3173,11 +3169,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.1: + resolution: {integrity: sha512-aO3C9//yq8JIvYOi/T+jPvcZ9hZzpwzbR8esrYpFtgE9vpbyM8kn42AQOtIqYspVmpaSWr8X+nrlQuAJYxXAaw==} + 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.0: resolution: {integrity: sha512-qGXIC3DIKZHcK1H9A9+Byz9gmndY6TTSRkSMTZpNXdyCw2ObSehRgccJv35n9AdUakEjQp5VFNLas6BMXizCZg==} @@ -3345,9 +3348,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==} @@ -4170,11 +4170,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.7.4: resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} engines: {node: '>=10'} @@ -4346,10 +4341,6 @@ packages: tailwindcss@4.3.1: resolution: {integrity: sha512-hk+TB1m+K8CYNrP6rjQaq/Y+4Zylwpa87mLYBKCunwnnQ9p+fHb7kmSfGqyEJoxF/O6CDyABWVFEafNSYKll+Q==} - 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'} @@ -4398,11 +4389,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.2: resolution: {integrity: sha512-VX9gsyKXsTnBZjnIM4jsHl9aRv+GfgkE/k1hQslilaBfZMlaw3JuGR+6yhiU0QxWBtOCDnTjwOSoXzgB7Rr50g==} engines: {node: ^22.18.0 || >=24.0.0} @@ -4841,7 +4827,7 @@ snapshots: '@babel/helper-validator-option': 8.0.0-rc.6 browserslist: 4.28.1 lru-cache: 7.18.3 - semver: 7.8.0 + semver: 7.8.4 '@babel/helper-globals@7.28.0': {} @@ -5021,7 +5007,7 @@ snapshots: dependencies: '@simple-libs/child-process-utils': 1.0.1 '@simple-libs/stream-utils': 1.2.0 - semver: 7.8.0 + semver: 7.8.4 optionalDependencies: conventional-commits-filter: 5.0.0 conventional-commits-parser: 6.4.0 @@ -6015,7 +6001,7 @@ snapshots: '@typescript-eslint/visitor-keys': 8.61.1 debug: 4.4.3 minimatch: 10.2.2 - semver: 7.8.0 + semver: 7.8.4 tinyglobby: 0.2.17 ts-api-utils: 2.5.0(typescript@6.0.3) typescript: 6.0.3 @@ -6369,7 +6355,7 @@ snapshots: conventional-commits-filter: 5.0.0 handlebars: 4.7.8 meow: 13.2.0 - semver: 7.8.0 + semver: 7.8.4 conventional-changelog@7.2.0(conventional-commits-filter@5.0.0): dependencies: @@ -6475,11 +6461,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 @@ -6533,7 +6514,7 @@ snapshots: eslint-compat-utils@0.5.1(eslint@9.39.4(jiti@2.7.0)): dependencies: eslint: 9.39.4(jiti@2.7.0) - semver: 7.8.0 + semver: 7.8.4 eslint-import-context@0.1.9(unrs-resolver@1.9.2): dependencies: @@ -6567,20 +6548,19 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-n@17.24.0(eslint@9.39.4(jiti@2.7.0))(typescript@6.0.3): + eslint-plugin-n@18.2.1(eslint@9.39.4(jiti@2.7.0))(typescript@6.0.3): dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.7.0)) - enhanced-resolve: 5.18.3 + enhanced-resolve: 5.21.6 eslint: 9.39.4(jiti@2.7.0) eslint-plugin-es-x: 7.8.0(eslint@9.39.4(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.4 + optionalDependencies: + typescript: 6.0.3 eslint-plugin-regexp@3.1.0(eslint@9.39.4(jiti@2.7.0)): dependencies: @@ -6774,10 +6754,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 @@ -7450,7 +7426,7 @@ snapshots: normalize-package-data@7.0.0: dependencies: hosted-git-info: 8.1.0 - semver: 7.8.0 + semver: 7.8.4 validate-npm-package-license: 3.0.4 object-assign@4.1.1: {} @@ -7794,8 +7770,6 @@ snapshots: semver@6.3.1: {} - semver@7.7.3: {} - semver@7.7.4: {} semver@7.8.0: {} @@ -7808,7 +7782,7 @@ snapshots: dependencies: '@img/colour': 1.0.0 detect-libc: 2.1.2 - semver: 7.8.0 + semver: 7.8.4 optionalDependencies: '@img/sharp-darwin-arm64': 0.34.5 '@img/sharp-darwin-x64': 0.34.5 @@ -7956,8 +7930,6 @@ snapshots: tailwindcss@4.3.1: {} - tapable@2.2.1: {} - tapable@2.3.3: {} test-package@file:playground/include-node-modules/test-package(react@19.2.7): @@ -7989,11 +7961,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.2(publint@0.3.21)(typescript@6.0.3): dependencies: ansis: 4.3.1