@emnudge/wat-lsp 0.6.1 → 0.8.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.
|
@@ -117,9 +117,9 @@ export interface InitOutput {
|
|
|
117
117
|
readonly watlsp_provideSignatureHelp: (a: number, b: number, c: number) => any;
|
|
118
118
|
readonly watlsp_ready: (a: number) => number;
|
|
119
119
|
readonly watlsp_rename: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
120
|
+
readonly wasm_bindgen__convert__closures_____invoke__hcc61ab2ad87be02b: (a: number, b: number, c: any) => void;
|
|
121
|
+
readonly wasm_bindgen__closure__destroy__hfb676a239b80d01c: (a: number, b: number) => void;
|
|
122
|
+
readonly wasm_bindgen__convert__closures_____invoke__h36f0f59b12e5d6d4: (a: number, b: number, c: any, d: any) => void;
|
|
123
123
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
124
124
|
readonly __externref_table_alloc: () => number;
|
|
125
125
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
@@ -233,12 +233,12 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
233
233
|
|
|
234
234
|
let WASM_VECTOR_LEN = 0;
|
|
235
235
|
|
|
236
|
-
function
|
|
237
|
-
wasm.
|
|
236
|
+
function wasm_bindgen__convert__closures_____invoke__hcc61ab2ad87be02b(arg0, arg1, arg2) {
|
|
237
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hcc61ab2ad87be02b(arg0, arg1, arg2);
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
function
|
|
241
|
-
wasm.
|
|
240
|
+
function wasm_bindgen__convert__closures_____invoke__h36f0f59b12e5d6d4(arg0, arg1, arg2, arg3) {
|
|
241
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h36f0f59b12e5d6d4(arg0, arg1, arg2, arg3);
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
const WatLSPFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -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;
|
|
@@ -641,7 +645,7 @@ function __wbg_get_imports() {
|
|
|
641
645
|
const a = state0.a;
|
|
642
646
|
state0.a = 0;
|
|
643
647
|
try {
|
|
644
|
-
return
|
|
648
|
+
return wasm_bindgen__convert__closures_____invoke__h36f0f59b12e5d6d4(a, state0.b, arg0, arg1);
|
|
645
649
|
} finally {
|
|
646
650
|
state0.a = a;
|
|
647
651
|
}
|
|
@@ -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_644fd6eb3bcf11b4 = function(arg0, arg1) {
|
|
772
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 68, function: Function { arguments: [Externref], shim_idx: 69, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
773
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hfb676a239b80d01c, wasm_bindgen__convert__closures_____invoke__hcc61ab2ad87be02b);
|
|
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.
|
|
3
|
+
"version": "0.8.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": {
|