fix(deps): update dependency @astrojs/compiler to v3 - autoclosed#205
fix(deps): update dependency @astrojs/compiler to v3 - autoclosed#205renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #205 +/- ##
=======================================
Coverage 86.35% 86.35%
=======================================
Files 16 16
Lines 359 359
Branches 88 85 -3
=======================================
Hits 310 310
Misses 49 49 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This PR contains the following updates:
^2.13.1→^3.0.0Release Notes
withastro/compiler (@astrojs/compiler)
v3.0.0Compare Source
Major Changes
c05e16e: Removes the first argument of$$result.createAstro()$$result.createAstro()does not accept anAstroGlobalPartialas the first argument anymore:c05e16e: RemovesrenderScriptfromTransformOptions. It is now the default and only behaviorc05e16e: RemovesexperimentalScriptOrderfromTransformOptions. It is now the default and only behaviorPatch Changes
811e90f: Fixes an issue whereserver:deferwas treated like a transition directive, causing ViewTransitions CSS to be included even when notransition:*directives were used.755f046: Fixes a CSS scoping regression where selectors using the nesting selector (&) with pseudo-classes or pseudo-elements (e.g.&:last-of-type,&::before) inside:global()contexts would incorrectly receive a duplicate scope attribute.f89451a: Fixed an issue where explicit<html>and<head>tags were removed from output when a JSX comment appeared between DOCTYPE and the<html>tag.8275bdd: Fixes a bug where trailing whitespaces were preserved before<style>tags after transformation, in certain cases. Now trailing whitespaces are correctly removed.56ef0ca: Fixes TSX output to transform top-level returns into throws in order to avoid downstream TypeScript parsing issuese329d20: Fix slot attribute stripped inside expression02de370: fixed a bug where the Astro compiler incorrectly handled the 'as' property name in Props interfaces.This allows Astro components to use 'as' as a prop name (common pattern for polymorphic components) without breaking TypeScript type inference. The Props type is now correctly preserved when destructuring objects with an 'as'
property.
615eb21: Fix CSS nesting so nested selectors without an ampersand are parsed and scoped correctly.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.