docling.rs-wasm 1.88.0 → 1.90.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.
@@ -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_948f6188d6c9b9cf() { return handleError(function (arg0, arg1, arg2) {
430
+ export function __wbg_bbox_a405a897ebc597d0() { 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_d289d837cfb744eb() { return handleError(function (arg0, arg1) {
438
+ export function __wbg_encode_1f79d41bd42c5100() { return handleError(function (arg0, arg1) {
438
439
  const ret = arg0.encode(arg1);
439
440
  return ret;
440
441
  }, arguments); }
@@ -522,18 +523,18 @@ export function __wbg_resolve_0076e10020304ede(arg0) {
522
523
  const ret = Promise.resolve(arg0);
523
524
  return ret;
524
525
  }
525
- export function __wbg_run_4c7292a7ddb21414() { return handleError(function (arg0, arg1, arg2, arg3) {
526
- const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
527
- return ret;
528
- }, arguments); }
529
- export function __wbg_run_d8bd945ffc59844c() { return handleError(function (arg0, arg1) {
526
+ export function __wbg_run_10ea34527e77f55f() { return handleError(function (arg0, arg1) {
530
527
  const ret = arg0.run(arg1);
531
528
  return ret;
532
529
  }, arguments); }
533
- export function __wbg_run_ed73e4a3db5c288c() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
530
+ export function __wbg_run_9e2409e7ece961f7() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
534
531
  const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
535
532
  return ret;
536
533
  }, arguments); }
534
+ export function __wbg_run_e2089b1e0e2c218d() { return handleError(function (arg0, arg1, arg2, arg3) {
535
+ const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
536
+ return ret;
537
+ }, arguments); }
537
538
  export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
538
539
  const ret = arg1.stack;
539
540
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -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_d37e126568393bfb() { return handleError(function (arg0, arg1) {
561
+ export function __wbg_step_00fade8c0c77debd() { 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.88.0",
3
+ "version": "1.90.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": {
@@ -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_948f6188d6c9b9cf: function() { return handleError(function (arg0, arg1, arg2) {
435
+ __wbg_bbox_a405a897ebc597d0: 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_d289d837cfb744eb: function() { return handleError(function (arg0, arg1) {
443
+ __wbg_encode_1f79d41bd42c5100: function() { return handleError(function (arg0, arg1) {
443
444
  const ret = arg0.encode(arg1);
444
445
  return ret;
445
446
  }, arguments); },
@@ -527,18 +528,18 @@ function __wbg_get_imports() {
527
528
  const ret = Promise.resolve(arg0);
528
529
  return ret;
529
530
  },
530
- __wbg_run_4c7292a7ddb21414: function() { return handleError(function (arg0, arg1, arg2, arg3) {
531
- const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
532
- return ret;
533
- }, arguments); },
534
- __wbg_run_d8bd945ffc59844c: function() { return handleError(function (arg0, arg1) {
531
+ __wbg_run_10ea34527e77f55f: function() { return handleError(function (arg0, arg1) {
535
532
  const ret = arg0.run(arg1);
536
533
  return ret;
537
534
  }, arguments); },
538
- __wbg_run_ed73e4a3db5c288c: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
535
+ __wbg_run_9e2409e7ece961f7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
539
536
  const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
540
537
  return ret;
541
538
  }, arguments); },
539
+ __wbg_run_e2089b1e0e2c218d: function() { return handleError(function (arg0, arg1, arg2, arg3) {
540
+ const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
541
+ return ret;
542
+ }, arguments); },
542
543
  __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
543
544
  const ret = arg1.stack;
544
545
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -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_d37e126568393bfb: function() { return handleError(function (arg0, arg1) {
566
+ __wbg_step_00fade8c0c77debd: function() { return handleError(function (arg0, arg1) {
566
567
  const ret = arg0.step(arg1);
567
568
  return ret;
568
569
  }, arguments); },
Binary file