@astrojs/compiler 0.29.15 → 0.29.17

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,21 @@
1
1
  # @astrojs/compiler
2
2
 
3
+ ## 0.29.17
4
+
5
+ ### Patch Changes
6
+
7
+ - 1e7e098: Add warning for invalid spread attributes
8
+ - 3cc6f55: Fix handling of unterminated template literal attributes
9
+ - 48c5677: Update default `internalURL` to `astro/runtime/server/index.js`
10
+ - 2893f33: Fix a number of `table` and `expression` related bugs
11
+
12
+ ## 0.29.16
13
+
14
+ ### Patch Changes
15
+
16
+ - ec745f4: Self-closing tags will now retreive "end" positional data
17
+ - a6c2822: Fix a few TSX output errors
18
+
3
19
  ## 0.29.15
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -17,7 +17,7 @@ The Astro compiler can convert `.astro` syntax to a TypeScript Module whose defa
17
17
  **Some notes**...
18
18
 
19
19
  - TypeScript is valid `.astro` syntax! The output code may need an additional post-processing step to generate valid JavaScript.
20
- - `.astro` files rely on a server implementation exposed as `astro/internal` in the Node ecosystem. Other runtimes currently need to bring their own rendering implementation and reference it via `internalURL`. This is a pain point we're looking into fixing.
20
+ - `.astro` files rely on a server implementation exposed as `astro/runtime/server/index.js` in the Node ecosystem. Other runtimes currently need to bring their own rendering implementation and reference it via `internalURL`. This is a pain point we're looking into fixing.
21
21
 
22
22
  ```js
23
23
  import { transform } from '@astrojs/compiler';
@@ -26,7 +26,7 @@ const result = await transform(source, {
26
26
  site: 'https://mysite.dev',
27
27
  sourcefile: '/Users/astro/Code/project/src/pages/index.astro',
28
28
  sourcemap: 'both',
29
- internalURL: 'astro/internal',
29
+ internalURL: 'astro/runtime/server/index.js',
30
30
  });
31
31
  ```
32
32
 
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.29.15",
8
+ "version": "0.29.17",
9
9
  "main": "./node/index.js",
10
10
  "types": "./node",
11
11
  "repository": {
@@ -30,6 +30,7 @@
30
30
  "@jridgewell/trace-mapping": "^0.3.16",
31
31
  "@types/node": "^16.11.64",
32
32
  "@types/sass": "^1.43.1",
33
+ "acorn": "^8.8.1",
33
34
  "typescript": "~4.8.4"
34
35
  },
35
36
  "scripts": {