@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 +24 -0
- package/astro.wasm +0 -0
- package/package.json +1 -1
- package/shared/types.d.ts +2 -0
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
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;
|