@astrojs/compiler 0.31.3 → 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 +11 -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/sourcemap.astro.js +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
3
11
|
## 0.31.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -66,7 +74,7 @@
|
|
|
66
74
|
|
|
67
75
|
### Patch Changes
|
|
68
76
|
|
|
69
|
-
- ec745f4: Self-closing tags will now
|
|
77
|
+
- ec745f4: Self-closing tags will now retrieve "end" positional data
|
|
70
78
|
- a6c2822: Fix a few TSX output errors
|
|
71
79
|
|
|
72
80
|
## 0.29.15
|
|
@@ -164,7 +172,7 @@
|
|
|
164
172
|
|
|
165
173
|
### Minor Changes
|
|
166
174
|
|
|
167
|
-
- fd2fc28: Fix some utf8
|
|
175
|
+
- fd2fc28: Fix some utf8 compatibility issues
|
|
168
176
|
|
|
169
177
|
### Patch Changes
|
|
170
178
|
|
|
@@ -344,7 +352,7 @@
|
|
|
344
352
|
|
|
345
353
|
- a28c3d8: Fix handling of unbalanced quotes in expression attributes
|
|
346
354
|
- 28d1d4d: Fix handling of TS generics inside of expressions
|
|
347
|
-
- 356d3b6: Prevent
|
|
355
|
+
- 356d3b6: Prevent wrapping module scripts with scope
|
|
348
356
|
|
|
349
357
|
## 0.22.1
|
|
350
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;
|
package/package.json
CHANGED
package/sourcemap.astro.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<Fragment>
|
|
2
|
-
{/** prettier-ignore */}<li />
|
|
3
|
-
|
|
4
|
-
</Fragment>
|
|
5
|
-
export default function Index__AstroComponent_(_props: Record<string, any>): any {}
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiaW5kZXguYXN0cm8iXSwKICAic291cmNlc0NvbnRlbnQiOiBbIlxuXHUwMDNjIS0tIHByZXR0aWVyLWlnbm9yZSAtLVx1MDAzZVxuXHUwMDNjbGkgL1x1MDAzZVxuIl0sCiAgIm1hcHBpbmdzIjogIkFBQUEsQUFBQTtBQUFBLElBQ0ksQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxBQURwQixJQUVBLENBQUMsRUFBRSxDQUFDLEVBQUU7QUFDTixBQUhBO0FBQUE7IiwKICAibmFtZXMiOiBbXQp9
|