@poe-platform/safe-bash 0.1.779 → 0.1.781

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.
Files changed (112) hide show
  1. package/dist/image-ast/index.browser.js +200 -165
  2. package/dist/image-ast/index.js +200 -165
  3. package/dist/pdf-ast/index.js +200 -165
  4. package/dist/safe-bash/command-chunks/{chunk-ELX7X5SF.js → chunk-2MPJNOGU.js} +3 -3
  5. package/dist/safe-bash/command-chunks/{chunk-NT6N3KCA.js → chunk-36A7T7VI.js} +1 -1
  6. package/dist/safe-bash/command-chunks/{chunk-W7K4JN2M.js → chunk-3AQJQW6S.js} +1 -1
  7. package/dist/safe-bash/command-chunks/{chunk-T6ZPGCNJ.js → chunk-3DVCCMBJ.js} +2 -1
  8. package/dist/safe-bash/command-chunks/{chunk-XQZ3OG7K.js → chunk-442UWLQR.js} +1 -1
  9. package/dist/safe-bash/command-chunks/{chunk-W6UOCPP2.js → chunk-7THHNO2E.js} +1 -1
  10. package/dist/safe-bash/command-chunks/{chunk-ZY6PMCW5.js → chunk-ADBFNLLK.js} +2 -2
  11. package/dist/safe-bash/command-chunks/{chunk-ZMCVEYVX.js → chunk-AXO7RDN5.js} +1 -1
  12. package/dist/safe-bash/command-chunks/{chunk-PLOA5HZJ.js → chunk-BHOK6HA3.js} +4 -4
  13. package/dist/safe-bash/command-chunks/{chunk-TEVDQ3XP.js → chunk-C2JGBXOY.js} +2 -2
  14. package/dist/safe-bash/command-chunks/{chunk-MANR67FK.js → chunk-CD2SMRKD.js} +4 -4
  15. package/dist/safe-bash/command-chunks/{chunk-IFMCWC7A.js → chunk-CXDWDFFU.js} +2 -2
  16. package/dist/safe-bash/command-chunks/{chunk-TETIL2QG.js → chunk-FDJBYW3P.js} +1 -1
  17. package/dist/safe-bash/command-chunks/{chunk-OTTXGYBL.js → chunk-G3O44ZGT.js} +2 -2
  18. package/dist/safe-bash/command-chunks/{chunk-TUX2ZVRV.js → chunk-G5XIFXNF.js} +1 -1
  19. package/dist/safe-bash/command-chunks/{chunk-QLYJUVVM.js → chunk-GBHSE6ZO.js} +1 -1
  20. package/dist/safe-bash/command-chunks/{chunk-3PBP2NWM.js → chunk-GEHF4YAY.js} +1 -1
  21. package/dist/safe-bash/command-chunks/{chunk-3444RZLY.js → chunk-GZXLPWT5.js} +200 -165
  22. package/dist/safe-bash/command-chunks/{chunk-B7CSA2AN.js → chunk-KEMWQP25.js} +1 -1
  23. package/dist/safe-bash/command-chunks/{chunk-VGKASRY7.js → chunk-KI2XV6GF.js} +1 -1
  24. package/dist/safe-bash/command-chunks/{chunk-T4BURXBK.js → chunk-KL4ODNMV.js} +3 -3
  25. package/dist/safe-bash/command-chunks/{chunk-YRMCH7OE.js → chunk-LCR6YMBL.js} +1 -1
  26. package/dist/safe-bash/command-chunks/{chunk-YUBBOIPH.js → chunk-LP5NRR5O.js} +1 -1
  27. package/dist/safe-bash/command-chunks/{chunk-4SZIRINP.js → chunk-OEPERWLZ.js} +2 -1
  28. package/dist/safe-bash/command-chunks/{chunk-QYSAAJ6K.js → chunk-PUIGJ37F.js} +1 -1
  29. package/dist/safe-bash/command-chunks/{chunk-O4ARSYST.js → chunk-QSD4I3TT.js} +4 -3
  30. package/dist/safe-bash/command-chunks/{chunk-KDVJQQVT.js → chunk-QTKPEWR7.js} +4 -4
  31. package/dist/safe-bash/command-chunks/{chunk-EYRJX6FJ.js → chunk-TICYYKJB.js} +2 -1
  32. package/dist/safe-bash/command-chunks/{chunk-TKBJACLG.js → chunk-VXDCTI33.js} +1 -1
  33. package/dist/safe-bash/command-chunks/{chunk-MAZIL3QC.js → chunk-WQHCF6N6.js} +1 -1
  34. package/dist/safe-bash/command-chunks/{chunk-I7PJVVOO.js → chunk-XFQAGBAV.js} +1 -1
  35. package/dist/safe-bash/command-chunks/{chunk-DYCEVLVC.js → chunk-Y6YHBQIS.js} +1 -1
  36. package/dist/safe-bash/command-chunks/{chunk-OPRPIHKA.js → chunk-ZGBHQQGL.js} +1 -1
  37. package/dist/safe-bash/command-chunks/{chunk-6QG3YR2F.js → chunk-ZPQ5OCKE.js} +1 -1
  38. package/dist/safe-bash/commands/diff-patch/shared.d.ts +1 -0
  39. package/dist/safe-bash/commands/diff-patch/shared.js +2 -1
  40. package/dist/safe-bash/core.browser.js +2 -1
  41. package/dist/safe-bash/opt-in/commands/dd/index.js +2 -1
  42. package/dist/safe-bash/opt-in/commands/shuf/input.js +4 -2
  43. package/dist/safe-bash/opt-in/commands/shuf/shuf.js +4 -3
  44. package/dist/safe-bash-command-dd/index.js +2 -1
  45. package/dist/safe-bash-command-du/budget.js +1 -1
  46. package/dist/safe-bash-command-du/du.js +2 -2
  47. package/dist/safe-bash-command-du/index.js +2 -2
  48. package/dist/safe-bash-command-ffmpeg/index.js +5745 -5715
  49. package/dist/safe-bash-command-file/index.js +1 -1
  50. package/dist/safe-bash-command-file/shared.d.ts +1 -0
  51. package/dist/safe-bash-command-file/shared.js +1 -1
  52. package/dist/safe-bash-command-fmt/index.js +2 -1
  53. package/dist/safe-bash-command-html-to-markdown/budget.js +1 -1
  54. package/dist/safe-bash-command-html-to-markdown/entities.js +3 -3
  55. package/dist/safe-bash-command-html-to-markdown/index.js +6 -6
  56. package/dist/safe-bash-command-html-to-markdown/input.js +5 -5
  57. package/dist/safe-bash-command-html-to-markdown/parser.js +4 -4
  58. package/dist/safe-bash-command-html-to-markdown/render.js +5 -5
  59. package/dist/safe-bash-command-html-to-markdown/text.js +2 -2
  60. package/dist/safe-bash-command-iconv/command.js +5 -5
  61. package/dist/safe-bash-command-iconv/index.js +5 -5
  62. package/dist/safe-bash-command-iconv/internal.js +1 -1
  63. package/dist/safe-bash-command-iconv/lifecycle.js +2 -2
  64. package/dist/safe-bash-command-iconv/options.js +2 -2
  65. package/dist/safe-bash-command-iconv/reader.js +2 -2
  66. package/dist/safe-bash-command-imagemagick/index.js +2 -2
  67. package/dist/safe-bash-command-numfmt/index.js +5 -3
  68. package/dist/safe-bash-command-pandoc/command.js +3 -3
  69. package/dist/safe-bash-command-pandoc/index.js +3 -3
  70. package/dist/safe-bash-command-pdfimages/index.js +200 -165
  71. package/dist/safe-bash-command-pdfinfo/index.js +200 -165
  72. package/dist/safe-bash-command-pdftk/index.js +200 -165
  73. package/dist/safe-bash-command-pdftoppm/index.js +200 -165
  74. package/dist/safe-bash-command-pdftotext/index.js +200 -165
  75. package/dist/safe-bash-command-pr/command.js +5 -5
  76. package/dist/safe-bash-command-pr/format.js +2 -2
  77. package/dist/safe-bash-command-pr/index.js +5 -5
  78. package/dist/safe-bash-command-pr/internal.d.ts +1 -0
  79. package/dist/safe-bash-command-pr/internal.js +1 -1
  80. package/dist/safe-bash-command-pr/io.js +2 -2
  81. package/dist/safe-bash-command-pr/options.js +2 -2
  82. package/dist/safe-bash-command-qpdf/index.js +200 -165
  83. package/dist/safe-bash-command-shuf/input.js +4 -2
  84. package/dist/safe-bash-command-shuf/shuf.js +4 -3
  85. package/dist/safe-bash-command-sips/index.js +2 -2
  86. package/dist/safe-bash-command-soffice/index.js +1 -1
  87. package/dist/safe-bash-command-split/index.js +3 -3
  88. package/dist/safe-bash-command-split/io.d.ts +1 -0
  89. package/dist/safe-bash-command-split/io.js +1 -1
  90. package/dist/safe-bash-command-split/outputs.js +2 -2
  91. package/dist/safe-bash-command-split/split.js +3 -3
  92. package/dist/safe-bash-command-ssconvert/index.js +200 -165
  93. package/dist/safe-bash-command-tree/arguments.js +3 -3
  94. package/dist/safe-bash-command-tree/charset.js +1 -1
  95. package/dist/safe-bash-command-tree/index.js +4 -4
  96. package/dist/safe-bash-command-tree/io.js +1 -1
  97. package/dist/safe-bash-command-tree/pattern.js +2 -2
  98. package/dist/safe-bash-command-tree/tree.js +4 -4
  99. package/dist/safe-bash-command-tsort/command.js +4 -4
  100. package/dist/safe-bash-command-tsort/graph.js +2 -2
  101. package/dist/safe-bash-command-tsort/index.js +4 -4
  102. package/dist/safe-bash-command-tsort/internal.js +1 -1
  103. package/dist/safe-bash-command-tsort/io.js +2 -2
  104. package/dist/safe-bash-command-wkhtmltopdf/index.js +201 -165
  105. package/dist/safe-bash-io-engine/commands/archive/internal.js +2 -2
  106. package/dist/safe-bash-io-engine/shell/pattern.js +1 -1
  107. package/dist/safe-bash-io-engine/shell/string-operations.d.ts +1 -0
  108. package/dist/safe-bash-io-engine/shell/string-operations.js +1 -1
  109. package/dist/safe-bash-text-stream-engine/stream-format/shared.d.ts +1 -0
  110. package/dist/safe-bash-text-stream-engine/stream-format/shared.js +2 -1
  111. package/package.json +2 -2
  112. package/third-party/pdf-ast/THIRD_PARTY_NOTICES.md +73 -5
@@ -4,7 +4,7 @@ import {
4
4
  SharedBudget,
5
5
  limitMessage,
6
6
  settings
7
- } from "../safe-bash/command-chunks/chunk-O4ARSYST.js";
7
+ } from "../safe-bash/command-chunks/chunk-QSD4I3TT.js";
8
8
  import {
9
9
  classify
10
10
  } from "../safe-bash/command-chunks/chunk-P5MKNVL7.js";
@@ -27,6 +27,7 @@ export declare class SharedBudget {
27
27
  private steps;
28
28
  private failureUnits;
29
29
  private untilYield;
30
+ private yieldChecks;
30
31
  private lastYield;
31
32
  private readonly controller;
32
33
  private timer;
@@ -4,7 +4,7 @@ import {
4
4
  SharedBudget,
5
5
  limitMessage,
6
6
  settings
7
- } from "../safe-bash/command-chunks/chunk-O4ARSYST.js";
7
+ } from "../safe-bash/command-chunks/chunk-QSD4I3TT.js";
8
8
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
9
9
  export {
10
10
  FileFailure,
@@ -2547,9 +2547,10 @@ async function fmt(context, configuration = {}) {
2547
2547
  let chunks = 0;
2548
2548
  let checkpoints = 0;
2549
2549
  let lastYield = monotonicNow();
2550
+ let yieldChecks = 0;
2550
2551
  const maybeYield = async (signal) => {
2551
2552
  const now = monotonicNow();
2552
- if (now - lastYield >= 25 || hasYieldCheckpoint(signal)) {
2553
+ if (++yieldChecks % 16 === 0 || now - lastYield >= 25 || hasYieldCheckpoint(signal)) {
2553
2554
  lastYield = now;
2554
2555
  await contractYieldTurn(signal);
2555
2556
  lastYield = monotonicNow();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Budget,
3
3
  Builder
4
- } from "../safe-bash/command-chunks/chunk-YUBBOIPH.js";
4
+ } from "../safe-bash/command-chunks/chunk-LP5NRR5O.js";
5
5
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
6
6
  export {
7
7
  Budget,
@@ -2,9 +2,9 @@ import {
2
2
  destination,
3
3
  entities,
4
4
  escapeText
5
- } from "../safe-bash/command-chunks/chunk-OTTXGYBL.js";
6
- import "../safe-bash/command-chunks/chunk-DYCEVLVC.js";
7
- import "../safe-bash/command-chunks/chunk-YUBBOIPH.js";
5
+ } from "../safe-bash/command-chunks/chunk-G3O44ZGT.js";
6
+ import "../safe-bash/command-chunks/chunk-Y6YHBQIS.js";
7
+ import "../safe-bash/command-chunks/chunk-LP5NRR5O.js";
8
8
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
9
9
  export {
10
10
  destination,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Renderer
3
- } from "../safe-bash/command-chunks/chunk-PLOA5HZJ.js";
3
+ } from "../safe-bash/command-chunks/chunk-BHOK6HA3.js";
4
4
  import {
5
5
  Inputs
6
- } from "../safe-bash/command-chunks/chunk-MAZIL3QC.js";
7
- import "../safe-bash/command-chunks/chunk-OPRPIHKA.js";
8
- import "../safe-bash/command-chunks/chunk-OTTXGYBL.js";
9
- import "../safe-bash/command-chunks/chunk-DYCEVLVC.js";
6
+ } from "../safe-bash/command-chunks/chunk-WQHCF6N6.js";
7
+ import "../safe-bash/command-chunks/chunk-ZGBHQQGL.js";
8
+ import "../safe-bash/command-chunks/chunk-G3O44ZGT.js";
9
+ import "../safe-bash/command-chunks/chunk-Y6YHBQIS.js";
10
10
  import {
11
11
  Budget
12
- } from "../safe-bash/command-chunks/chunk-YUBBOIPH.js";
12
+ } from "../safe-bash/command-chunks/chunk-LP5NRR5O.js";
13
13
  import {
14
14
  HtmlUsageError,
15
15
  argumentsFor,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Inputs
3
- } from "../safe-bash/command-chunks/chunk-MAZIL3QC.js";
4
- import "../safe-bash/command-chunks/chunk-OPRPIHKA.js";
5
- import "../safe-bash/command-chunks/chunk-OTTXGYBL.js";
6
- import "../safe-bash/command-chunks/chunk-DYCEVLVC.js";
7
- import "../safe-bash/command-chunks/chunk-YUBBOIPH.js";
3
+ } from "../safe-bash/command-chunks/chunk-WQHCF6N6.js";
4
+ import "../safe-bash/command-chunks/chunk-ZGBHQQGL.js";
5
+ import "../safe-bash/command-chunks/chunk-G3O44ZGT.js";
6
+ import "../safe-bash/command-chunks/chunk-Y6YHBQIS.js";
7
+ import "../safe-bash/command-chunks/chunk-LP5NRR5O.js";
8
8
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
9
9
  export {
10
10
  Inputs
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Parser,
3
3
  blockTags
4
- } from "../safe-bash/command-chunks/chunk-OPRPIHKA.js";
5
- import "../safe-bash/command-chunks/chunk-OTTXGYBL.js";
6
- import "../safe-bash/command-chunks/chunk-DYCEVLVC.js";
7
- import "../safe-bash/command-chunks/chunk-YUBBOIPH.js";
4
+ } from "../safe-bash/command-chunks/chunk-ZGBHQQGL.js";
5
+ import "../safe-bash/command-chunks/chunk-G3O44ZGT.js";
6
+ import "../safe-bash/command-chunks/chunk-Y6YHBQIS.js";
7
+ import "../safe-bash/command-chunks/chunk-LP5NRR5O.js";
8
8
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
9
9
  export {
10
10
  Parser,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Renderer
3
- } from "../safe-bash/command-chunks/chunk-PLOA5HZJ.js";
4
- import "../safe-bash/command-chunks/chunk-OPRPIHKA.js";
5
- import "../safe-bash/command-chunks/chunk-OTTXGYBL.js";
6
- import "../safe-bash/command-chunks/chunk-DYCEVLVC.js";
7
- import "../safe-bash/command-chunks/chunk-YUBBOIPH.js";
3
+ } from "../safe-bash/command-chunks/chunk-BHOK6HA3.js";
4
+ import "../safe-bash/command-chunks/chunk-ZGBHQQGL.js";
5
+ import "../safe-bash/command-chunks/chunk-G3O44ZGT.js";
6
+ import "../safe-bash/command-chunks/chunk-Y6YHBQIS.js";
7
+ import "../safe-bash/command-chunks/chunk-LP5NRR5O.js";
8
8
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
9
9
  export {
10
10
  Renderer
@@ -2,8 +2,8 @@ import {
2
2
  htmlSpace,
3
3
  normalizeText,
4
4
  trimText
5
- } from "../safe-bash/command-chunks/chunk-DYCEVLVC.js";
6
- import "../safe-bash/command-chunks/chunk-YUBBOIPH.js";
5
+ } from "../safe-bash/command-chunks/chunk-Y6YHBQIS.js";
6
+ import "../safe-bash/command-chunks/chunk-LP5NRR5O.js";
7
7
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
8
8
  export {
9
9
  htmlSpace,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createIconvCommand
3
- } from "../safe-bash/command-chunks/chunk-KDVJQQVT.js";
3
+ } from "../safe-bash/command-chunks/chunk-QTKPEWR7.js";
4
4
  import "../safe-bash/command-chunks/chunk-Z6V4XEAW.js";
5
- import "../safe-bash/command-chunks/chunk-QYSAAJ6K.js";
6
- import "../safe-bash/command-chunks/chunk-B7CSA2AN.js";
7
- import "../safe-bash/command-chunks/chunk-XQZ3OG7K.js";
8
- import "../safe-bash/command-chunks/chunk-W6UOCPP2.js";
5
+ import "../safe-bash/command-chunks/chunk-PUIGJ37F.js";
6
+ import "../safe-bash/command-chunks/chunk-KEMWQP25.js";
7
+ import "../safe-bash/command-chunks/chunk-442UWLQR.js";
8
+ import "../safe-bash/command-chunks/chunk-7THHNO2E.js";
9
9
  import "../safe-bash/command-chunks/chunk-VGAAT55W.js";
10
10
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
11
11
  export {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createIconvCommand
3
- } from "../safe-bash/command-chunks/chunk-KDVJQQVT.js";
3
+ } from "../safe-bash/command-chunks/chunk-QTKPEWR7.js";
4
4
  import "../safe-bash/command-chunks/chunk-Z6V4XEAW.js";
5
- import "../safe-bash/command-chunks/chunk-QYSAAJ6K.js";
6
- import "../safe-bash/command-chunks/chunk-B7CSA2AN.js";
7
- import "../safe-bash/command-chunks/chunk-XQZ3OG7K.js";
8
- import "../safe-bash/command-chunks/chunk-W6UOCPP2.js";
5
+ import "../safe-bash/command-chunks/chunk-PUIGJ37F.js";
6
+ import "../safe-bash/command-chunks/chunk-KEMWQP25.js";
7
+ import "../safe-bash/command-chunks/chunk-442UWLQR.js";
8
+ import "../safe-bash/command-chunks/chunk-7THHNO2E.js";
9
9
  import "../safe-bash/command-chunks/chunk-VGAAT55W.js";
10
10
  import {
11
11
  init_buffer
@@ -4,7 +4,7 @@ import {
4
4
  pathText,
5
5
  raw,
6
6
  settings
7
- } from "../safe-bash/command-chunks/chunk-W6UOCPP2.js";
7
+ } from "../safe-bash/command-chunks/chunk-7THHNO2E.js";
8
8
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
9
9
  export {
10
10
  Budget,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Lifecycle
3
- } from "../safe-bash/command-chunks/chunk-QYSAAJ6K.js";
4
- import "../safe-bash/command-chunks/chunk-W6UOCPP2.js";
3
+ } from "../safe-bash/command-chunks/chunk-PUIGJ37F.js";
4
+ import "../safe-bash/command-chunks/chunk-7THHNO2E.js";
5
5
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
6
6
  export {
7
7
  Lifecycle
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  parse
3
- } from "../safe-bash/command-chunks/chunk-B7CSA2AN.js";
4
- import "../safe-bash/command-chunks/chunk-W6UOCPP2.js";
3
+ } from "../safe-bash/command-chunks/chunk-KEMWQP25.js";
4
+ import "../safe-bash/command-chunks/chunk-7THHNO2E.js";
5
5
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
6
6
  export {
7
7
  parse
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Reader,
3
3
  fsDetail
4
- } from "../safe-bash/command-chunks/chunk-XQZ3OG7K.js";
5
- import "../safe-bash/command-chunks/chunk-W6UOCPP2.js";
4
+ } from "../safe-bash/command-chunks/chunk-442UWLQR.js";
5
+ import "../safe-bash/command-chunks/chunk-7THHNO2E.js";
6
6
  import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
7
7
  export {
8
8
  Reader,
@@ -28,8 +28,8 @@ import {
28
28
  thresholdImage,
29
29
  tintImage,
30
30
  trimImage
31
- } from "../safe-bash/command-chunks/chunk-QLYJUVVM.js";
32
- import "../safe-bash/command-chunks/chunk-3444RZLY.js";
31
+ } from "../safe-bash/command-chunks/chunk-GBHSE6ZO.js";
32
+ import "../safe-bash/command-chunks/chunk-GZXLPWT5.js";
33
33
  import {
34
34
  init_buffer
35
35
  } from "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
@@ -2040,6 +2040,7 @@ var Converter = class {
2040
2040
  autoPadding = false;
2041
2041
  work = 0;
2042
2042
  tickCount = 0;
2043
+ lastYieldWork = 0;
2043
2044
  lastYield = monotonicNow();
2044
2045
  signalAborted;
2045
2046
  pollSignal;
@@ -2059,7 +2060,7 @@ var Converter = class {
2059
2060
  canTickSync(maxTicks) {
2060
2061
  if (this.pollSignal ? this.context.signal.aborted : this.signalAborted)
2061
2062
  return false;
2062
- if (this.work + maxTicks > this.limits.maxWork)
2063
+ if (this.work + maxTicks > this.limits.maxWork || this.work + maxTicks - this.lastYieldWork >= 16384)
2063
2064
  return false;
2064
2065
  if (this.work % 1024 + maxTicks < 1024)
2065
2066
  return true;
@@ -2072,8 +2073,9 @@ var Converter = class {
2072
2073
  if (this.work % 1024 < amount) {
2073
2074
  const count = ++this.tickCount;
2074
2075
  const now = monotonicNow();
2075
- if (count === 1 || now - this.lastYield >= 16 || hasYieldCheckpoint(this.context.signal)) {
2076
+ if (count === 1 || this.work - this.lastYieldWork >= 16384 || now - this.lastYield >= 16 || hasYieldCheckpoint(this.context.signal)) {
2076
2077
  this.lastYield = now;
2078
+ this.lastYieldWork = this.work;
2077
2079
  return yieldTurn(this.context.signal).then(() => {
2078
2080
  this.lastYield = monotonicNow();
2079
2081
  });
@@ -2416,7 +2418,7 @@ var Converter = class {
2416
2418
  }
2417
2419
  trySimpleLineSync(line, newline) {
2418
2420
  const settings2 = this.settings;
2419
- if (settings2.developer || settings2.suffix || settings2.padding > 128n || settings2.zeroPadding > 0n || settings2.grouping || settings2.format !== void 0 || settings2.from !== "none" || settings2.fromUnit !== 1n || settings2.toUnit !== 1n || settings2.to !== "iec" && settings2.to !== "iec-i" && settings2.to !== "si" && settings2.to !== "none" || line.indexOf("\0") >= 0 || !this.canTickSync(line.length * 2 + 16)) {
2421
+ if (settings2.developer || settings2.suffix || settings2.padding > 128n || settings2.zeroPadding > 0n || settings2.grouping || settings2.format !== void 0 || settings2.from !== "none" || settings2.fromUnit !== 1n || settings2.toUnit !== 1n || settings2.to !== "iec" && settings2.to !== "iec-i" && settings2.to !== "si" && settings2.to !== "none" || line.indexOf("\0") >= 0 || !this.canTickSync((line.length * 2 + 16) * ((settings2.fields?.length ?? 0) + 1))) {
2420
2422
  return false;
2421
2423
  }
2422
2424
  const savedWork = this.work;
@@ -2,11 +2,11 @@ import {
2
2
  createPandocCommand,
3
3
  createPandocCommands,
4
4
  pandocCommands
5
- } from "../safe-bash/command-chunks/chunk-ZY6PMCW5.js";
5
+ } from "../safe-bash/command-chunks/chunk-ADBFNLLK.js";
6
6
  import "../safe-bash/command-chunks/chunk-MKQVQMXO.js";
7
7
  import "../safe-bash/command-chunks/chunk-RDV7UCYZ.js";
8
- import "../safe-bash/command-chunks/chunk-QLYJUVVM.js";
9
- import "../safe-bash/command-chunks/chunk-3444RZLY.js";
8
+ import "../safe-bash/command-chunks/chunk-GBHSE6ZO.js";
9
+ import "../safe-bash/command-chunks/chunk-GZXLPWT5.js";
10
10
  import "../safe-bash/command-chunks/chunk-Y2KHC6TZ.js";
11
11
  import "../safe-bash/command-chunks/chunk-YGYOVXTO.js";
12
12
  import "../safe-bash/command-chunks/chunk-I5GLTNVH.js";
@@ -21,11 +21,11 @@ import {
21
21
  readDocument,
22
22
  resolveConversionArgs,
23
23
  writeDocument
24
- } from "../safe-bash/command-chunks/chunk-ZY6PMCW5.js";
24
+ } from "../safe-bash/command-chunks/chunk-ADBFNLLK.js";
25
25
  import "../safe-bash/command-chunks/chunk-MKQVQMXO.js";
26
26
  import "../safe-bash/command-chunks/chunk-RDV7UCYZ.js";
27
- import "../safe-bash/command-chunks/chunk-QLYJUVVM.js";
28
- import "../safe-bash/command-chunks/chunk-3444RZLY.js";
27
+ import "../safe-bash/command-chunks/chunk-GBHSE6ZO.js";
28
+ import "../safe-bash/command-chunks/chunk-GZXLPWT5.js";
29
29
  import {
30
30
  createLuaFilterCapability
31
31
  } from "../safe-bash/command-chunks/chunk-Y2KHC6TZ.js";