@rsvelte/compiler 0.9.5 → 0.9.8

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/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.9.5",
5
+ "version": "0.9.8",
6
6
  "license": "MIT",
7
7
  "files": [
8
8
  "rsvelte_lint_bg.wasm",
package/rsvelte_lint.d.ts CHANGED
@@ -93,9 +93,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
93
93
 
94
94
  export interface InitOutput {
95
95
  readonly memory: WebAssembly.Memory;
96
- readonly lint: (a: number, b: number, c: number, d: number) => [number, number];
97
- readonly lint_rules: () => [number, number];
98
- readonly lint_version: () => [number, number];
99
96
  readonly __wbg_compileresultwasm_free: (a: number, b: number) => void;
100
97
  readonly __wbg_parseresultwasm_free: (a: number, b: number) => void;
101
98
  readonly compile: (a: number, b: number, c: any) => [number, number, number, number];
@@ -106,6 +103,9 @@ export interface InitOutput {
106
103
  readonly compileresultwasm_js: (a: number) => [number, number];
107
104
  readonly compileresultwasm_success: (a: number) => number;
108
105
  readonly init: () => void;
106
+ readonly lint: (a: number, b: number, c: number, d: number) => [number, number];
107
+ readonly lint_rules: () => [number, number];
108
+ readonly lint_version: () => [number, number];
109
109
  readonly parse_svelte: (a: number, b: number) => number;
110
110
  readonly parseresultwasm_ast: (a: number) => [number, number];
111
111
  readonly parseresultwasm_error: (a: number) => [number, number];
package/rsvelte_lint.js CHANGED
@@ -391,7 +391,7 @@ function __wbg_get_imports() {
391
391
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
392
392
  },
393
393
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
394
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [String], shim_idx: 164, ret: String, inner_ret: Some(String) }, mutable: false }) -> Externref`.
394
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [String], shim_idx: 5, ret: String, inner_ret: Some(String) }, mutable: false }) -> Externref`.
395
395
  const ret = makeClosure(arg0, arg1, wasm_bindgen_de7100a3341595c3___convert__closures_____invoke___alloc_a941a2cfab7efbc4___string__String__alloc_a941a2cfab7efbc4___string__String__true_);
396
396
  return ret;
397
397
  },
Binary file