summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-08-05 17:41:35 -0400
committerGravatar GitHub <noreply@github.com> 2022-08-05 17:41:35 -0400
commit69db0298d07b560992346d1a41e85afd767ee61f (patch)
treec6bad69e075d366080e857ddc083e9762546ae84
parentc1248e9ed4c5d6f6d433676e04fa580116e6163b (diff)
downloadastro-69db0298d07b560992346d1a41e85afd767ee61f.tar.gz
astro-69db0298d07b560992346d1a41e85afd767ee61f.tar.zst
astro-69db0298d07b560992346d1a41e85afd767ee61f.zip
Update compiler version (#4175)
* Update compiler version * Adds a changesetp * Update lockfile * Skip old non-html5 doctype test * update compiler to 0.23.1
-rw-r--r--.changeset/cold-pens-mate.md5
-rw-r--r--packages/astro/package.json2
-rw-r--r--packages/astro/test/astro-doctype.test.js2
-rw-r--r--pnpm-lock.yaml8
4 files changed, 11 insertions, 6 deletions
diff --git a/.changeset/cold-pens-mate.md b/.changeset/cold-pens-mate.md
new file mode 100644
index 000000000..d43287c40
--- /dev/null
+++ b/.changeset/cold-pens-mate.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fixes double doctypes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 22321bf46..8dab32b66 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.22.1",
+ "@astrojs/compiler": "^0.23.1",
"@astrojs/language-server": "^0.20.0",
"@astrojs/markdown-remark": "^0.14.0",
"@astrojs/telemetry": "^0.4.1",
diff --git a/packages/astro/test/astro-doctype.test.js b/packages/astro/test/astro-doctype.test.js
index e402c137f..65c0a5543 100644
--- a/packages/astro/test/astro-doctype.test.js
+++ b/packages/astro/test/astro-doctype.test.js
@@ -24,7 +24,7 @@ describe('Doctype', () => {
expect(html).to.match(/^<!DOCTYPE html>/i);
});
- it('Preserves user provided doctype', async () => {
+ it.skip('Preserves user provided doctype', async () => {
const html = await fixture.readFile('/preserve/index.html');
// test that Doctype included was preserved
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f4ef7cc2f..d559d6a61 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -384,7 +384,7 @@ importers:
packages/astro:
specifiers:
- '@astrojs/compiler': ^0.22.1
+ '@astrojs/compiler': ^0.23.1
'@astrojs/language-server': ^0.20.0
'@astrojs/markdown-remark': ^0.14.0
'@astrojs/telemetry': ^0.4.1
@@ -467,7 +467,7 @@ importers:
yargs-parser: ^21.0.1
zod: ^3.17.3
dependencies:
- '@astrojs/compiler': 0.22.1
+ '@astrojs/compiler': 0.23.1
'@astrojs/language-server': 0.20.3
'@astrojs/markdown-remark': link:../markdown/remark
'@astrojs/telemetry': link:../telemetry
@@ -2999,8 +2999,8 @@ packages:
leven: 3.1.0
dev: true
- /@astrojs/compiler/0.22.1:
- resolution: {integrity: sha512-FiRZ7fwJhADPo2X1unTyEq9V7EfeWE3GOBhzKDcFIF8mc5iLZ0VmPXrGmvOUTRXkZH99+TkB1SXGaTDjelRa2w==}
+ /@astrojs/compiler/0.23.1:
+ resolution: {integrity: sha512-KsoDrASGwTKZoWXbjy8SlIeoDv7y1OfBJtHVLuPuzhConA8e0SZpGzFqIuVRfG4bhisSTptZLDQZ7oxwgPv2jA==}
dev: false
/@astrojs/language-server/0.20.3: