diff --git a/package.json b/package.json index 20da8275..1e957de1 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "prettier": "3.4.2", "prettier-plugin-astro": "0.14.1", "eslint": "8.57.1", - "eslint-plugin-astro": "0.21.1", + "eslint-plugin-astro": "0.34.0", "@astrojs/check": "0.9.4", "@typescript-eslint/eslint-plugin": "5.62.0", "@typescript-eslint/parser": "5.62.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bd6ddd09..0563196b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,8 +52,8 @@ importers: specifier: 8.57.1 version: 8.57.1 eslint-plugin-astro: - specifier: 0.21.1 - version: 0.21.1(eslint@8.57.1) + specifier: 0.34.0 + version: 0.34.0(eslint@8.57.1)(typescript@5.5.4) eslint-plugin-react: specifier: 7.37.2 version: 7.37.2(eslint@8.57.1) @@ -103,9 +103,6 @@ packages: peerDependencies: astro: ^5.0.0 - '@astrojs/compiler@0.32.0': - resolution: {integrity: sha512-QL5qMGkfsC1/kDjJF4RRagz8/hACBUb19cHWrQ8AROphS42qXM6JhoO1Og5FohV3p2VfT5CdEJspn4uNsgZvmw==} - '@astrojs/compiler@2.10.3': resolution: {integrity: sha512-bL/O7YBxsFt55YHU021oL+xz+B/9HvGNId3F9xURN16aeqDK9juHGktdkCSXz+U4nqFACq6ZFvWomOzhV+zfPw==} @@ -1382,8 +1379,8 @@ packages: resolution: {integrity: sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==} hasBin: true - astro-eslint-parser@0.9.5: - resolution: {integrity: sha512-LxcfrKZ0DxVpObAyrtk9IzEazHvtwAnuB33qrJnIZ8uA9PQgp9cBhFDDgoQGgpm8XnbwvqM7i9MhGWrCh5x43Q==} + astro-eslint-parser@0.17.0: + resolution: {integrity: sha512-yTgzioUI9MKgBF4LxP7YI+uuZLrnXgHDeW4dpa3VqCNbDmPzL7ix93tc0JJIwWGcskoSAAHZZVaBSp8bHyZZZA==} engines: {node: ^14.18.0 || >=16.0.0} astro-expressive-code@0.38.3: @@ -1821,8 +1818,14 @@ packages: resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} engines: {node: '>=12'} - eslint-plugin-astro@0.21.1: - resolution: {integrity: sha512-gzT9R0b/Hl5sks8/WSMTlzu2VC7vdd99MnBYkq61Mk1zBWQ+C9MAuHeTcU72sFmR5XJX56NNURY6H+cN2StRcA==} + eslint-compat-utils@0.5.1: + resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==} + engines: {node: '>=12'} + peerDependencies: + eslint: '>=6.0.0' + + eslint-plugin-astro@0.34.0: + resolution: {integrity: sha512-nzw2H4g7HPXPLsWVpGUxuJ/ViVPLI8lM/AaUCJ51qTLTWtaMhvlvoe2d7yIPMFc+7xeCzQdo1POK8eR7NFsdKQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '>=7.0.0' @@ -1841,16 +1844,6 @@ packages: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-utils@3.0.0: - resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} - engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} - peerDependencies: - eslint: '>=5' - - eslint-visitor-keys@2.1.0: - resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} - engines: {node: '>=10'} - eslint-visitor-keys@3.4.3: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -4199,8 +4192,6 @@ snapshots: - utf-8-validate - yaml - '@astrojs/compiler@0.32.0': {} - '@astrojs/compiler@2.10.3': {} '@astrojs/internal-helpers@0.4.1': {} @@ -5437,17 +5428,23 @@ snapshots: astring@1.9.0: {} - astro-eslint-parser@0.9.5: + astro-eslint-parser@0.17.0(typescript@5.5.4): dependencies: - '@astrojs/compiler': 0.32.0 + '@astrojs/compiler': 2.10.3 + '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - astrojs-compiler-sync: 0.3.5(@astrojs/compiler@0.32.0) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.4) + astrojs-compiler-sync: 0.3.5(@astrojs/compiler@2.10.3) debug: 4.3.7 - eslint-scope: 7.2.2 + entities: 4.5.0 eslint-visitor-keys: 3.4.3 espree: 9.6.1 + globby: 11.1.0 + is-glob: 4.0.3 + semver: 7.6.3 transitivePeerDependencies: - supports-color + - typescript astro-expressive-code@0.38.3(astro@4.16.17(@types/node@22.9.1)(rollup@4.28.0)(typescript@5.5.4)): dependencies: @@ -5539,9 +5536,9 @@ snapshots: - terser - typescript - astrojs-compiler-sync@0.3.5(@astrojs/compiler@0.32.0): + astrojs-compiler-sync@0.3.5(@astrojs/compiler@2.10.3): dependencies: - '@astrojs/compiler': 0.32.0 + '@astrojs/compiler': 2.10.3 synckit: 0.9.2 asynckit@0.4.0: {} @@ -6059,17 +6056,25 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-plugin-astro@0.21.1(eslint@8.57.1): + eslint-compat-utils@0.5.1(eslint@8.57.1): + dependencies: + eslint: 8.57.1 + semver: 7.6.3 + + eslint-plugin-astro@0.34.0(eslint@8.57.1)(typescript@5.5.4): dependencies: + '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) '@jridgewell/sourcemap-codec': 1.5.0 '@typescript-eslint/types': 5.62.0 - astro-eslint-parser: 0.9.5 + astro-eslint-parser: 0.17.0(typescript@5.5.4) eslint: 8.57.1 - eslint-utils: 3.0.0(eslint@8.57.1) + eslint-compat-utils: 0.5.1(eslint@8.57.1) + globals: 13.24.0 postcss: 8.4.49 postcss-selector-parser: 6.1.2 transitivePeerDependencies: - supports-color + - typescript eslint-plugin-react@7.37.2(eslint@8.57.1): dependencies: @@ -6103,13 +6108,6 @@ snapshots: esrecurse: 4.3.0 estraverse: 5.3.0 - eslint-utils@3.0.0(eslint@8.57.1): - dependencies: - eslint: 8.57.1 - eslint-visitor-keys: 2.1.0 - - eslint-visitor-keys@2.1.0: {} - eslint-visitor-keys@3.4.3: {} eslint@8.57.1: