@astrojs/compiler 0.20.0 → 0.22.1

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,29 @@
1
1
  # @astrojs/compiler
2
2
 
3
+ ## 0.22.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 973103c: Prevents unescaping attribute expressions
8
+
9
+ ## 0.22.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 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.
14
+ - 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).
15
+
16
+ ## 0.21.0
17
+
18
+ ### Minor Changes
19
+
20
+ - 8960d82: New handling for `define:vars` scripts and styles
21
+
22
+ ### Patch Changes
23
+
24
+ - 4b318d5: Do not attempt to hoist styles or scripts inside of `<noscript>`
25
+ - d6ebab6: Fixing missing semicolon on TSX Frontmatter last-entries
26
+
3
27
  ## 0.20.0
4
28
 
5
29
  ### Minor Changes
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.20.0",
8
+ "version": "0.22.1",
9
9
  "main": "./node/index.js",
10
10
  "types": "./node",
11
11
  "repository": {
package/shared/types.d.ts CHANGED
@@ -30,6 +30,7 @@ export declare type HoistedScript = {
30
30
  } | {
31
31
  type: 'inline';
32
32
  code: string;
33
+ map: string;
33
34
  });
34
35
  export interface HydratedComponent {
35
36
  exportName: string;
@@ -43,6 +44,7 @@ export interface TransformResult {
43
44
  clientOnlyComponents: HydratedComponent[];
44
45
  code: string;
45
46
  map: string;
47
+ scope: string;
46
48
  }
47
49
  export interface TSXResult {
48
50
  code: string;