mimium-web 4.1.0 → 4.1.1
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/mimium_web.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* @ts-self-types="./mimium_web.d.ts" */
|
|
2
|
-
import { __mimium_test_clear_cache, __mimium_test_put_cache, export_virtual_file_cache_json, get_env, has_network_api, import_virtual_file_cache_json, preload_mimium_lib_cache, preload_user_module_cache, read_file, set_module_base_url } from './snippets/mimium-lang-
|
|
2
|
+
import { __mimium_test_clear_cache, __mimium_test_put_cache, export_virtual_file_cache_json, get_env, has_network_api, import_virtual_file_cache_json, preload_mimium_lib_cache, preload_user_module_cache, read_file, set_module_base_url } from './snippets/mimium-lang-d0d4bf66b955afd8/src/utils/fileloader.js';
|
|
3
3
|
|
|
4
4
|
export class Config {
|
|
5
5
|
static __wrap(ptr) {
|
|
@@ -297,10 +297,10 @@ if (Symbol.dispose) Context.prototype[Symbol.dispose] = Context.prototype.free;
|
|
|
297
297
|
function __wbg_get_imports() {
|
|
298
298
|
const import0 = {
|
|
299
299
|
__proto__: null,
|
|
300
|
-
|
|
300
|
+
__wbg___mimium_test_clear_cache_89961b5a0f901937: function() { return handleError(function () {
|
|
301
301
|
__mimium_test_clear_cache();
|
|
302
302
|
}, arguments); },
|
|
303
|
-
|
|
303
|
+
__wbg___mimium_test_put_cache_749da6d7af996257: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
304
304
|
__mimium_test_put_cache(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
305
305
|
}, arguments); },
|
|
306
306
|
__wbg___wbindgen_copy_to_typed_array_d2f20acdab8e0740: function(arg0, arg1, arg2) {
|
|
@@ -342,25 +342,25 @@ function __wbg_get_imports() {
|
|
|
342
342
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
343
343
|
}
|
|
344
344
|
},
|
|
345
|
-
|
|
345
|
+
__wbg_export_virtual_file_cache_json_9a56e9489ae394ce: function() { return handleError(function (arg0) {
|
|
346
346
|
const ret = export_virtual_file_cache_json();
|
|
347
347
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
348
348
|
const len1 = WASM_VECTOR_LEN;
|
|
349
349
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
350
350
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
351
351
|
}, arguments); },
|
|
352
|
-
|
|
352
|
+
__wbg_get_env_76170448cd707855: function() { return handleError(function (arg0, arg1, arg2) {
|
|
353
353
|
const ret = get_env(getStringFromWasm0(arg1, arg2));
|
|
354
354
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
355
355
|
const len1 = WASM_VECTOR_LEN;
|
|
356
356
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
357
357
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
358
358
|
}, arguments); },
|
|
359
|
-
|
|
359
|
+
__wbg_has_network_api_02befa5d40376823: function() { return handleError(function () {
|
|
360
360
|
const ret = has_network_api();
|
|
361
361
|
return ret;
|
|
362
362
|
}, arguments); },
|
|
363
|
-
|
|
363
|
+
__wbg_import_virtual_file_cache_json_e20e305af4609e51: function() { return handleError(function (arg0, arg1) {
|
|
364
364
|
import_virtual_file_cache_json(getStringFromWasm0(arg0, arg1));
|
|
365
365
|
}, arguments); },
|
|
366
366
|
__wbg_new_227d7c05414eb861: function() {
|
|
@@ -385,11 +385,11 @@ function __wbg_get_imports() {
|
|
|
385
385
|
state0.a = state0.b = 0;
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
|
-
|
|
388
|
+
__wbg_preload_mimium_lib_cache_4ff9f8dc91be76c2: function() { return handleError(function (arg0, arg1) {
|
|
389
389
|
const ret = preload_mimium_lib_cache(getStringFromWasm0(arg0, arg1));
|
|
390
390
|
return ret;
|
|
391
391
|
}, arguments); },
|
|
392
|
-
|
|
392
|
+
__wbg_preload_user_module_cache_459f8ba3895269ce: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
393
393
|
const ret = preload_user_module_cache(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
394
394
|
return ret;
|
|
395
395
|
}, arguments); },
|
|
@@ -400,7 +400,7 @@ function __wbg_get_imports() {
|
|
|
400
400
|
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
401
401
|
queueMicrotask(arg0);
|
|
402
402
|
},
|
|
403
|
-
|
|
403
|
+
__wbg_read_file_b163857e87690fb8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
404
404
|
const ret = read_file(getStringFromWasm0(arg1, arg2));
|
|
405
405
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
406
406
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -411,7 +411,7 @@ function __wbg_get_imports() {
|
|
|
411
411
|
const ret = Promise.resolve(arg0);
|
|
412
412
|
return ret;
|
|
413
413
|
},
|
|
414
|
-
|
|
414
|
+
__wbg_set_module_base_url_8faed4c6d76822ae: function() { return handleError(function (arg0, arg1) {
|
|
415
415
|
set_module_base_url(getStringFromWasm0(arg0, arg1));
|
|
416
416
|
}, arguments); },
|
|
417
417
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
@@ -446,7 +446,7 @@ function __wbg_get_imports() {
|
|
|
446
446
|
return ret;
|
|
447
447
|
},
|
|
448
448
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
449
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
449
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 627, function: Function { arguments: [Externref], shim_idx: 628, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
450
450
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha96a9ccc7977162c, wasm_bindgen__convert__closures_____invoke__hc29654df3a848ae0);
|
|
451
451
|
return ret;
|
|
452
452
|
},
|
package/mimium_web_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
File without changes
|