@mirascript/wasm 0.1.92 → 0.1.93
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/lib/wasm.d.ts +23 -23
- package/lib/wasm.js +2 -2
- package/lib/wasm_bg.wasm +0 -0
- package/lib/wasm_bg.wasm.d.ts +23 -23
- package/package.json +2 -2
package/lib/wasm.d.ts
CHANGED
|
@@ -97,32 +97,10 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
97
97
|
|
|
98
98
|
export interface InitOutput {
|
|
99
99
|
readonly memory: WebAssembly.Memory;
|
|
100
|
+
readonly __wbg_compileconfig_free: (a: number, b: number) => void;
|
|
100
101
|
readonly __wbg_compileresult_free: (a: number, b: number) => void;
|
|
101
102
|
readonly __wbg_formatoptions_free: (a: number, b: number) => void;
|
|
102
103
|
readonly __wbg_formatresult_free: (a: number, b: number) => void;
|
|
103
|
-
readonly __wbg_monacocompiler_free: (a: number, b: number) => void;
|
|
104
|
-
readonly compile: (a: number, b: number, c: number) => number;
|
|
105
|
-
readonly compileresult_chunk: (a: number) => [number, number];
|
|
106
|
-
readonly compileresult_diagnostics: (a: number) => [number, number];
|
|
107
|
-
readonly format_sync: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
108
|
-
readonly formatoptions_insert_spaces: (a: number) => number;
|
|
109
|
-
readonly formatoptions_new: () => number;
|
|
110
|
-
readonly formatoptions_print_width: (a: number) => number;
|
|
111
|
-
readonly formatoptions_set_insert_spaces: (a: number, b: number) => void;
|
|
112
|
-
readonly formatoptions_set_print_width: (a: number, b: number) => void;
|
|
113
|
-
readonly formatoptions_set_tab_size: (a: number, b: number) => void;
|
|
114
|
-
readonly formatoptions_tab_size: (a: number) => number;
|
|
115
|
-
readonly formatresult_edit_count: (a: number) => number;
|
|
116
|
-
readonly formatresult_edit_text: (a: number, b: number) => [number, number];
|
|
117
|
-
readonly formatresult_ranges: (a: number) => [number, number];
|
|
118
|
-
readonly main: () => void;
|
|
119
|
-
readonly monacocompiler_diagnostics: (a: number) => [number, number];
|
|
120
|
-
readonly monacocompiler_emit: (a: number) => [number, number];
|
|
121
|
-
readonly monacocompiler_new: (a: number, b: number, c: number) => number;
|
|
122
|
-
readonly monacocompiler_parse: (a: number) => number;
|
|
123
|
-
readonly formatresult_diagnostics: (a: number) => [number, number];
|
|
124
|
-
readonly compile_buffer: (a: number, b: number, c: number) => number;
|
|
125
|
-
readonly __wbg_compileconfig_free: (a: number, b: number) => void;
|
|
126
104
|
readonly __wbg_get_compileconfig_diagnostic_error: (a: number) => number;
|
|
127
105
|
readonly __wbg_get_compileconfig_diagnostic_hint: (a: number) => number;
|
|
128
106
|
readonly __wbg_get_compileconfig_diagnostic_info: (a: number) => number;
|
|
@@ -133,6 +111,7 @@ export interface InitOutput {
|
|
|
133
111
|
readonly __wbg_get_compileconfig_diagnostic_warning: (a: number) => number;
|
|
134
112
|
readonly __wbg_get_compileconfig_input_mode: (a: number) => number;
|
|
135
113
|
readonly __wbg_get_compileconfig_trivia: (a: number) => number;
|
|
114
|
+
readonly __wbg_monacocompiler_free: (a: number, b: number) => void;
|
|
136
115
|
readonly __wbg_set_compileconfig_diagnostic_error: (a: number, b: number) => void;
|
|
137
116
|
readonly __wbg_set_compileconfig_diagnostic_hint: (a: number, b: number) => void;
|
|
138
117
|
readonly __wbg_set_compileconfig_diagnostic_info: (a: number, b: number) => void;
|
|
@@ -143,7 +122,28 @@ export interface InitOutput {
|
|
|
143
122
|
readonly __wbg_set_compileconfig_diagnostic_warning: (a: number, b: number) => void;
|
|
144
123
|
readonly __wbg_set_compileconfig_input_mode: (a: number, b: number) => void;
|
|
145
124
|
readonly __wbg_set_compileconfig_trivia: (a: number, b: number) => void;
|
|
125
|
+
readonly compile: (a: number, b: number, c: number) => number;
|
|
126
|
+
readonly compile_buffer: (a: number, b: number, c: number) => number;
|
|
146
127
|
readonly compileconfig_new: () => number;
|
|
128
|
+
readonly compileresult_chunk: (a: number) => [number, number];
|
|
129
|
+
readonly compileresult_diagnostics: (a: number) => [number, number];
|
|
130
|
+
readonly format_sync: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
131
|
+
readonly formatoptions_insert_spaces: (a: number) => number;
|
|
132
|
+
readonly formatoptions_new: () => number;
|
|
133
|
+
readonly formatoptions_print_width: (a: number) => number;
|
|
134
|
+
readonly formatoptions_set_insert_spaces: (a: number, b: number) => void;
|
|
135
|
+
readonly formatoptions_set_print_width: (a: number, b: number) => void;
|
|
136
|
+
readonly formatoptions_set_tab_size: (a: number, b: number) => void;
|
|
137
|
+
readonly formatoptions_tab_size: (a: number) => number;
|
|
138
|
+
readonly formatresult_diagnostics: (a: number) => [number, number];
|
|
139
|
+
readonly formatresult_edit_count: (a: number) => number;
|
|
140
|
+
readonly formatresult_edit_text: (a: number, b: number) => [number, number];
|
|
141
|
+
readonly formatresult_ranges: (a: number) => [number, number];
|
|
142
|
+
readonly main: () => void;
|
|
143
|
+
readonly monacocompiler_diagnostics: (a: number) => [number, number];
|
|
144
|
+
readonly monacocompiler_emit: (a: number) => [number, number];
|
|
145
|
+
readonly monacocompiler_new: (a: number, b: number, c: number) => number;
|
|
146
|
+
readonly monacocompiler_parse: (a: number) => number;
|
|
147
147
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
148
148
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
149
149
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
package/lib/wasm.js
CHANGED
|
@@ -450,11 +450,11 @@ export function main() {
|
|
|
450
450
|
function __wbg_get_imports() {
|
|
451
451
|
const import0 = {
|
|
452
452
|
__proto__: null,
|
|
453
|
-
|
|
453
|
+
__wbg_Error_67e7344beaa85059: function(arg0, arg1) {
|
|
454
454
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
455
455
|
return ret;
|
|
456
456
|
},
|
|
457
|
-
|
|
457
|
+
__wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
|
|
458
458
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
459
459
|
},
|
|
460
460
|
__wbg_error_757e9472f8410341: function(arg0, arg1) {
|
package/lib/wasm_bg.wasm
CHANGED
|
Binary file
|
package/lib/wasm_bg.wasm.d.ts
CHANGED
|
@@ -1,32 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_compileconfig_free: (a: number, b: number) => void;
|
|
4
5
|
export const __wbg_compileresult_free: (a: number, b: number) => void;
|
|
5
6
|
export const __wbg_formatoptions_free: (a: number, b: number) => void;
|
|
6
7
|
export const __wbg_formatresult_free: (a: number, b: number) => void;
|
|
7
|
-
export const __wbg_monacocompiler_free: (a: number, b: number) => void;
|
|
8
|
-
export const compile: (a: number, b: number, c: number) => number;
|
|
9
|
-
export const compileresult_chunk: (a: number) => [number, number];
|
|
10
|
-
export const compileresult_diagnostics: (a: number) => [number, number];
|
|
11
|
-
export const format_sync: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
12
|
-
export const formatoptions_insert_spaces: (a: number) => number;
|
|
13
|
-
export const formatoptions_new: () => number;
|
|
14
|
-
export const formatoptions_print_width: (a: number) => number;
|
|
15
|
-
export const formatoptions_set_insert_spaces: (a: number, b: number) => void;
|
|
16
|
-
export const formatoptions_set_print_width: (a: number, b: number) => void;
|
|
17
|
-
export const formatoptions_set_tab_size: (a: number, b: number) => void;
|
|
18
|
-
export const formatoptions_tab_size: (a: number) => number;
|
|
19
|
-
export const formatresult_edit_count: (a: number) => number;
|
|
20
|
-
export const formatresult_edit_text: (a: number, b: number) => [number, number];
|
|
21
|
-
export const formatresult_ranges: (a: number) => [number, number];
|
|
22
|
-
export const main: () => void;
|
|
23
|
-
export const monacocompiler_diagnostics: (a: number) => [number, number];
|
|
24
|
-
export const monacocompiler_emit: (a: number) => [number, number];
|
|
25
|
-
export const monacocompiler_new: (a: number, b: number, c: number) => number;
|
|
26
|
-
export const monacocompiler_parse: (a: number) => number;
|
|
27
|
-
export const formatresult_diagnostics: (a: number) => [number, number];
|
|
28
|
-
export const compile_buffer: (a: number, b: number, c: number) => number;
|
|
29
|
-
export const __wbg_compileconfig_free: (a: number, b: number) => void;
|
|
30
8
|
export const __wbg_get_compileconfig_diagnostic_error: (a: number) => number;
|
|
31
9
|
export const __wbg_get_compileconfig_diagnostic_hint: (a: number) => number;
|
|
32
10
|
export const __wbg_get_compileconfig_diagnostic_info: (a: number) => number;
|
|
@@ -37,6 +15,7 @@ export const __wbg_get_compileconfig_diagnostic_tag: (a: number) => number;
|
|
|
37
15
|
export const __wbg_get_compileconfig_diagnostic_warning: (a: number) => number;
|
|
38
16
|
export const __wbg_get_compileconfig_input_mode: (a: number) => number;
|
|
39
17
|
export const __wbg_get_compileconfig_trivia: (a: number) => number;
|
|
18
|
+
export const __wbg_monacocompiler_free: (a: number, b: number) => void;
|
|
40
19
|
export const __wbg_set_compileconfig_diagnostic_error: (a: number, b: number) => void;
|
|
41
20
|
export const __wbg_set_compileconfig_diagnostic_hint: (a: number, b: number) => void;
|
|
42
21
|
export const __wbg_set_compileconfig_diagnostic_info: (a: number, b: number) => void;
|
|
@@ -47,7 +26,28 @@ export const __wbg_set_compileconfig_diagnostic_tag: (a: number, b: number) => v
|
|
|
47
26
|
export const __wbg_set_compileconfig_diagnostic_warning: (a: number, b: number) => void;
|
|
48
27
|
export const __wbg_set_compileconfig_input_mode: (a: number, b: number) => void;
|
|
49
28
|
export const __wbg_set_compileconfig_trivia: (a: number, b: number) => void;
|
|
29
|
+
export const compile: (a: number, b: number, c: number) => number;
|
|
30
|
+
export const compile_buffer: (a: number, b: number, c: number) => number;
|
|
50
31
|
export const compileconfig_new: () => number;
|
|
32
|
+
export const compileresult_chunk: (a: number) => [number, number];
|
|
33
|
+
export const compileresult_diagnostics: (a: number) => [number, number];
|
|
34
|
+
export const format_sync: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
35
|
+
export const formatoptions_insert_spaces: (a: number) => number;
|
|
36
|
+
export const formatoptions_new: () => number;
|
|
37
|
+
export const formatoptions_print_width: (a: number) => number;
|
|
38
|
+
export const formatoptions_set_insert_spaces: (a: number, b: number) => void;
|
|
39
|
+
export const formatoptions_set_print_width: (a: number, b: number) => void;
|
|
40
|
+
export const formatoptions_set_tab_size: (a: number, b: number) => void;
|
|
41
|
+
export const formatoptions_tab_size: (a: number) => number;
|
|
42
|
+
export const formatresult_diagnostics: (a: number) => [number, number];
|
|
43
|
+
export const formatresult_edit_count: (a: number) => number;
|
|
44
|
+
export const formatresult_edit_text: (a: number, b: number) => [number, number];
|
|
45
|
+
export const formatresult_ranges: (a: number) => [number, number];
|
|
46
|
+
export const main: () => void;
|
|
47
|
+
export const monacocompiler_diagnostics: (a: number) => [number, number];
|
|
48
|
+
export const monacocompiler_emit: (a: number) => [number, number];
|
|
49
|
+
export const monacocompiler_new: (a: number, b: number, c: number) => number;
|
|
50
|
+
export const monacocompiler_parse: (a: number) => number;
|
|
51
51
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
52
52
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
53
53
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirascript/wasm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.93",
|
|
4
4
|
"author": "CloudPSS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "MiraScript compiler for WebAssembly",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@mirascript/constants": "~0.1.
|
|
33
|
+
"@mirascript/constants": "~0.1.93",
|
|
34
34
|
"nodemon": "^3.1.14"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|