@beff/cli 0.0.112 → 0.0.114
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/CHANGELOG.md +12 -0
- package/dist-cli/cli.js +5 -3
- package/package.json +1 -1
- package/pkg/beff_wasm.d.ts +2 -2
- package/pkg/beff_wasm.js +8 -271
- package/pkg/beff_wasm_bg.wasm +0 -0
- package/pkg/beff_wasm_bg.wasm.d.ts +3 -5
package/CHANGELOG.md
CHANGED
package/dist-cli/cli.js
CHANGED
|
@@ -45960,7 +45960,7 @@ var emitDiagnostics = (diag) => {
|
|
|
45960
45960
|
console.error(chalk.yellow(`Found ${diag.diagnostics.length} ${ers}`));
|
|
45961
45961
|
};
|
|
45962
45962
|
globalThis.resolve_import = resolveImport;
|
|
45963
|
-
globalThis.emit_diagnostic = emitDiagnostics;
|
|
45963
|
+
globalThis.emit_diagnostic = (str) => emitDiagnostics(JSON.parse(str));
|
|
45964
45964
|
var Bundler = class {
|
|
45965
45965
|
cbs;
|
|
45966
45966
|
constructor(verbose) {
|
|
@@ -45986,10 +45986,12 @@ var Bundler = class {
|
|
|
45986
45986
|
this.cbs.push(cb);
|
|
45987
45987
|
}
|
|
45988
45988
|
bundle_v2(parser_entrypoint, settings) {
|
|
45989
|
-
return wasm.bundle_to_string_v2(parser_entrypoint ?? "", serializeSettings(settings));
|
|
45989
|
+
return wasm.bundle_to_string_v2(parser_entrypoint ?? "", JSON.stringify(serializeSettings(settings)));
|
|
45990
45990
|
}
|
|
45991
45991
|
diagnostics(parser_entrypoint, settings) {
|
|
45992
|
-
return
|
|
45992
|
+
return JSON.parse(
|
|
45993
|
+
wasm.bundle_to_diagnostics(parser_entrypoint ?? "", JSON.stringify(serializeSettings(settings)))
|
|
45994
|
+
);
|
|
45993
45995
|
}
|
|
45994
45996
|
updateFileContent(file_name, content) {
|
|
45995
45997
|
return wasm.update_file_content(file_name, content);
|
package/package.json
CHANGED
package/pkg/beff_wasm.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
|
|
4
|
-
export function bundle_to_diagnostics(parser_entry_point: string, settings:
|
|
4
|
+
export function bundle_to_diagnostics(parser_entry_point: string, settings: string): any;
|
|
5
5
|
|
|
6
|
-
export function bundle_to_string_v2(parser_entry_point: string, settings:
|
|
6
|
+
export function bundle_to_string_v2(parser_entry_point: string, settings: string): any;
|
|
7
7
|
|
|
8
8
|
export function init(verbose: boolean): void;
|
|
9
9
|
|
package/pkg/beff_wasm.js
CHANGED
|
@@ -2,82 +2,6 @@
|
|
|
2
2
|
let imports = {};
|
|
3
3
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
4
4
|
|
|
5
|
-
function addToExternrefTable0(obj) {
|
|
6
|
-
const idx = wasm.__externref_table_alloc();
|
|
7
|
-
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
8
|
-
return idx;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function debugString(val) {
|
|
12
|
-
// primitive types
|
|
13
|
-
const type = typeof val;
|
|
14
|
-
if (type == 'number' || type == 'boolean' || val == null) {
|
|
15
|
-
return `${val}`;
|
|
16
|
-
}
|
|
17
|
-
if (type == 'string') {
|
|
18
|
-
return `"${val}"`;
|
|
19
|
-
}
|
|
20
|
-
if (type == 'symbol') {
|
|
21
|
-
const description = val.description;
|
|
22
|
-
if (description == null) {
|
|
23
|
-
return 'Symbol';
|
|
24
|
-
} else {
|
|
25
|
-
return `Symbol(${description})`;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
if (type == 'function') {
|
|
29
|
-
const name = val.name;
|
|
30
|
-
if (typeof name == 'string' && name.length > 0) {
|
|
31
|
-
return `Function(${name})`;
|
|
32
|
-
} else {
|
|
33
|
-
return 'Function';
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
// objects
|
|
37
|
-
if (Array.isArray(val)) {
|
|
38
|
-
const length = val.length;
|
|
39
|
-
let debug = '[';
|
|
40
|
-
if (length > 0) {
|
|
41
|
-
debug += debugString(val[0]);
|
|
42
|
-
}
|
|
43
|
-
for(let i = 1; i < length; i++) {
|
|
44
|
-
debug += ', ' + debugString(val[i]);
|
|
45
|
-
}
|
|
46
|
-
debug += ']';
|
|
47
|
-
return debug;
|
|
48
|
-
}
|
|
49
|
-
// Test for built-in
|
|
50
|
-
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
51
|
-
let className;
|
|
52
|
-
if (builtInMatches && builtInMatches.length > 1) {
|
|
53
|
-
className = builtInMatches[1];
|
|
54
|
-
} else {
|
|
55
|
-
// Failed to match the standard '[object ClassName]'
|
|
56
|
-
return toString.call(val);
|
|
57
|
-
}
|
|
58
|
-
if (className == 'Object') {
|
|
59
|
-
// we're a user defined class or Object
|
|
60
|
-
// JSON.stringify avoids problems with cycles, and is generally much
|
|
61
|
-
// easier than looping through ownProperties of `val`.
|
|
62
|
-
try {
|
|
63
|
-
return 'Object(' + JSON.stringify(val) + ')';
|
|
64
|
-
} catch (_) {
|
|
65
|
-
return 'Object';
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
// errors
|
|
69
|
-
if (val instanceof Error) {
|
|
70
|
-
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
71
|
-
}
|
|
72
|
-
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
73
|
-
return className;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
77
|
-
ptr = ptr >>> 0;
|
|
78
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
5
|
let cachedDataViewMemory0 = null;
|
|
82
6
|
function getDataViewMemory0() {
|
|
83
7
|
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
@@ -99,15 +23,6 @@ function getUint8ArrayMemory0() {
|
|
|
99
23
|
return cachedUint8ArrayMemory0;
|
|
100
24
|
}
|
|
101
25
|
|
|
102
|
-
function handleError(f, args) {
|
|
103
|
-
try {
|
|
104
|
-
return f.apply(this, args);
|
|
105
|
-
} catch (e) {
|
|
106
|
-
const idx = addToExternrefTable0(e);
|
|
107
|
-
wasm.__wbindgen_exn_store(idx);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
26
|
function isLikeNone(x) {
|
|
112
27
|
return x === undefined || x === null;
|
|
113
28
|
}
|
|
@@ -172,26 +87,30 @@ let WASM_VECTOR_LEN = 0;
|
|
|
172
87
|
|
|
173
88
|
/**
|
|
174
89
|
* @param {string} parser_entry_point
|
|
175
|
-
* @param {
|
|
90
|
+
* @param {string} settings
|
|
176
91
|
* @returns {any}
|
|
177
92
|
*/
|
|
178
93
|
function bundle_to_diagnostics(parser_entry_point, settings) {
|
|
179
94
|
const ptr0 = passStringToWasm0(parser_entry_point, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
180
95
|
const len0 = WASM_VECTOR_LEN;
|
|
181
|
-
const
|
|
96
|
+
const ptr1 = passStringToWasm0(settings, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
97
|
+
const len1 = WASM_VECTOR_LEN;
|
|
98
|
+
const ret = wasm.bundle_to_diagnostics(ptr0, len0, ptr1, len1);
|
|
182
99
|
return ret;
|
|
183
100
|
}
|
|
184
101
|
exports.bundle_to_diagnostics = bundle_to_diagnostics;
|
|
185
102
|
|
|
186
103
|
/**
|
|
187
104
|
* @param {string} parser_entry_point
|
|
188
|
-
* @param {
|
|
105
|
+
* @param {string} settings
|
|
189
106
|
* @returns {any}
|
|
190
107
|
*/
|
|
191
108
|
function bundle_to_string_v2(parser_entry_point, settings) {
|
|
192
109
|
const ptr0 = passStringToWasm0(parser_entry_point, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
193
110
|
const len0 = WASM_VECTOR_LEN;
|
|
194
|
-
const
|
|
111
|
+
const ptr1 = passStringToWasm0(settings, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
112
|
+
const len1 = WASM_VECTOR_LEN;
|
|
113
|
+
const ret = wasm.bundle_to_string_v2(ptr0, len0, ptr1, len1);
|
|
195
114
|
return ret;
|
|
196
115
|
}
|
|
197
116
|
exports.bundle_to_string_v2 = bundle_to_string_v2;
|
|
@@ -217,85 +136,14 @@ function update_file_content(file_name, content) {
|
|
|
217
136
|
}
|
|
218
137
|
exports.update_file_content = update_file_content;
|
|
219
138
|
|
|
220
|
-
exports.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) {
|
|
221
|
-
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
222
|
-
return ret;
|
|
223
|
-
};
|
|
224
|
-
|
|
225
|
-
exports.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) {
|
|
226
|
-
const v = arg0;
|
|
227
|
-
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
228
|
-
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
229
|
-
};
|
|
230
|
-
|
|
231
|
-
exports.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) {
|
|
232
|
-
const ret = debugString(arg1);
|
|
233
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
234
|
-
const len1 = WASM_VECTOR_LEN;
|
|
235
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
236
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
exports.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) {
|
|
240
|
-
const ret = arg0 in arg1;
|
|
241
|
-
return ret;
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
exports.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) {
|
|
245
|
-
const ret = typeof(arg0) === 'function';
|
|
246
|
-
return ret;
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
exports.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) {
|
|
250
|
-
const val = arg0;
|
|
251
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
252
|
-
return ret;
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
exports.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) {
|
|
256
|
-
const ret = arg0 === undefined;
|
|
257
|
-
return ret;
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
exports.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) {
|
|
261
|
-
const ret = arg0 == arg1;
|
|
262
|
-
return ret;
|
|
263
|
-
};
|
|
264
|
-
|
|
265
|
-
exports.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, arg1) {
|
|
266
|
-
const obj = arg1;
|
|
267
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
268
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
269
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
270
|
-
};
|
|
271
|
-
|
|
272
|
-
exports.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, arg1) {
|
|
273
|
-
const obj = arg1;
|
|
274
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
275
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
276
|
-
var len1 = WASM_VECTOR_LEN;
|
|
277
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
278
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
279
|
-
};
|
|
280
|
-
|
|
281
139
|
exports.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
|
|
282
140
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
283
141
|
};
|
|
284
142
|
|
|
285
|
-
exports.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
|
|
286
|
-
const ret = arg0.call(arg1);
|
|
287
|
-
return ret;
|
|
288
|
-
}, arguments) };
|
|
289
|
-
|
|
290
143
|
exports.__wbg_debug_9d0c87ddda3dc485 = function(arg0) {
|
|
291
144
|
console.debug(arg0);
|
|
292
145
|
};
|
|
293
146
|
|
|
294
|
-
exports.__wbg_done_62ea16af4ce34b24 = function(arg0) {
|
|
295
|
-
const ret = arg0.done;
|
|
296
|
-
return ret;
|
|
297
|
-
};
|
|
298
|
-
|
|
299
147
|
exports.__wbg_emit_diagnostic_2f7cf38bc25ebf3d = function(arg0) {
|
|
300
148
|
emit_diagnostic(arg0);
|
|
301
149
|
};
|
|
@@ -316,105 +164,19 @@ exports.__wbg_error_7bc7d576a6aaf855 = function(arg0) {
|
|
|
316
164
|
console.error(arg0);
|
|
317
165
|
};
|
|
318
166
|
|
|
319
|
-
exports.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
|
|
320
|
-
const ret = arg0[arg1 >>> 0];
|
|
321
|
-
return ret;
|
|
322
|
-
};
|
|
323
|
-
|
|
324
|
-
exports.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
|
|
325
|
-
const ret = Reflect.get(arg0, arg1);
|
|
326
|
-
return ret;
|
|
327
|
-
}, arguments) };
|
|
328
|
-
|
|
329
|
-
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
|
|
330
|
-
const ret = arg0[arg1];
|
|
331
|
-
return ret;
|
|
332
|
-
};
|
|
333
|
-
|
|
334
167
|
exports.__wbg_info_ce6bcc489c22f6f0 = function(arg0) {
|
|
335
168
|
console.info(arg0);
|
|
336
169
|
};
|
|
337
170
|
|
|
338
|
-
exports.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) {
|
|
339
|
-
let result;
|
|
340
|
-
try {
|
|
341
|
-
result = arg0 instanceof ArrayBuffer;
|
|
342
|
-
} catch (_) {
|
|
343
|
-
result = false;
|
|
344
|
-
}
|
|
345
|
-
const ret = result;
|
|
346
|
-
return ret;
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
exports.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) {
|
|
350
|
-
let result;
|
|
351
|
-
try {
|
|
352
|
-
result = arg0 instanceof Uint8Array;
|
|
353
|
-
} catch (_) {
|
|
354
|
-
result = false;
|
|
355
|
-
}
|
|
356
|
-
const ret = result;
|
|
357
|
-
return ret;
|
|
358
|
-
};
|
|
359
|
-
|
|
360
|
-
exports.__wbg_isArray_51fd9e6422c0a395 = function(arg0) {
|
|
361
|
-
const ret = Array.isArray(arg0);
|
|
362
|
-
return ret;
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
exports.__wbg_iterator_27b7c8b35ab3e86b = function() {
|
|
366
|
-
const ret = Symbol.iterator;
|
|
367
|
-
return ret;
|
|
368
|
-
};
|
|
369
|
-
|
|
370
|
-
exports.__wbg_length_22ac23eaec9d8053 = function(arg0) {
|
|
371
|
-
const ret = arg0.length;
|
|
372
|
-
return ret;
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
exports.__wbg_length_d45040a40c570362 = function(arg0) {
|
|
376
|
-
const ret = arg0.length;
|
|
377
|
-
return ret;
|
|
378
|
-
};
|
|
379
|
-
|
|
380
171
|
exports.__wbg_log_1d990106d99dacb7 = function(arg0) {
|
|
381
172
|
console.log(arg0);
|
|
382
173
|
};
|
|
383
174
|
|
|
384
|
-
exports.__wbg_new_1ba21ce319a06297 = function() {
|
|
385
|
-
const ret = new Object();
|
|
386
|
-
return ret;
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
exports.__wbg_new_25f239778d6112b9 = function() {
|
|
390
|
-
const ret = new Array();
|
|
391
|
-
return ret;
|
|
392
|
-
};
|
|
393
|
-
|
|
394
|
-
exports.__wbg_new_6421f6084cc5bc5a = function(arg0) {
|
|
395
|
-
const ret = new Uint8Array(arg0);
|
|
396
|
-
return ret;
|
|
397
|
-
};
|
|
398
|
-
|
|
399
175
|
exports.__wbg_new_8a6f238a6ece86ea = function() {
|
|
400
176
|
const ret = new Error();
|
|
401
177
|
return ret;
|
|
402
178
|
};
|
|
403
179
|
|
|
404
|
-
exports.__wbg_next_138a17bbf04e926c = function(arg0) {
|
|
405
|
-
const ret = arg0.next;
|
|
406
|
-
return ret;
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
exports.__wbg_next_3cfe5c0fe2a4cc53 = function() { return handleError(function (arg0) {
|
|
410
|
-
const ret = arg0.next();
|
|
411
|
-
return ret;
|
|
412
|
-
}, arguments) };
|
|
413
|
-
|
|
414
|
-
exports.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
|
|
415
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
416
|
-
};
|
|
417
|
-
|
|
418
180
|
exports.__wbg_read_file_content_6ec8279180f5893a = function(arg0, arg1, arg2) {
|
|
419
181
|
const ret = read_file_content(getStringFromWasm0(arg1, arg2));
|
|
420
182
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -431,14 +193,6 @@ exports.__wbg_resolve_import_9b24ad6900c20040 = function(arg0, arg1, arg2, arg3,
|
|
|
431
193
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
432
194
|
};
|
|
433
195
|
|
|
434
|
-
exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
435
|
-
arg0[arg1] = arg2;
|
|
436
|
-
};
|
|
437
|
-
|
|
438
|
-
exports.__wbg_set_7df433eea03a5c14 = function(arg0, arg1, arg2) {
|
|
439
|
-
arg0[arg1 >>> 0] = arg2;
|
|
440
|
-
};
|
|
441
|
-
|
|
442
196
|
exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
443
197
|
const ret = arg1.stack;
|
|
444
198
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -447,11 +201,6 @@ exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
|
447
201
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
448
202
|
};
|
|
449
203
|
|
|
450
|
-
exports.__wbg_value_57b7b035e117f7ee = function(arg0) {
|
|
451
|
-
const ret = arg0.value;
|
|
452
|
-
return ret;
|
|
453
|
-
};
|
|
454
|
-
|
|
455
204
|
exports.__wbg_warn_6e567d0d926ff881 = function(arg0) {
|
|
456
205
|
console.warn(arg0);
|
|
457
206
|
};
|
|
@@ -462,18 +211,6 @@ exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
|
462
211
|
return ret;
|
|
463
212
|
};
|
|
464
213
|
|
|
465
|
-
exports.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
466
|
-
// Cast intrinsic for `U64 -> Externref`.
|
|
467
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
468
|
-
return ret;
|
|
469
|
-
};
|
|
470
|
-
|
|
471
|
-
exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
472
|
-
// Cast intrinsic for `F64 -> Externref`.
|
|
473
|
-
const ret = arg0;
|
|
474
|
-
return ret;
|
|
475
|
-
};
|
|
476
|
-
|
|
477
214
|
exports.__wbindgen_init_externref_table = function() {
|
|
478
215
|
const table = wasm.__wbindgen_externrefs;
|
|
479
216
|
const offset = table.grow(4);
|
package/pkg/beff_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const bundle_to_diagnostics: (a: number, b: number, c:
|
|
5
|
-
export const bundle_to_string_v2: (a: number, b: number, c:
|
|
4
|
+
export const bundle_to_diagnostics: (a: number, b: number, c: number, d: number) => any;
|
|
5
|
+
export const bundle_to_string_v2: (a: number, b: number, c: number, d: number) => any;
|
|
6
6
|
export const init: (a: number) => void;
|
|
7
7
|
export const update_file_content: (a: number, b: number, c: number, d: number) => void;
|
|
8
|
+
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
8
9
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
9
10
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
10
|
-
export const __wbindgen_exn_store: (a: number) => void;
|
|
11
|
-
export const __externref_table_alloc: () => number;
|
|
12
11
|
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
13
|
-
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
14
12
|
export const __wbindgen_start: () => void;
|