From 193ca60f40c8875b1d655dcd0682560cc2e2487e Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Tue, 4 Jan 2022 11:06:47 -0500 Subject: [PATCH] Upgrade language server (#2305) * Upgrade language server Fixes #2297 * Adds a changeset --- .changeset/quick-pots-hunt.md | 5 +++++ packages/astro/package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .changeset/quick-pots-hunt.md diff --git a/.changeset/quick-pots-hunt.md b/.changeset/quick-pots-hunt.md new file mode 100644 index 000000000..0bd5cda16 --- /dev/null +++ b/.changeset/quick-pots-hunt.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes `astro check` errors with import.meta usage diff --git a/packages/astro/package.json b/packages/astro/package.json index b550ee3ad..f4f746791 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -57,7 +57,7 @@ }, "dependencies": { "@astrojs/compiler": "^0.7.0", - "@astrojs/language-server": "^0.8.2", + "@astrojs/language-server": "^0.8.6", "@astrojs/markdown-remark": "^0.6.0", "@astrojs/prism": "0.4.0", "@astrojs/renderer-preact": "^0.4.0", diff --git a/yarn.lock b/yarn.lock index 5d15d4293..0bb1d0037 100644 --- a/yarn.lock +++ b/yarn.lock @@ -129,10 +129,10 @@ dependencies: typescript "^4.3.5" -"@astrojs/language-server@^0.8.2": - version "0.8.5" - resolved "https://registry.yarnpkg.com/@astrojs/language-server/-/language-server-0.8.5.tgz#f3eb869348d7da802ba88ecb559271abb842a333" - integrity sha512-3Ra2HjnJnfKjSsLrZeWuXIvpW/LBtoUOcnSYAR/pqfOcSZDZXHOXLsySLTkS46zQoMJK0F+V+IRUmZ+vTGUQwA== +"@astrojs/language-server@^0.8.6": + version "0.8.6" + resolved "https://registry.yarnpkg.com/@astrojs/language-server/-/language-server-0.8.6.tgz#72b76429e9100c5b075ef3cd125d77fc36647916" + integrity sha512-Ta9v/19bczh9LXOYsRFQU8Rk8K/y6oSo510Jzp5xqJ+miWLQDLvLEL4BsyKpPBVBg2kyMBrpZ7LNSzGhQL4XVQ== dependencies: lodash "^4.17.21" source-map "^0.7.3"