windmill-parser-wasm-ts 1.623.1 → 1.653.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.
package/package.json
CHANGED
|
@@ -3,13 +3,11 @@
|
|
|
3
3
|
export function parse_deno(code: string, main_override?: string | null): string;
|
|
4
4
|
export function parse_outputs(code: string): string;
|
|
5
5
|
export function parse_ts_imports(code: string): string;
|
|
6
|
-
export function parse_assets_ts(code: string): string;
|
|
7
6
|
|
|
8
7
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
9
8
|
|
|
10
9
|
export interface InitOutput {
|
|
11
10
|
readonly memory: WebAssembly.Memory;
|
|
12
|
-
readonly parse_assets_ts: (a: number, b: number) => [number, number];
|
|
13
11
|
readonly parse_deno: (a: number, b: number, c: number, d: number) => [number, number];
|
|
14
12
|
readonly parse_outputs: (a: number, b: number) => [number, number];
|
|
15
13
|
readonly parse_ts_imports: (a: number, b: number) => [number, number];
|
package/windmill_parser_wasm.js
CHANGED
|
@@ -243,25 +243,6 @@ export function parse_ts_imports(code) {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
/**
|
|
247
|
-
* @param {string} code
|
|
248
|
-
* @returns {string}
|
|
249
|
-
*/
|
|
250
|
-
export function parse_assets_ts(code) {
|
|
251
|
-
let deferred2_0;
|
|
252
|
-
let deferred2_1;
|
|
253
|
-
try {
|
|
254
|
-
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
255
|
-
const len0 = WASM_VECTOR_LEN;
|
|
256
|
-
const ret = wasm.parse_assets_ts(ptr0, len0);
|
|
257
|
-
deferred2_0 = ret[0];
|
|
258
|
-
deferred2_1 = ret[1];
|
|
259
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
260
|
-
} finally {
|
|
261
|
-
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
|
|
265
246
|
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
266
247
|
|
|
267
248
|
async function __wbg_load(module, imports) {
|
|
@@ -316,7 +297,7 @@ function __wbg_get_imports() {
|
|
|
316
297
|
const ret = Object.entries(arg0);
|
|
317
298
|
return ret;
|
|
318
299
|
};
|
|
319
|
-
imports.wbg.
|
|
300
|
+
imports.wbg.__wbg_eval_a9c9b3f924abd023 = function(arg0, arg1) {
|
|
320
301
|
const ret = eval(getStringFromWasm0(arg0, arg1));
|
|
321
302
|
return ret;
|
|
322
303
|
};
|
|
Binary file
|