@clazic/kordoc 2.4.5 → 2.4.6

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/utils.ts
4
- var VERSION = true ? "2.4.5" : "0.0.0-dev";
4
+ var VERSION = true ? "2.4.6" : "0.0.0-dev";
5
5
  function toArrayBuffer(buf) {
6
6
  if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {
7
7
  return buf.buffer;
@@ -90,4 +90,4 @@ export {
90
90
  sanitizeHref,
91
91
  classifyError
92
92
  };
93
- //# sourceMappingURL=chunk-CG3DV7QG.js.map
93
+ //# sourceMappingURL=chunk-A2FNPGBS.js.map
@@ -9,7 +9,7 @@ import {
9
9
  precheckZipSize,
10
10
  sanitizeHref,
11
11
  toArrayBuffer
12
- } from "./chunk-CG3DV7QG.js";
12
+ } from "./chunk-A2FNPGBS.js";
13
13
  import {
14
14
  parsePageRange
15
15
  } from "./chunk-MOL7MDBG.js";
@@ -5510,6 +5510,7 @@ async function parsePdfDocument(buffer, options) {
5510
5510
  } catch {
5511
5511
  }
5512
5512
  }
5513
+ allOcrBlocks.sort((a, b) => (a.pageNumber ?? 0) - (b.pageNumber ?? 0));
5513
5514
  ocrBlocks = allOcrBlocks;
5514
5515
  } else {
5515
5516
  try {
@@ -9812,4 +9813,4 @@ export {
9812
9813
  cfb/cfb.js:
9813
9814
  (*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com *)
9814
9815
  */
9815
- //# sourceMappingURL=chunk-ATB6T3SG.js.map
9816
+ //# sourceMappingURL=chunk-L2CLLZ4S.js.map