@astrojs/compiler 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @astrojs/compiler
2
2
 
3
+ ## 0.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d8448e2: Prevent printing the doctype in the JS output
8
+
9
+ ### Patch Changes
10
+
11
+ - a28c3d8: Fix handling of unbalanced quotes in expression attributes
12
+ - 28d1d4d: Fix handling of TS generics inside of expressions
13
+ - 356d3b6: Prevent wraping module scripts with scope
14
+
15
+ ## 0.22.1
16
+
17
+ ### Patch Changes
18
+
19
+ - 973103c: Prevents unescaping attribute expressions
20
+
21
+ ## 0.22.0
22
+
23
+ ### Minor Changes
24
+
25
+ - 558c9dd: Generate a stable scoped class that does _NOT_ factor in local styles. This will allow us to safely do style HMR without needing to update the DOM as well.
26
+ - c19cd8c: Update Astro's CSS scoping algorithm to implement zero-specificity scoping, according to [RFC0012](https://github.com/withastro/rfcs/blob/main/proposals/0012-scoped-css-with-preserved-specificity.md).
27
+
3
28
  ## 0.21.0
4
29
 
5
30
  ### Minor Changes
@@ -9,6 +34,7 @@
9
34
  ### Patch Changes
10
35
 
11
36
  - 4b318d5: Do not attempt to hoist styles or scripts inside of `<noscript>`
37
+ - d6ebab6: Fixing missing semicolon on TSX Frontmatter last-entries
12
38
 
13
39
  ## 0.20.0
14
40
 
package/astro.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "bugs": "https://github.com/withastro/compiler/issues",
7
7
  "homepage": "https://astro.build",
8
- "version": "0.21.0",
8
+ "version": "0.23.0",
9
9
  "main": "./node/index.js",
10
10
  "types": "./node",
11
11
  "repository": {
package/shared/types.d.ts CHANGED
@@ -44,6 +44,7 @@ export interface TransformResult {
44
44
  clientOnlyComponents: HydratedComponent[];
45
45
  code: string;
46
46
  map: string;
47
+ scope: string;
47
48
  }
48
49
  export interface TSXResult {
49
50
  code: string;