diff --git a/package.json b/package.json index 78f443ac7f5d..905fffd6c7ef 100644 --- a/package.json +++ b/package.json @@ -82,18 +82,18 @@ "test:e2e:match": "playwright test -g" }, "dependencies": { - "@astrojs/compiler": "^0.18.0", + "@astrojs/compiler": "^0.18.2", "@astrojs/language-server": "^0.13.4", "@astrojs/markdown-remark": "^0.11.3", "@astrojs/prism": "0.4.1", "@astrojs/telemetry": "^0.2.5", "@astrojs/webapi": "^0.12.0", "@babel/core": "^7.18.2", - "@babel/types": "^7.18.4", "@babel/generator": "^7.18.2", "@babel/parser": "^7.18.4", "@babel/plugin-transform-react-jsx": "^7.17.12", "@babel/traverse": "^7.18.2", + "@babel/types": "^7.18.4", "@proload/core": "^0.3.2", "@proload/plugin-tsm": "^0.2.1", "ast-types": "^0.14.2", diff --git a/test/fixtures/astro-slots/src/pages/conditional.astro b/test/fixtures/astro-slots/src/pages/conditional.astro index 2cc6747b740b..e5ae7cd07195 100644 --- a/test/fixtures/astro-slots/src/pages/conditional.astro +++ b/test/fixtures/astro-slots/src/pages/conditional.astro @@ -11,17 +11,7 @@ import Slotted from '../components/Slotted.astro'; {true && A} {true ? B : null} {() => C} - {() => { - const value = 0.33; - if (value > 0.25) { - return Default - } else if (value > 0.5) { - return Another - } else if (value > 0.75) { - return Other - } - return Yet Another - }} + {true && Default}