docling.rs-wasm 1.64.0 → 1.65.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/bundler/docling_wasm_bg.js +15 -15
- package/bundler/docling_wasm_bg.wasm +0 -0
- package/bundler/docling_wasm_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
- package/web/docling_wasm.d.ts +2 -2
- package/web/docling_wasm.js +15 -15
- package/web/docling_wasm_bg.wasm +0 -0
- package/web/docling_wasm_bg.wasm.d.ts +2 -2
|
@@ -426,7 +426,7 @@ export function __wbg___wbindgen_throw_5d9e815e6fdf150f(arg0, arg1) {
|
|
|
426
426
|
export function __wbg__wbg_cb_unref_997e73d32238e655(arg0) {
|
|
427
427
|
arg0._wbg_cb_unref();
|
|
428
428
|
}
|
|
429
|
-
export function
|
|
429
|
+
export function __wbg_bbox_3fb73cfa8ba50a2c() { return handleError(function (arg0, arg1, arg2) {
|
|
430
430
|
const ret = arg0.bbox(arg1, arg2 >>> 0);
|
|
431
431
|
return ret;
|
|
432
432
|
}, arguments); }
|
|
@@ -434,7 +434,7 @@ export function __wbg_call_6bcf8d3e20937e46() { return handleError(function (arg
|
|
|
434
434
|
const ret = arg0.call(arg1, arg2);
|
|
435
435
|
return ret;
|
|
436
436
|
}, arguments); }
|
|
437
|
-
export function
|
|
437
|
+
export function __wbg_encode_b1ea4a0d287791a2() { return handleError(function (arg0, arg1) {
|
|
438
438
|
const ret = arg0.encode(arg1);
|
|
439
439
|
return ret;
|
|
440
440
|
}, arguments); }
|
|
@@ -497,7 +497,7 @@ export function __wbg_new_typed_6f8b0d724fe26c07(arg0, arg1) {
|
|
|
497
497
|
const a = state0.a;
|
|
498
498
|
state0.a = 0;
|
|
499
499
|
try {
|
|
500
|
-
return
|
|
500
|
+
return wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
501
501
|
} finally {
|
|
502
502
|
state0.a = a;
|
|
503
503
|
}
|
|
@@ -522,16 +522,16 @@ export function __wbg_resolve_35ec7e0c6af4c82c(arg0) {
|
|
|
522
522
|
const ret = Promise.resolve(arg0);
|
|
523
523
|
return ret;
|
|
524
524
|
}
|
|
525
|
-
export function
|
|
526
|
-
const ret = arg0.run(arg1
|
|
525
|
+
export function __wbg_run_76cbe8ac12bf49c0() { return handleError(function (arg0, arg1) {
|
|
526
|
+
const ret = arg0.run(arg1);
|
|
527
527
|
return ret;
|
|
528
528
|
}, arguments); }
|
|
529
|
-
export function
|
|
530
|
-
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
529
|
+
export function __wbg_run_8e684c4d5da8e7a6() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
530
|
+
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
531
531
|
return ret;
|
|
532
532
|
}, arguments); }
|
|
533
|
-
export function
|
|
534
|
-
const ret = arg0.run(arg1);
|
|
533
|
+
export function __wbg_run_b9b09452f2e88bc9() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
534
|
+
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
535
535
|
return ret;
|
|
536
536
|
}, arguments); }
|
|
537
537
|
export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
@@ -557,7 +557,7 @@ export function __wbg_static_accessor_WINDOW_fd0bc376bf0f8b42() {
|
|
|
557
557
|
const ret = typeof window === 'undefined' ? null : window;
|
|
558
558
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
559
559
|
}
|
|
560
|
-
export function
|
|
560
|
+
export function __wbg_step_38542b3848b673f2() { return handleError(function (arg0, arg1) {
|
|
561
561
|
const ret = arg0.step(arg1);
|
|
562
562
|
return ret;
|
|
563
563
|
}, arguments); }
|
|
@@ -571,7 +571,7 @@ export function __wbg_then_b830475380919203(arg0, arg1) {
|
|
|
571
571
|
}
|
|
572
572
|
export function __wbindgen_generic_0000000000000001(arg0, arg1) {
|
|
573
573
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 85, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
574
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
574
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___wasm_bindgen_2f9741cede24a357___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_2f9741cede24a357___JsError___true_);
|
|
575
575
|
return ret;
|
|
576
576
|
}
|
|
577
577
|
export function __wbindgen_generic_0000000000000002(arg0, arg1) {
|
|
@@ -588,15 +588,15 @@ export function __wbindgen_init_externref_table() {
|
|
|
588
588
|
table.set(offset + 2, true);
|
|
589
589
|
table.set(offset + 3, false);
|
|
590
590
|
}
|
|
591
|
-
function
|
|
592
|
-
const ret = wasm.
|
|
591
|
+
function wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___wasm_bindgen_2f9741cede24a357___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_2f9741cede24a357___JsError___true_(arg0, arg1, arg2) {
|
|
592
|
+
const ret = wasm.wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___wasm_bindgen_2f9741cede24a357___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_2f9741cede24a357___JsError___true_(arg0, arg1, arg2);
|
|
593
593
|
if (ret[1]) {
|
|
594
594
|
throw takeFromExternrefTable0(ret[0]);
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
function
|
|
599
|
-
wasm.
|
|
598
|
+
function wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
599
|
+
wasm.wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
600
600
|
}
|
|
601
601
|
|
|
602
602
|
const DigitalConverterFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
Binary file
|
|
@@ -36,8 +36,8 @@ export const djvu_pixmap_free: (a: number) => void;
|
|
|
36
36
|
export const djvu_pixmap_height: (a: number) => number;
|
|
37
37
|
export const djvu_pixmap_width: (a: number) => number;
|
|
38
38
|
export const djvu_text_free: (a: number) => void;
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
39
|
+
export const wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
40
|
+
export const wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___wasm_bindgen_2f9741cede24a357___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_2f9741cede24a357___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
41
41
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
42
42
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
43
43
|
export const __wbindgen_exn_store: (a: number) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docling.rs-wasm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.65.0",
|
|
4
4
|
"description": "In-browser document conversion: DOCX, HTML, XLSX, PPTX, EPUB, Markdown, … and the text layer of PDFs → Markdown / docling JSON / DocLang, fully client-side (docling.rs compiled to WebAssembly)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/web/docling_wasm.d.ts
CHANGED
|
@@ -181,8 +181,8 @@ export interface InitOutput {
|
|
|
181
181
|
readonly djvu_pixmap_height: (a: number) => number;
|
|
182
182
|
readonly djvu_pixmap_width: (a: number) => number;
|
|
183
183
|
readonly djvu_text_free: (a: number) => void;
|
|
184
|
-
readonly
|
|
185
|
-
readonly
|
|
184
|
+
readonly wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
185
|
+
readonly wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___wasm_bindgen_2f9741cede24a357___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_2f9741cede24a357___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
186
186
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
187
187
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
188
188
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/web/docling_wasm.js
CHANGED
|
@@ -431,7 +431,7 @@ function __wbg_get_imports() {
|
|
|
431
431
|
__wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
|
|
432
432
|
arg0._wbg_cb_unref();
|
|
433
433
|
},
|
|
434
|
-
|
|
434
|
+
__wbg_bbox_3fb73cfa8ba50a2c: function() { return handleError(function (arg0, arg1, arg2) {
|
|
435
435
|
const ret = arg0.bbox(arg1, arg2 >>> 0);
|
|
436
436
|
return ret;
|
|
437
437
|
}, arguments); },
|
|
@@ -439,7 +439,7 @@ function __wbg_get_imports() {
|
|
|
439
439
|
const ret = arg0.call(arg1, arg2);
|
|
440
440
|
return ret;
|
|
441
441
|
}, arguments); },
|
|
442
|
-
|
|
442
|
+
__wbg_encode_b1ea4a0d287791a2: function() { return handleError(function (arg0, arg1) {
|
|
443
443
|
const ret = arg0.encode(arg1);
|
|
444
444
|
return ret;
|
|
445
445
|
}, arguments); },
|
|
@@ -502,7 +502,7 @@ function __wbg_get_imports() {
|
|
|
502
502
|
const a = state0.a;
|
|
503
503
|
state0.a = 0;
|
|
504
504
|
try {
|
|
505
|
-
return
|
|
505
|
+
return wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
506
506
|
} finally {
|
|
507
507
|
state0.a = a;
|
|
508
508
|
}
|
|
@@ -527,16 +527,16 @@ function __wbg_get_imports() {
|
|
|
527
527
|
const ret = Promise.resolve(arg0);
|
|
528
528
|
return ret;
|
|
529
529
|
},
|
|
530
|
-
|
|
531
|
-
const ret = arg0.run(arg1
|
|
530
|
+
__wbg_run_76cbe8ac12bf49c0: function() { return handleError(function (arg0, arg1) {
|
|
531
|
+
const ret = arg0.run(arg1);
|
|
532
532
|
return ret;
|
|
533
533
|
}, arguments); },
|
|
534
|
-
|
|
535
|
-
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
534
|
+
__wbg_run_8e684c4d5da8e7a6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
535
|
+
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
536
536
|
return ret;
|
|
537
537
|
}, arguments); },
|
|
538
|
-
|
|
539
|
-
const ret = arg0.run(arg1);
|
|
538
|
+
__wbg_run_b9b09452f2e88bc9: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
539
|
+
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
540
540
|
return ret;
|
|
541
541
|
}, arguments); },
|
|
542
542
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
@@ -562,7 +562,7 @@ function __wbg_get_imports() {
|
|
|
562
562
|
const ret = typeof window === 'undefined' ? null : window;
|
|
563
563
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
564
564
|
},
|
|
565
|
-
|
|
565
|
+
__wbg_step_38542b3848b673f2: function() { return handleError(function (arg0, arg1) {
|
|
566
566
|
const ret = arg0.step(arg1);
|
|
567
567
|
return ret;
|
|
568
568
|
}, arguments); },
|
|
@@ -576,7 +576,7 @@ function __wbg_get_imports() {
|
|
|
576
576
|
},
|
|
577
577
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
578
578
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 85, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
579
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
579
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___wasm_bindgen_2f9741cede24a357___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_2f9741cede24a357___JsError___true_);
|
|
580
580
|
return ret;
|
|
581
581
|
},
|
|
582
582
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
@@ -600,15 +600,15 @@ function __wbg_get_imports() {
|
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
-
function
|
|
604
|
-
const ret = wasm.
|
|
603
|
+
function wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___wasm_bindgen_2f9741cede24a357___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_2f9741cede24a357___JsError___true_(arg0, arg1, arg2) {
|
|
604
|
+
const ret = wasm.wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___wasm_bindgen_2f9741cede24a357___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_2f9741cede24a357___JsError___true_(arg0, arg1, arg2);
|
|
605
605
|
if (ret[1]) {
|
|
606
606
|
throw takeFromExternrefTable0(ret[0]);
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
function
|
|
611
|
-
wasm.
|
|
610
|
+
function wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
611
|
+
wasm.wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
const DigitalConverterFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/web/docling_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -36,8 +36,8 @@ export const djvu_pixmap_free: (a: number) => void;
|
|
|
36
36
|
export const djvu_pixmap_height: (a: number) => number;
|
|
37
37
|
export const djvu_pixmap_width: (a: number) => number;
|
|
38
38
|
export const djvu_text_free: (a: number) => void;
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
39
|
+
export const wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined___js_sys_a8fb5e21898f800e___Function_fn_wasm_bindgen_2f9741cede24a357___JsValue_____wasm_bindgen_2f9741cede24a357___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
40
|
+
export const wasm_bindgen_2f9741cede24a357___convert__closures_____invoke___wasm_bindgen_2f9741cede24a357___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_2f9741cede24a357___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
41
41
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
42
42
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
43
43
|
export const __wbindgen_exn_store: (a: number) => void;
|