@astrojs/compiler 0.12.0-next.0 → 0.12.0-next.3

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,44 @@
1
1
  # @astrojs/compiler
2
2
 
3
+ ## 0.12.0-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - ef69b74: Export `./types` rather than `./types.d.ts`
8
+
9
+ ## 0.12.0-next.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 073b0f1: Adds a warning when using an expression with a hoisted script
14
+
15
+ ## 0.12.0-next.1
16
+
17
+ ### Patch Changes
18
+
19
+ - a539d53: Update exposed types
20
+
21
+ ## 0.12.0-next.0
22
+
23
+ ### Minor Changes
24
+
25
+ - 8ce39c7: Do not render implicit tags created during the parsing process
26
+ - 41b825a: Remove "as" option, treats all documents as fragments that generate no implicit tags
27
+ - 483b34b: Add `parse` function which generates an AST
28
+ - 9e5e2f8: Adds support for `Astro.self` (as accepted in the [Recursive Components RFC](https://github.com/withastro/rfcs/blob/main/active-rfcs/0000-recursive-components.md)).
29
+
30
+ ### Patch Changes
31
+
32
+ - 16b167c: Expose AST types via `@astrojs/compiler/types`
33
+
34
+ ## 0.11.4
35
+
36
+ ### Patch Changes
37
+
38
+ - 99b5de2: Reset tokenizer state when a raw element that is self-closing is encountered.
39
+
40
+ This fixes the handling of self-closing elements like `<title />` and `<script />` when used with `set:html`.
41
+
3
42
  ## 0.11.3
4
43
 
5
44
  ### Patch Changes
@@ -43,14 +82,6 @@
43
82
  - 5fa9e53: Fix handling of special characters inside of expressions
44
83
  - 8aaa956: Formalize support for magic `data-astro-raw` attribute with new, official `is:raw` directive
45
84
  - c698350: Improve MathML support. `{}` inside of `<math>` is now treated as raw text rather than an expression construct.
46
- ## 0.11.0-next.0
47
-
48
- ### Minor Changes
49
-
50
- - 083d604: Do not render implicit tags created during the parsing process
51
- - d188c74: Remove "as" option, treats all documents as fragments that generate no implicit tags
52
- - c4b6b05: Add `parse` function which generates an AST
53
- - d84c3a2: Adds support for `Astro.self` (as accepted in the [Recursive Components RFC](https://github.com/withastro/rfcs/blob/main/active-rfcs/0000-recursive-components.md)).
54
85
 
55
86
  ## 0.10.1
56
87
 
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.12.0-next.0",
8
+ "version": "0.12.0-next.3",
9
9
  "scripts": {
10
10
  "build": "tsc -p ."
11
11
  },
@@ -26,7 +26,8 @@
26
26
  "import": "./node/utils.js",
27
27
  "default": "./browser/utils.js"
28
28
  },
29
- "./astro.wasm": "./astro.wasm"
29
+ "./astro.wasm": "./astro.wasm",
30
+ "./types": "./types.d.ts"
30
31
  },
31
32
  "dependencies": {
32
33
  "typescript": "^4.3.5"
package/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './shared/ast'