@rsvelte/compiler 0.12.1 → 0.12.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/README.md CHANGED
@@ -69,7 +69,7 @@ console.log(client.css); // scoped styles
69
69
  // Compile for SSR.
70
70
  const server = compile_server(source, 'App');
71
71
 
72
- // Parse to the Svelte AST (JSON string, same shape the official parser produces).
72
+ // Parse to the Svelte AST (compact JSON, same shape the official parser produces).
73
73
  const ast = JSON.parse(parse_svelte(source).ast);
74
74
 
75
75
  console.log(version()); // the rsvelte compiler version
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@rsvelte/compiler",
3
3
  "type": "module",
4
4
  "description": "A high-performance Rust implementation of the Svelte compiler",
5
- "version": "0.12.1",
5
+ "version": "0.12.3",
6
6
  "license": "MIT",
7
7
  "files": [
8
8
  "rsvelte_compiler_bg.wasm",
Binary file
@@ -374,7 +374,7 @@ function __wbg_get_imports() {
374
374
  return ret;
375
375
  }, arguments); },
376
376
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
377
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [String], shim_idx: 264, ret: String, inner_ret: Some(String) }, mutable: false }) -> Externref`.
377
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [String], shim_idx: 263, ret: String, inner_ret: Some(String) }, mutable: false }) -> Externref`.
378
378
  const ret = makeClosure(arg0, arg1, wasm_bindgen_3be0ddcbc773b10___convert__closures_____invoke___alloc_a941a2cfab7efbc4___string__String__alloc_a941a2cfab7efbc4___string__String__true_);
379
379
  return ret;
380
380
  },
Binary file