0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Update compiler version (#4175)

* Update compiler version

* Adds a changesetp

* Update lockfile

* Skip old non-html5 doctype test

* update compiler to 0.23.1
This commit is contained in:
Matthew Phillips 2022-08-05 17:41:35 -04:00 committed by GitHub
parent c1248e9ed4
commit 69db0298d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 6 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fixes double doctypes

View file

@ -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",

View file

@ -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

View file

@ -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: