docling.rs-wasm 1.89.0 → 1.90.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.
@@ -98,8 +98,9 @@ export class ScannedConverter {
98
98
  * Convert a document (as bytes + filename, the extension drives format
99
99
  * detection) to `to`: `"md"` (Markdown, default), `"json"` (docling-core's
100
100
  * `DoclingDocument` wire format, schema 1.10.0), `"doclang"` (docling's
101
- * DocLang XML serialization) or `"latex"` (docling 2.124's LaTeX document,
102
- * #317).
101
+ * DocLang XML serialization), `"latex"` (docling 2.124's LaTeX document,
102
+ * #317), `"html"` or `"pandoc"` (Pandoc's JSON AST for `pandoc -f json`,
103
+ * #515).
103
104
  *
104
105
  * `images` controls how pictures render in Markdown — `"placeholder"`
105
106
  * (default) or `"embedded"` (base64 data URIs), the same option
@@ -257,8 +257,9 @@ if (Symbol.dispose) ScannedConverter.prototype[Symbol.dispose] = ScannedConverte
257
257
  * Convert a document (as bytes + filename, the extension drives format
258
258
  * detection) to `to`: `"md"` (Markdown, default), `"json"` (docling-core's
259
259
  * `DoclingDocument` wire format, schema 1.10.0), `"doclang"` (docling's
260
- * DocLang XML serialization) or `"latex"` (docling 2.124's LaTeX document,
261
- * #317).
260
+ * DocLang XML serialization), `"latex"` (docling 2.124's LaTeX document,
261
+ * #317), `"html"` or `"pandoc"` (Pandoc's JSON AST for `pandoc -f json`,
262
+ * #515).
262
263
  *
263
264
  * `images` controls how pictures render in Markdown — `"placeholder"`
264
265
  * (default) or `"embedded"` (base64 data URIs), the same option
@@ -426,7 +427,7 @@ export function __wbg___wbindgen_throw_41e9ee4f547fc59a(arg0, arg1) {
426
427
  export function __wbg__wbg_cb_unref_dcc1a90847f04c41(arg0) {
427
428
  arg0._wbg_cb_unref();
428
429
  }
429
- export function __wbg_bbox_c48da8aa6d196ee0() { return handleError(function (arg0, arg1, arg2) {
430
+ export function __wbg_bbox_b92bd841298dedff() { return handleError(function (arg0, arg1, arg2) {
430
431
  const ret = arg0.bbox(arg1, arg2 >>> 0);
431
432
  return ret;
432
433
  }, arguments); }
@@ -434,7 +435,7 @@ export function __wbg_call_187d372bd5fdd4aa() { return handleError(function (arg
434
435
  const ret = arg0.call(arg1, arg2);
435
436
  return ret;
436
437
  }, arguments); }
437
- export function __wbg_encode_5a0104ef4a331266() { return handleError(function (arg0, arg1) {
438
+ export function __wbg_encode_785ecf38c31b0253() { return handleError(function (arg0, arg1) {
438
439
  const ret = arg0.encode(arg1);
439
440
  return ret;
440
441
  }, arguments); }
@@ -522,15 +523,15 @@ export function __wbg_resolve_0076e10020304ede(arg0) {
522
523
  const ret = Promise.resolve(arg0);
523
524
  return ret;
524
525
  }
525
- export function __wbg_run_642a9377ab6cc18a() { return handleError(function (arg0, arg1) {
526
- const ret = arg0.run(arg1);
526
+ export function __wbg_run_b794ed5dcf2761a7() { return handleError(function (arg0, arg1, arg2, arg3) {
527
+ const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
527
528
  return ret;
528
529
  }, arguments); }
529
- export function __wbg_run_f84a3044630c0de0() { return handleError(function (arg0, arg1, arg2, arg3) {
530
- const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
530
+ export function __wbg_run_be2d9f37724b0ba8() { return handleError(function (arg0, arg1) {
531
+ const ret = arg0.run(arg1);
531
532
  return ret;
532
533
  }, arguments); }
533
- export function __wbg_run_ff77b46ecc8b6e60() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
534
+ export function __wbg_run_cf92f46b8e7e60c0() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
534
535
  const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
535
536
  return ret;
536
537
  }, arguments); }
@@ -557,7 +558,7 @@ export function __wbg_static_accessor_WINDOW_d7f903d1508cbdc4() {
557
558
  const ret = typeof window === 'undefined' ? null : window;
558
559
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
559
560
  }
560
- export function __wbg_step_3ee37149efb90cc4() { return handleError(function (arg0, arg1) {
561
+ export function __wbg_step_fdb5afef5de5ac21() { return handleError(function (arg0, arg1) {
561
562
  const ret = arg0.step(arg1);
562
563
  return ret;
563
564
  }, arguments); }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docling.rs-wasm",
3
- "version": "1.89.0",
3
+ "version": "1.90.1",
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": {
@@ -98,8 +98,9 @@ export class ScannedConverter {
98
98
  * Convert a document (as bytes + filename, the extension drives format
99
99
  * detection) to `to`: `"md"` (Markdown, default), `"json"` (docling-core's
100
100
  * `DoclingDocument` wire format, schema 1.10.0), `"doclang"` (docling's
101
- * DocLang XML serialization) or `"latex"` (docling 2.124's LaTeX document,
102
- * #317).
101
+ * DocLang XML serialization), `"latex"` (docling 2.124's LaTeX document,
102
+ * #317), `"html"` or `"pandoc"` (Pandoc's JSON AST for `pandoc -f json`,
103
+ * #515).
103
104
  *
104
105
  * `images` controls how pictures render in Markdown — `"placeholder"`
105
106
  * (default) or `"embedded"` (base64 data URIs), the same option
@@ -259,8 +259,9 @@ if (Symbol.dispose) ScannedConverter.prototype[Symbol.dispose] = ScannedConverte
259
259
  * Convert a document (as bytes + filename, the extension drives format
260
260
  * detection) to `to`: `"md"` (Markdown, default), `"json"` (docling-core's
261
261
  * `DoclingDocument` wire format, schema 1.10.0), `"doclang"` (docling's
262
- * DocLang XML serialization) or `"latex"` (docling 2.124's LaTeX document,
263
- * #317).
262
+ * DocLang XML serialization), `"latex"` (docling 2.124's LaTeX document,
263
+ * #317), `"html"` or `"pandoc"` (Pandoc's JSON AST for `pandoc -f json`,
264
+ * #515).
264
265
  *
265
266
  * `images` controls how pictures render in Markdown — `"placeholder"`
266
267
  * (default) or `"embedded"` (base64 data URIs), the same option
@@ -431,7 +432,7 @@ function __wbg_get_imports() {
431
432
  __wbg__wbg_cb_unref_dcc1a90847f04c41: function(arg0) {
432
433
  arg0._wbg_cb_unref();
433
434
  },
434
- __wbg_bbox_c48da8aa6d196ee0: function() { return handleError(function (arg0, arg1, arg2) {
435
+ __wbg_bbox_b92bd841298dedff: function() { return handleError(function (arg0, arg1, arg2) {
435
436
  const ret = arg0.bbox(arg1, arg2 >>> 0);
436
437
  return ret;
437
438
  }, arguments); },
@@ -439,7 +440,7 @@ function __wbg_get_imports() {
439
440
  const ret = arg0.call(arg1, arg2);
440
441
  return ret;
441
442
  }, arguments); },
442
- __wbg_encode_5a0104ef4a331266: function() { return handleError(function (arg0, arg1) {
443
+ __wbg_encode_785ecf38c31b0253: function() { return handleError(function (arg0, arg1) {
443
444
  const ret = arg0.encode(arg1);
444
445
  return ret;
445
446
  }, arguments); },
@@ -527,15 +528,15 @@ function __wbg_get_imports() {
527
528
  const ret = Promise.resolve(arg0);
528
529
  return ret;
529
530
  },
530
- __wbg_run_642a9377ab6cc18a: function() { return handleError(function (arg0, arg1) {
531
- const ret = arg0.run(arg1);
531
+ __wbg_run_b794ed5dcf2761a7: function() { return handleError(function (arg0, arg1, arg2, arg3) {
532
+ const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
532
533
  return ret;
533
534
  }, arguments); },
534
- __wbg_run_f84a3044630c0de0: function() { return handleError(function (arg0, arg1, arg2, arg3) {
535
- const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
535
+ __wbg_run_be2d9f37724b0ba8: function() { return handleError(function (arg0, arg1) {
536
+ const ret = arg0.run(arg1);
536
537
  return ret;
537
538
  }, arguments); },
538
- __wbg_run_ff77b46ecc8b6e60: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
539
+ __wbg_run_cf92f46b8e7e60c0: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
539
540
  const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
540
541
  return ret;
541
542
  }, arguments); },
@@ -562,7 +563,7 @@ function __wbg_get_imports() {
562
563
  const ret = typeof window === 'undefined' ? null : window;
563
564
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
564
565
  },
565
- __wbg_step_3ee37149efb90cc4: function() { return handleError(function (arg0, arg1) {
566
+ __wbg_step_fdb5afef5de5ac21: function() { return handleError(function (arg0, arg1) {
566
567
  const ret = arg0.step(arg1);
567
568
  return ret;
568
569
  }, arguments); },
Binary file