@astrojs/compiler 0.31.2 → 0.31.4
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 +17 -3
- package/astro.wasm +0 -0
- package/browser/utils.d.ts +2 -2
- package/node/utils.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @astrojs/compiler
|
|
2
2
|
|
|
3
|
+
## 0.31.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 960b853: Rename `SerializeOtions` interface to `SerializeOptions`
|
|
8
|
+
- fcab891: Fixes export hoisting edge case
|
|
9
|
+
- 47de01a: Handle module IDs containing quotes
|
|
10
|
+
|
|
11
|
+
## 0.31.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- fd5cb57: Rollback https://github.com/withastro/compiler/pull/674
|
|
16
|
+
|
|
3
17
|
## 0.31.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -60,7 +74,7 @@
|
|
|
60
74
|
|
|
61
75
|
### Patch Changes
|
|
62
76
|
|
|
63
|
-
- ec745f4: Self-closing tags will now
|
|
77
|
+
- ec745f4: Self-closing tags will now retrieve "end" positional data
|
|
64
78
|
- a6c2822: Fix a few TSX output errors
|
|
65
79
|
|
|
66
80
|
## 0.29.15
|
|
@@ -158,7 +172,7 @@
|
|
|
158
172
|
|
|
159
173
|
### Minor Changes
|
|
160
174
|
|
|
161
|
-
- fd2fc28: Fix some utf8
|
|
175
|
+
- fd2fc28: Fix some utf8 compatibility issues
|
|
162
176
|
|
|
163
177
|
### Patch Changes
|
|
164
178
|
|
|
@@ -338,7 +352,7 @@
|
|
|
338
352
|
|
|
339
353
|
- a28c3d8: Fix handling of unbalanced quotes in expression attributes
|
|
340
354
|
- 28d1d4d: Fix handling of TS generics inside of expressions
|
|
341
|
-
- 356d3b6: Prevent
|
|
355
|
+
- 356d3b6: Prevent wrapping module scripts with scope
|
|
342
356
|
|
|
343
357
|
## 0.22.1
|
|
344
358
|
|
package/astro.wasm
CHANGED
|
Binary file
|
package/browser/utils.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare const is: {
|
|
|
19
19
|
frontmatter: (node: Node) => node is FrontmatterNode;
|
|
20
20
|
};
|
|
21
21
|
export declare function walk(node: ParentNode, callback: Visitor): void;
|
|
22
|
-
export interface
|
|
22
|
+
export interface SerializeOptions {
|
|
23
23
|
selfClose: boolean;
|
|
24
24
|
}
|
|
25
|
-
export declare function serialize(root: Node, opts?:
|
|
25
|
+
export declare function serialize(root: Node, opts?: SerializeOptions): string;
|
package/node/utils.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare const is: {
|
|
|
19
19
|
frontmatter: (node: Node) => node is FrontmatterNode;
|
|
20
20
|
};
|
|
21
21
|
export declare function walk(node: ParentNode, callback: Visitor): void;
|
|
22
|
-
export interface
|
|
22
|
+
export interface SerializeOptions {
|
|
23
23
|
selfClose: boolean;
|
|
24
24
|
}
|
|
25
|
-
export declare function serialize(root: Node, opts?:
|
|
25
|
+
export declare function serialize(root: Node, opts?: SerializeOptions): string;
|