From 42eb40efcfdb8b54c8958bad735e87e96ecd6727 Mon Sep 17 00:00:00 2001 From: Nate Moore <nate@astro.build> Date: Fri, 12 Aug 2022 13:11:39 -0500 Subject: [PATCH] chore: update compiler --- packages/astro/package.json | 2 +- .../src/pages/index.astro | 5 ++--- pnpm-lock.yaml | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/astro/package.json b/packages/astro/package.json index 7fc26ec16..5338fbe78 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -86,7 +86,7 @@ "test:e2e:match": "playwright test -g" }, "dependencies": { - "@astrojs/compiler": "^0.23.1", + "@astrojs/compiler": "^0.23.2", "@astrojs/language-server": "^0.20.0", "@astrojs/markdown-remark": "^1.0.0", "@astrojs/telemetry": "^1.0.0", diff --git a/packages/astro/test/fixtures/special-chars-in-component-imports/src/pages/index.astro b/packages/astro/test/fixtures/special-chars-in-component-imports/src/pages/index.astro index 3b24c638c..5e7ff90cf 100644 --- a/packages/astro/test/fixtures/special-chars-in-component-imports/src/pages/index.astro +++ b/packages/astro/test/fixtures/special-chars-in-component-imports/src/pages/index.astro @@ -1,8 +1,7 @@ --- import CaretCounter from '../components/^--with-carets/Counter'; import RocketCounter from '../components/and-rockets-🚀/Counter'; -// Leaving this one out for now as it causes a compiler panic :) -// import PercentCounter from '../components/now-100%-better/Counter'; +import PercentCounter from '../components/now-100%-better/Counter'; import SpaceCounter from '../components/with some spaces/Counter'; import RoundBracketCounter from '../components/with-(round-brackets)/Counter'; import SquareBracketCounter from '../components/with-[square-brackets]/Counter'; @@ -12,7 +11,7 @@ import SquareBracketCounter from '../components/with-[square-brackets]/Counter'; <h1>Special chars in component import paths from an .astro file</h1> <CaretCounter id="caret" client:visible /> <RocketCounter id="rocket" client:visible /> - <!-- <PercentCounter id="percent" client:visible /> --> + <PercentCounter id="percent" client:visible /> <SpaceCounter id="space" client:visible /> <RoundBracketCounter id="round-bracket" client:visible /> <SquareBracketCounter id="square-bracket" client:visible /> diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ae0b579d2..c9f52c18c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -381,7 +381,7 @@ importers: packages/astro: specifiers: - '@astrojs/compiler': ^0.23.1 + '@astrojs/compiler': ^0.23.2 '@astrojs/language-server': ^0.20.0 '@astrojs/markdown-remark': ^1.0.0 '@astrojs/telemetry': ^1.0.0 @@ -464,7 +464,7 @@ importers: yargs-parser: ^21.0.1 zod: ^3.17.3 dependencies: - '@astrojs/compiler': 0.23.1 + '@astrojs/compiler': 0.23.2 '@astrojs/language-server': 0.20.3 '@astrojs/markdown-remark': link:../markdown/remark '@astrojs/telemetry': link:../telemetry @@ -3093,8 +3093,8 @@ packages: resolution: {integrity: sha512-8nvyxZTfCXLyRmYfTttpJT6EPhfBRg0/q4J/Jj3/pNPLzp+vs05ZdktsY6QxAREaOMAnNEtSqcrB4S5DsXOfRg==} dev: true - /@astrojs/compiler/0.23.1: - resolution: {integrity: sha512-KsoDrASGwTKZoWXbjy8SlIeoDv7y1OfBJtHVLuPuzhConA8e0SZpGzFqIuVRfG4bhisSTptZLDQZ7oxwgPv2jA==} + /@astrojs/compiler/0.23.2: + resolution: {integrity: sha512-WF1TFA1pQeg/qqIa04afh3KXA/QfkMGSN3lmQ+/UMFPCs6tV7IizehwP1raYAtI0jQx/Xh1gTOtqIzKiFvRBRQ==} dev: false /@astrojs/language-server/0.20.3: