@tombi-toml/wasm-lib 1.7.2 → 1.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.
- package/dist/package.json +1 -1
- package/dist/tombi_wasm.d.ts +2 -2
- package/dist/tombi_wasm.js +12 -7
- package/dist/tombi_wasm_bg.wasm +0 -0
- package/dist/tombi_wasm_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/tombi_wasm.d.ts
CHANGED
|
@@ -64,8 +64,8 @@ export interface InitOutput {
|
|
|
64
64
|
readonly set_workspace_file: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
65
65
|
readonly set_workspace_files: (a: number, b: number) => void;
|
|
66
66
|
readonly start: () => void;
|
|
67
|
-
readonly
|
|
68
|
-
readonly
|
|
67
|
+
readonly __wasm_bindgen_func_elem_8929: (a: number, b: number, c: number, d: number) => void;
|
|
68
|
+
readonly __wasm_bindgen_func_elem_8931: (a: number, b: number, c: number, d: number) => void;
|
|
69
69
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
70
70
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
71
71
|
readonly __wbindgen_export3: (a: number) => void;
|
package/dist/tombi_wasm.js
CHANGED
|
@@ -470,7 +470,7 @@ function __wbg_get_imports() {
|
|
|
470
470
|
const a = state0.a;
|
|
471
471
|
state0.a = 0;
|
|
472
472
|
try {
|
|
473
|
-
return
|
|
473
|
+
return __wasm_bindgen_func_elem_8931(a, state0.b, arg0, arg1);
|
|
474
474
|
} finally {
|
|
475
475
|
state0.a = a;
|
|
476
476
|
}
|
|
@@ -537,6 +537,9 @@ function __wbg_get_imports() {
|
|
|
537
537
|
__wbg_set_name_6e2a5da46a9ae1e7: function(arg0, arg1, arg2) {
|
|
538
538
|
getObject(arg0).name = getStringFromWasm0(arg1, arg2);
|
|
539
539
|
},
|
|
540
|
+
__wbg_set_redirect_96061705212f7800: function(arg0, arg1) {
|
|
541
|
+
getObject(arg0).redirect = __wbindgen_enum_RequestRedirect[arg1];
|
|
542
|
+
},
|
|
540
543
|
__wbg_set_search_4282ef5d8c36f833: function(arg0, arg1, arg2) {
|
|
541
544
|
getObject(arg0).search = getStringFromWasm0(arg1, arg2);
|
|
542
545
|
},
|
|
@@ -595,8 +598,8 @@ function __wbg_get_imports() {
|
|
|
595
598
|
return addHeapObject(ret);
|
|
596
599
|
},
|
|
597
600
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
598
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
599
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
601
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2731, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
602
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_8929);
|
|
600
603
|
return addHeapObject(ret);
|
|
601
604
|
},
|
|
602
605
|
__wbindgen_generic_0000000000000002: function(arg0) {
|
|
@@ -633,14 +636,14 @@ function __wbg_get_imports() {
|
|
|
633
636
|
};
|
|
634
637
|
}
|
|
635
638
|
|
|
636
|
-
function
|
|
637
|
-
wasm.
|
|
639
|
+
function __wasm_bindgen_func_elem_8931(arg0, arg1, arg2, arg3) {
|
|
640
|
+
wasm.__wasm_bindgen_func_elem_8931(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
638
641
|
}
|
|
639
642
|
|
|
640
|
-
function
|
|
643
|
+
function __wasm_bindgen_func_elem_8929(arg0, arg1, arg2) {
|
|
641
644
|
try {
|
|
642
645
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
643
|
-
wasm.
|
|
646
|
+
wasm.__wasm_bindgen_func_elem_8929(retptr, arg0, arg1, addHeapObject(arg2));
|
|
644
647
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
645
648
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
646
649
|
if (r1) {
|
|
@@ -651,6 +654,8 @@ function __wasm_bindgen_func_elem_8916(arg0, arg1, arg2) {
|
|
|
651
654
|
}
|
|
652
655
|
}
|
|
653
656
|
|
|
657
|
+
|
|
658
|
+
const __wbindgen_enum_RequestRedirect = ["follow", "error", "manual"];
|
|
654
659
|
const PositionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
655
660
|
? { register: () => {}, unregister: () => {} }
|
|
656
661
|
: new FinalizationRegistry(ptr => wasm.__wbg_position_free(ptr, 1));
|
package/dist/tombi_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -18,8 +18,8 @@ export const set_workspace_entries: (a: number, b: number) => void;
|
|
|
18
18
|
export const set_workspace_file: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
19
19
|
export const set_workspace_files: (a: number, b: number) => void;
|
|
20
20
|
export const start: () => void;
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
21
|
+
export const __wasm_bindgen_func_elem_8929: (a: number, b: number, c: number, d: number) => void;
|
|
22
|
+
export const __wasm_bindgen_func_elem_8931: (a: number, b: number, c: number, d: number) => void;
|
|
23
23
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
24
24
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
25
25
|
export const __wbindgen_export3: (a: number) => void;
|