summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2021-11-23 16:42:59 -0600
committerGravatar GitHub <noreply@github.com> 2021-11-23 16:42:59 -0600
commit9ed6b3c0f00722436f4b30829046c1e9ef4e5765 (patch)
tree2c9192d35e14f120941d6f2cf2185776fbd3ef03
parent8a5de03098f0376420bcad66397e911e45779462 (diff)
downloadastro-9ed6b3c0f00722436f4b30829046c1e9ef4e5765.tar.gz
astro-9ed6b3c0f00722436f4b30829046c1e9ef4e5765.tar.zst
astro-9ed6b3c0f00722436f4b30829046c1e9ef4e5765.zip
chore: update compiler (#1995)
* chore: update compiler * chore: bump compiler again * chore: bump * chore: update compiler
-rw-r--r--.changeset/lemon-comics-cheat.md10
-rw-r--r--packages/astro/package.json2
-rw-r--r--yarn.lock8
3 files changed, 15 insertions, 5 deletions
diff --git a/.changeset/lemon-comics-cheat.md b/.changeset/lemon-comics-cheat.md
new file mode 100644
index 000000000..1f278f431
--- /dev/null
+++ b/.changeset/lemon-comics-cheat.md
@@ -0,0 +1,10 @@
+---
+'astro': patch
+---
+
+Update compiler with the following patches:
+- Fix components supporting only one style or script
+- Fix regression where leading `<style>` elements could break generated tags
+- Fix case-sensitivity of void elements
+- Fix expressions not working within SVG elements
+- Fix panic when preprocessed style is empty
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 28b05e64d..bba860538 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -55,7 +55,7 @@
"test": "mocha --parallel --timeout 15000"
},
"dependencies": {
- "@astrojs/compiler": "^0.3.4",
+ "@astrojs/compiler": "^0.3.8",
"@astrojs/language-server": "^0.7.16",
"@astrojs/markdown-remark": "^0.5.0",
"@astrojs/prism": "0.3.0",
diff --git a/yarn.lock b/yarn.lock
index 0663ccd9f..3a823fae2 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -115,10 +115,10 @@
jsonpointer "^5.0.0"
leven "^3.1.0"
-"@astrojs/compiler@^0.3.4":
- version "0.3.4"
- resolved "https://registry.yarnpkg.com/@astrojs/compiler/-/compiler-0.3.4.tgz#63f2b4245342806f2b8bde7897ba637b08bda0cc"
- integrity sha512-MWbXeBe6BJT613XmbBESsd4/hiVkOWKIE9/uZo7YJ/1smMoFNwrwOIvhfPGbjVxX1gnMvA6yFJW5rzLcPxi8Gw==
+"@astrojs/compiler@^0.3.8":
+ version "0.3.8"
+ resolved "https://registry.yarnpkg.com/@astrojs/compiler/-/compiler-0.3.8.tgz#fedd9f8236fdebf5f976c11c1ba9d2f537297d42"
+ integrity sha512-upPKqkw3Q+H+XrAtpJNf5yihSarDB1EbvEoB/MnqLHnaFoNuZcs6Qv8dCmlCfJulJ158dz0q2UMkYeCg3cmKbA==
dependencies:
typescript "^4.3.5"