@emnudge/wat-lsp 0.6.0 → 0.7.0

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.
@@ -606,6 +606,10 @@ function __wbg_get_imports() {
606
606
  const ret = arg0.isMissing;
607
607
  return ret;
608
608
  };
609
+ imports.wbg.__wbg_isNamed_d72ecdb89eac279b = function(arg0) {
610
+ const ret = arg0.isNamed;
611
+ return ret;
612
+ };
609
613
  imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) {
610
614
  const ret = arg0.length;
611
615
  return ret;
@@ -764,16 +768,16 @@ function __wbg_get_imports() {
764
768
  const ret = getStringFromWasm0(arg0, arg1);
765
769
  return ret;
766
770
  };
771
+ imports.wbg.__wbindgen_cast_a2392981279ed338 = function(arg0, arg1) {
772
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 64, function: Function { arguments: [Externref], shim_idx: 65, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
773
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h949c87b88cdbd48a, wasm_bindgen__convert__closures_____invoke__hffdd76fc25814859);
774
+ return ret;
775
+ };
767
776
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
768
777
  // Cast intrinsic for `F64 -> Externref`.
769
778
  const ret = arg0;
770
779
  return ret;
771
780
  };
772
- imports.wbg.__wbindgen_cast_efaa74e24e38a7b5 = function(arg0, arg1) {
773
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65, function: Function { arguments: [Externref], shim_idx: 66, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
774
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h949c87b88cdbd48a, wasm_bindgen__convert__closures_____invoke__hffdd76fc25814859);
775
- return ret;
776
- };
777
781
  imports.wbg.__wbindgen_init_externref_table = function() {
778
782
  const table = wasm.__wbindgen_externrefs;
779
783
  const offset = table.grow(4);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emnudge/wat-lsp",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "WebAssembly Text Format (WAT) Language Server - WASM build for browser and Node.js",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,6 +30,7 @@
30
30
  "build:assets": "node scripts/copy-assets.js",
31
31
  "build": "pnpm run build:wasm && pnpm run build:wrapper && pnpm run build:assets",
32
32
  "clean": "rm -rf dist",
33
+ "test": "vitest run",
33
34
  "prepublishOnly": "pnpm run clean && pnpm run build"
34
35
  },
35
36
  "repository": {
@@ -53,6 +54,7 @@
53
54
  },
54
55
  "homepage": "https://github.com/EmNudge/wat-lsp#readme",
55
56
  "devDependencies": {
57
+ "vitest": "^3.0.0",
56
58
  "web-tree-sitter": "^0.25.3"
57
59
  },
58
60
  "peerDependencies": {