Skip to content

Commit

Permalink
Update compiler version (#4175)
Browse files Browse the repository at this point in the history
* Update compiler version

* Adds a changesetp

* Update lockfile

* Skip old non-html5 doctype test

* update compiler to 0.23.1
  • Loading branch information
matthewp committed Aug 5, 2022
1 parent c1248e9 commit 69db029
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-pens-mate.md
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fixes double doctypes
2 changes: 1 addition & 1 deletion packages/astro/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/test/astro-doctype.test.js
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 69db029

Please sign in to comment.