@ameyanagi/reshiki 0.12.0 → 0.12.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/dist/editor/reshiki.d.ts
CHANGED
|
@@ -49,9 +49,9 @@ export interface InitOutput {
|
|
|
49
49
|
readonly onChange: (a: number) => void;
|
|
50
50
|
readonly save: (a: number, b: number) => number;
|
|
51
51
|
readonly main: (a: number, b: number) => number;
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
52
|
+
readonly __wasm_bindgen_func_elem_12999: (a: number, b: number, c: number, d: number) => void;
|
|
53
|
+
readonly __wasm_bindgen_func_elem_13030: (a: number, b: number, c: number, d: number) => void;
|
|
54
|
+
readonly __wasm_bindgen_func_elem_13030_9: (a: number, b: number, c: number, d: number) => void;
|
|
55
55
|
readonly __wasm_bindgen_func_elem_24945: (a: number, b: number, c: number) => void;
|
|
56
56
|
readonly __wasm_bindgen_func_elem_24945_10: (a: number, b: number, c: number) => void;
|
|
57
57
|
readonly __wasm_bindgen_func_elem_24945_11: (a: number, b: number, c: number) => void;
|
package/dist/editor/reshiki.js
CHANGED
|
@@ -777,12 +777,12 @@ function __wbg_get_imports() {
|
|
|
777
777
|
__wbg_end_c269ebd826210ed1: function(arg0) {
|
|
778
778
|
getObject(arg0).end();
|
|
779
779
|
},
|
|
780
|
-
__wbg_error_2035bf2c77816487: function(arg0, arg1) {
|
|
781
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
782
|
-
},
|
|
783
780
|
__wbg_error_b7e73e671a58a488: function(arg0, arg1) {
|
|
784
781
|
console.error(getObject(arg0), getObject(arg1));
|
|
785
782
|
},
|
|
783
|
+
__wbg_error_f288e769b7169d9b: function(arg0, arg1) {
|
|
784
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
785
|
+
},
|
|
786
786
|
__wbg_exitFullscreen_68433121607a460e: function(arg0) {
|
|
787
787
|
getObject(arg0).exitFullscreen();
|
|
788
788
|
},
|
|
@@ -1353,7 +1353,7 @@ function __wbg_get_imports() {
|
|
|
1353
1353
|
const a = state0.a;
|
|
1354
1354
|
state0.a = 0;
|
|
1355
1355
|
try {
|
|
1356
|
-
return
|
|
1356
|
+
return __wasm_bindgen_func_elem_13030(a, state0.b, arg0, arg1);
|
|
1357
1357
|
} finally {
|
|
1358
1358
|
state0.a = a;
|
|
1359
1359
|
}
|
|
@@ -1407,7 +1407,7 @@ function __wbg_get_imports() {
|
|
|
1407
1407
|
const a = state0.a;
|
|
1408
1408
|
state0.a = 0;
|
|
1409
1409
|
try {
|
|
1410
|
-
return
|
|
1410
|
+
return __wasm_bindgen_func_elem_13030(a, state0.b, arg0, arg1);
|
|
1411
1411
|
} finally {
|
|
1412
1412
|
state0.a = a;
|
|
1413
1413
|
}
|
|
@@ -2646,12 +2646,12 @@ function __wbg_get_imports() {
|
|
|
2646
2646
|
},
|
|
2647
2647
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
2648
2648
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 855, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2649
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2649
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_12999);
|
|
2650
2650
|
return addHeapObject(ret);
|
|
2651
2651
|
},
|
|
2652
2652
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
2653
2653
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 873, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2654
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2654
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_13030_9);
|
|
2655
2655
|
return addHeapObject(ret);
|
|
2656
2656
|
},
|
|
2657
2657
|
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
@@ -2796,14 +2796,14 @@ function __wasm_bindgen_func_elem_24945_16(arg0, arg1, arg2) {
|
|
|
2796
2796
|
wasm.__wasm_bindgen_func_elem_24945_16(arg0, arg1, addHeapObject(arg2));
|
|
2797
2797
|
}
|
|
2798
2798
|
|
|
2799
|
-
function
|
|
2800
|
-
wasm.
|
|
2799
|
+
function __wasm_bindgen_func_elem_13030(arg0, arg1, arg2, arg3) {
|
|
2800
|
+
wasm.__wasm_bindgen_func_elem_13030(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
2801
2801
|
}
|
|
2802
2802
|
|
|
2803
|
-
function
|
|
2803
|
+
function __wasm_bindgen_func_elem_12999(arg0, arg1, arg2) {
|
|
2804
2804
|
try {
|
|
2805
2805
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2806
|
-
wasm.
|
|
2806
|
+
wasm.__wasm_bindgen_func_elem_12999(retptr, arg0, arg1, addHeapObject(arg2));
|
|
2807
2807
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2808
2808
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
2809
2809
|
if (r1) {
|
|
@@ -2814,8 +2814,8 @@ function __wasm_bindgen_func_elem_12996(arg0, arg1, arg2) {
|
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
2817
|
-
function
|
|
2818
|
-
wasm.
|
|
2817
|
+
function __wasm_bindgen_func_elem_13030_9(arg0, arg1, arg2, arg3) {
|
|
2818
|
+
wasm.__wasm_bindgen_func_elem_13030_9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
2819
2819
|
}
|
|
2820
2820
|
|
|
2821
2821
|
|
|
Binary file
|
|
@@ -8,9 +8,9 @@ export const mount: (a: number, b: number, c: number, d: number, e: number, f: n
|
|
|
8
8
|
export const onChange: (a: number) => void;
|
|
9
9
|
export const save: (a: number, b: number) => number;
|
|
10
10
|
export const main: (a: number, b: number) => number;
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
11
|
+
export const __wasm_bindgen_func_elem_12999: (a: number, b: number, c: number, d: number) => void;
|
|
12
|
+
export const __wasm_bindgen_func_elem_13030: (a: number, b: number, c: number, d: number) => void;
|
|
13
|
+
export const __wasm_bindgen_func_elem_13030_9: (a: number, b: number, c: number, d: number) => void;
|
|
14
14
|
export const __wasm_bindgen_func_elem_24945: (a: number, b: number, c: number) => void;
|
|
15
15
|
export const __wasm_bindgen_func_elem_24945_10: (a: number, b: number, c: number) => void;
|
|
16
16
|
export const __wasm_bindgen_func_elem_24945_11: (a: number, b: number, c: number) => void;
|
|
@@ -4647,7 +4647,7 @@ DEPENDENCY: reqwest@0.13.5
|
|
|
4647
4647
|
reqwest@0.13.5/Cargo.toml
|
|
4648
4648
|
Text SHA-256: ab36603e15fa21c4fe1f4e9810245dcb06499cdcf6e6b07296e5d2a3c25c69a1
|
|
4649
4649
|
|
|
4650
|
-
DEPENDENCY: reshiki@0.12.
|
|
4650
|
+
DEPENDENCY: reshiki@0.12.1
|
|
4651
4651
|
license: "MIT OR Apache-2.0"
|
|
4652
4652
|
Original workspace crate: see LICENSE, LICENSE-MIT, LICENSE-APACHE and NOTICE.
|
|
4653
4653
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ameyanagi/reshiki",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "ReShiki in the browser: the drawing editor and structure conversion in WebAssembly",
|
|
5
5
|
"homepage": "https://github.com/Ameyanagi/ReShiki/tree/main/packages/editor#readme",
|
|
6
6
|
"bugs": "https://github.com/Ameyanagi/ReShiki/issues",
|