diff --git a/package.json b/package.json index 1f665719..09291685 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "astro-eslint-parser": "^1.4.0", "eslint": "^10.3.0", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-astro": "^1.7.0", + "eslint-plugin-astro": "^2.0.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-prettier": "^5.5.5", "favicons": "^7.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index db794a28..06ef7e32 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -103,8 +103,8 @@ importers: specifier: ^10.1.8 version: 10.1.8(eslint@10.4.1(jiti@2.7.0)) eslint-plugin-astro: - specifier: ^1.7.0 - version: 1.7.0(eslint@10.4.1(jiti@2.7.0)) + specifier: ^2.0.0 + version: 2.0.0(@typescript-eslint/parser@8.61.0(eslint@10.4.1(jiti@2.7.0))(typescript@6.0.3))(eslint-plugin-jsx-a11y@6.10.2(eslint@10.4.1(jiti@2.7.0)))(eslint@10.4.1(jiti@2.7.0)) eslint-plugin-jsx-a11y: specifier: ^6.10.2 version: 6.10.2(eslint@10.4.1(jiti@2.7.0)) @@ -1625,6 +1625,10 @@ packages: resolution: {integrity: sha512-+QDcgc7e+au6EZ0YjMmRRjNoQo5bDMlaR45aWDoFsuxQTCM9qmCHRoiKJPELgckJ8Wmr7vcfpa9eCDHBFh6G4w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + astro-eslint-parser@2.0.0: + resolution: {integrity: sha512-wqHbAbrtUvugx7EAcc2kPmwbX6/I2/cqAxKEhFAz/9uwcqrG8khH/reipvtqbGPx1Vxdst08lvHoF4ECtVpcTA==} + engines: {node: ^22.22.3 || ^24.16.0 || >=26.3.0} + astro-loader-i18n@0.12.0: resolution: {integrity: sha512-dACMDudFdPQhpKX7w2pZnqHA1jNQ6fYqEfMepijeBIr7m92EflYa1J4Re/MQAoqUpHaW3rDp0miEt59goKyjVg==} peerDependencies: @@ -2094,23 +2098,24 @@ packages: resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} engines: {node: '>=12'} - eslint-compat-utils@0.6.5: - resolution: {integrity: sha512-vAUHYzue4YAa2hNACjB8HvUQj5yehAZgiClyFVVom9cP8z5NSFq3PwB/TtJslN2zAMgRX6FCFCjYBbQh71g5RQ==} - engines: {node: '>=12'} - peerDependencies: - eslint: '>=6.0.0' - eslint-config-prettier@10.1.8: resolution: {integrity: sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==} hasBin: true peerDependencies: eslint: '>=7.0.0' - eslint-plugin-astro@1.7.0: - resolution: {integrity: sha512-89xpAn528UKCdmyysbg0AHHqi6sqcK89wXnJIpu4F0mFBN03zATEBNK7pRtMfl6gwtMOm5ECXs+Wz5qDHhwTFw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-plugin-astro@2.0.0: + resolution: {integrity: sha512-XtzPTfw3+Q6mRbA7vgkq1lmUX1yopBXH1tZBx2LMD7+ZTxV0GVJ34KF13K6JHUU+wPtRRJDj6SY3O0ZR9wz6mQ==} + engines: {node: ^22.22.3 || ^24.16.0 || >=26.3.0} peerDependencies: - eslint: '>=8.57.0' + '@typescript-eslint/parser': '>=8.61.0' + eslint: '>=10.0.0' + eslint-plugin-jsx-a11y: '>=6.10.2' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint-plugin-jsx-a11y: + optional: true eslint-plugin-jsx-a11y@6.10.2: resolution: {integrity: sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==} @@ -2396,10 +2401,6 @@ packages: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me - globals@16.5.0: - resolution: {integrity: sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==} - engines: {node: '>=18'} - globals@17.6.0: resolution: {integrity: sha512-sepffkT8stwnIYbsMBpoCHJuJM5l98FUF2AnE07hfvE0m/qp3R586hw4jF4uadbhvg1ooIdzuu7CsfD2jzCaNA==} engines: {node: '>=18'} @@ -3295,10 +3296,6 @@ packages: resolution: {integrity: sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==} engines: {node: '>=4'} - postcss@8.5.14: - resolution: {integrity: sha512-SoSL4+OSEtR99LHFZQiJLkT59C5B1amGO1NzTwj7TT1qCUgUO6hxOvzkOYxD+vMrXBM3XJIKzokoERdqQq/Zmg==} - engines: {node: ^10 || ^12 || >=14} - postcss@8.5.15: resolution: {integrity: sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==} engines: {node: ^10 || ^12 || >=14} @@ -5790,6 +5787,23 @@ snapshots: transitivePeerDependencies: - supports-color + astro-eslint-parser@2.0.0: + dependencies: + '@astrojs/compiler': 4.0.0 + '@typescript-eslint/scope-manager': 8.61.0 + '@typescript-eslint/types': 8.61.0 + astrojs-compiler-sync: 1.1.1(@astrojs/compiler@4.0.0) + debug: 4.4.3 + entities: 8.0.0 + eslint-scope: 9.1.2 + eslint-visitor-keys: 5.0.1 + espree: 11.2.0 + fast-glob: 3.3.3 + is-glob: 4.0.3 + semver: 7.8.4 + transitivePeerDependencies: + - supports-color + astro-loader-i18n@0.12.0(astro@6.4.6(@types/node@25.9.3)(jiti@2.7.0)(rollup@4.61.1)(yaml@2.8.4)): dependencies: astro: 6.4.6(@types/node@25.9.3)(jiti@2.7.0)(rollup@4.61.1)(yaml@2.8.4) @@ -5901,6 +5915,11 @@ snapshots: '@astrojs/compiler': 3.0.1 synckit: 0.11.13 + astrojs-compiler-sync@1.1.1(@astrojs/compiler@4.0.0): + dependencies: + '@astrojs/compiler': 4.0.0 + synckit: 0.11.13 + async-function@1.0.0: {} async@3.2.6: {} @@ -6395,26 +6414,24 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-compat-utils@0.6.5(eslint@10.4.1(jiti@2.7.0)): - dependencies: - eslint: 10.4.1(jiti@2.7.0) - semver: 7.8.4 - eslint-config-prettier@10.1.8(eslint@10.4.1(jiti@2.7.0)): dependencies: eslint: 10.4.1(jiti@2.7.0) - eslint-plugin-astro@1.7.0(eslint@10.4.1(jiti@2.7.0)): + eslint-plugin-astro@2.0.0(@typescript-eslint/parser@8.61.0(eslint@10.4.1(jiti@2.7.0))(typescript@6.0.3))(eslint-plugin-jsx-a11y@6.10.2(eslint@10.4.1(jiti@2.7.0)))(eslint@10.4.1(jiti@2.7.0)): dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@10.4.1(jiti@2.7.0)) '@jridgewell/sourcemap-codec': 1.5.5 - '@typescript-eslint/types': 8.59.2 - astro-eslint-parser: 1.4.0 + '@typescript-eslint/types': 8.61.0 + astro-eslint-parser: 2.0.0 eslint: 10.4.1(jiti@2.7.0) - eslint-compat-utils: 0.6.5(eslint@10.4.1(jiti@2.7.0)) - globals: 16.5.0 - postcss: 8.5.14 + espree: 11.2.0 + globals: 17.6.0 + postcss: 8.5.15 postcss-selector-parser: 7.1.1 + optionalDependencies: + '@typescript-eslint/parser': 8.61.0(eslint@10.4.1(jiti@2.7.0))(typescript@6.0.3) + eslint-plugin-jsx-a11y: 6.10.2(eslint@10.4.1(jiti@2.7.0)) transitivePeerDependencies: - supports-color @@ -6757,8 +6774,6 @@ snapshots: once: 1.4.0 path-is-absolute: 1.0.1 - globals@16.5.0: {} - globals@17.6.0: {} globalthis@1.0.4: @@ -7989,12 +8004,6 @@ snapshots: cssesc: 3.0.0 util-deprecate: 1.0.2 - postcss@8.5.14: - dependencies: - nanoid: 3.3.12 - picocolors: 1.1.1 - source-map-js: 1.2.1 - postcss@8.5.15: dependencies: nanoid: 3.3.12