@poe-platform/safe-bash 0.1.809 → 0.1.811
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/dist/audio-ast/flac-source.d.ts +13 -0
- package/dist/audio-ast/index.d.ts +2 -1
- package/dist/audio-ast/index.js +254 -179
- package/dist/audio-ast/wav-source.d.ts +7 -1
- package/dist/image-ast/index.js +1 -1
- package/dist/json-ast/backed-json-parser.d.ts +12 -1
- package/dist/json-ast/index.d.ts +1 -1
- package/dist/office-xml/index.d.ts +1 -0
- package/dist/office-xml/retained-xml-edits.d.ts +22 -0
- package/dist/pdf-ast/cos/mutable-object-store.d.ts +3 -0
- package/dist/pdf-ast/cos/qpdf-json-document.d.ts +43 -0
- package/dist/pdf-ast/cos/qpdf-json-values.d.ts +7 -0
- package/dist/pdf-ast/index.d.ts +1 -0
- package/dist/pdf-ast/index.js +653 -87
- package/dist/pdf-ast/retained-document.d.ts +5 -1
- package/dist/safe-bash/audio-ast.browser.js +2 -1
- package/dist/safe-bash/chunks/{chunk-RQCK77SC.js → chunk-BUYRKFW2.js} +9 -36
- package/dist/safe-bash/chunks/{chunk-SOFBGDXG.js → chunk-HHSOUC3Z.js} +32 -0
- package/dist/safe-bash/chunks/{chunk-WAZEELYB.js → chunk-TPG55BAQ.js} +10 -7
- package/dist/safe-bash/command-chunks/biff-3EFLKBAH-NYWZOYQS.js +4942 -0
- package/dist/safe-bash/command-chunks/{chunk-HEHGHIE2.js → chunk-22MOB45U.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-6DEWZMOL.js → chunk-2CORNDGF.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-62ZAHKFS.js → chunk-2VCKUNDZ.js} +130 -14
- package/dist/safe-bash/command-chunks/{chunk-6UHGIWFX.js → chunk-2ZFLMWOX.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-HONWGFDA.js → chunk-33YCKZZX.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-AXWPJRY6.js → chunk-36XGIPOG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-32ADKP5E.js → chunk-456PHA3L.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-UJXP3T6R.js → chunk-4CKFNXRN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-5L6GHFRW.js → chunk-554Z6IKP.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ORZRWT62.js → chunk-56NYSX65.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-53JP3S6H.js → chunk-5HPU7D36.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-NB7JO7FE.js → chunk-5LI2DLNZ.js} +26 -26
- package/dist/safe-bash/command-chunks/{chunk-YJJBGN7U.js → chunk-5MB64DWR.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-3ZWBBS6U.js → chunk-5OO2P27R.js} +340 -34
- package/dist/safe-bash/command-chunks/{chunk-IC5GJI7E.js → chunk-5Q22ZLNC.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-YO3V5RLY.js → chunk-6CCQI6XZ.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-EO2IVGV7.js → chunk-6M6TM5Z5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-Z54Z3KRN.js → chunk-6QBMND4A.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-INX4JMQ6.js → chunk-6VPQ3CDZ.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-72C3TZ2U.js +826 -0
- package/dist/safe-bash/command-chunks/{chunk-VGXVN3BX.js → chunk-7GKKMNL6.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-TZJC67W3.js → chunk-7PVHO47B.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-CM3C7AXJ.js → chunk-A2CLZMQZ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ASR27KHW.js → chunk-A5FZBR7X.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-DMDHE5KC.js → chunk-AHA6IWAJ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-PTZ55XXN.js → chunk-APEWTWCC.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-YUVH6CE4.js → chunk-ATTWQVR2.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-JON5DB3Z.js → chunk-B5LDP7AA.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CHJL6JMU.js → chunk-COKYZUBW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KCTV4NVX.js → chunk-CRV2Q3PB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-V3WXPCKN.js → chunk-CV7M2QJU.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-D7XBUF76.js → chunk-D2ASPM7R.js} +109 -23
- package/dist/safe-bash/command-chunks/{chunk-VPDSQPSN.js → chunk-DM2CPMB4.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-3DTDMEOP.js → chunk-EAGIJ4VW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WFDG3N5R.js → chunk-ECDEPKKW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-JW6CMBF2.js → chunk-EHSM5ZQS.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-WIOH7ZQN.js → chunk-ENT3IV2G.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-5IE4LJGB.js → chunk-EUT24Y5Z.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-COKZFXHG.js → chunk-FIIAYCWS.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-MWVFP2HY.js → chunk-GEM47B2P.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-OQCJGUI6.js → chunk-HARUYHH7.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-EHL6B34L.js → chunk-HDJVJTCK.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-JMM3MNAY.js → chunk-HKATEVAP.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-NVBUC644.js → chunk-HKGNBH7Z.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-VWY3EAVQ.js → chunk-HTVIYLVB.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-Z4QJMDK3.js → chunk-IT7TAC3F.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-EWS4KYJE.js → chunk-JFYWVQ4V.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-ZCX63QWA.js → chunk-JOCFI7TG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-F5WTH4O4.js → chunk-JQVHUSDD.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-O4VJEGL6.js → chunk-K5GB2YMN.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-27C3NT5V.js → chunk-KB7DUBVL.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-4DZ32PI7.js → chunk-KCOJA7EM.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-6OKH4X67.js → chunk-KJ4XXZIL.js} +273 -10
- package/dist/safe-bash/command-chunks/{chunk-GLVD3JJG.js → chunk-KL3OIBKB.js} +4712 -4654
- package/dist/safe-bash/command-chunks/{chunk-U6QHTC5J.js → chunk-L5MCW6CM.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-LVL3A7YE.js → chunk-LCZDBW55.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-DJVRDUCA.js → chunk-LXLLA4PM.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-K7AGAS3K.js → chunk-M7QE2MN7.js} +6 -6
- package/dist/safe-bash/command-chunks/chunk-MGBHGZEX.js +12 -0
- package/dist/safe-bash/command-chunks/{chunk-SWT6ILF2.js → chunk-MPUHH2KR.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-DC3OJLRB.js → chunk-NQDIT667.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-LWZVDDJA.js → chunk-NUGQQDGE.js} +5 -1
- package/dist/safe-bash/command-chunks/{chunk-MFLQZLFR.js → chunk-OA75SGN2.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-5LATYOF7.js → chunk-OEJM666F.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-AF25YYIO.js → chunk-PMAM4N33.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-4557HE3J.js → chunk-PMWW7KSB.js} +161 -42
- package/dist/safe-bash/command-chunks/{chunk-KMMAJ6H6.js → chunk-PNGDJA6M.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-62BHPSKJ.js → chunk-Q6S57NOQ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-KJ3PEDI2.js → chunk-Q73EMLLZ.js} +146 -4
- package/dist/safe-bash/command-chunks/{chunk-FXKBM5KJ.js → chunk-QC5RMGSA.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-UQ6UIZMM.js → chunk-QD7ZRDUN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-JHUYZZGV.js → chunk-QYMEASQ6.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-3GY5VDIX.js → chunk-QZZ73J2O.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-S2CYIGWH.js → chunk-R6EGGK5M.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-7AVN3OBH.js → chunk-RHYJVTJO.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-EWGDSO6U.js → chunk-RID6VYS3.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-MMBRBANA.js → chunk-RNSKXOG3.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-D3ZRZTY5.js → chunk-RQIQ75W5.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-DWKQPLRT.js → chunk-RRL3Y562.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-JW3KIZU6.js → chunk-RUXY7GN5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-NXCMXD74.js → chunk-S6R3IB36.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XUPKFHAQ.js → chunk-SDTPO2VV.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-PIAGKRFW.js → chunk-SPLOIABU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-KELMIFVV.js → chunk-TI52LKLL.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WLTJDNSQ.js → chunk-TVH4JORU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-6XVMWFHD.js → chunk-TW73OXPR.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-SFO43CID.js → chunk-UAXSE3XE.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-K35BSUHO.js → chunk-UYWSIIUX.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-JJQ72P3V.js → chunk-VCML4T5D.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-DCD32BEY.js → chunk-VU3EQF7F.js} +91 -53
- package/dist/safe-bash/command-chunks/{chunk-2E2YEDVB.js → chunk-W5YSINXC.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-EYNT4OEJ.js → chunk-WGG6G2KG.js} +7 -7
- package/dist/safe-bash/command-chunks/chunk-WH3TIOTS.js +326 -0
- package/dist/safe-bash/command-chunks/{chunk-DVQBZXMQ.js → chunk-WJCN2IXI.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-45FI2IPY.js → chunk-WQ6ABTJU.js} +3 -6
- package/dist/safe-bash/command-chunks/{chunk-XBZ4ZWGL.js → chunk-WVMHRNXZ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-7GXUCQI4.js → chunk-WXRYDALR.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-S4IIOSRA.js → chunk-X7FA7ZD5.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-SFCERNHU.js → chunk-XPD636C4.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-HYDWQLJ3.js → chunk-XRVKWGVQ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-3UJWHRK4.js → chunk-XVP6V5K3.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-KTI3BULE.js → chunk-XZ2FWFNV.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-QK3CHRGL.js → chunk-Y4EYCZFT.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-GTWVMFBK.js → chunk-YORJDX4V.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-H6F5SN2N.js → chunk-YSMNXMAO.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-GKYCV6BU.js → chunk-YSY6R6AS.js} +493 -183
- package/dist/safe-bash/command-chunks/{chunk-SE5SJ4JT.js → chunk-Z2JW6M2D.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-5HGEXQVD.js → chunk-ZHRGYR7B.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-HQYFRQ5W.js → chunk-ZIIO6GRY.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-NTRZMQZP.js → chunk-ZMHEGDU2.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-EYBXHGA6.js → chunk-ZXR6LXV5.js} +2 -2
- package/dist/safe-bash/command-chunks/{command-engine-P5DFM4OU.js → command-engine-BEWABZ75.js} +10 -3
- package/dist/safe-bash/command-chunks/{engine-RU4OFLPO-CPLFYD67.js → engine-AXXFTGCL-QBQNBI6K.js} +1 -1
- package/dist/safe-bash/command-chunks/pdf-XHHFTOT4-UJJYOYJ2.js +573 -0
- package/dist/safe-bash/commands/audio/index.browser.js +2 -14
- package/dist/safe-bash/commands/diff-patch/index.js +0 -5
- package/dist/safe-bash/commands/diff3/index.js +0 -2
- package/dist/safe-bash/commands/ffprobe/index.browser.js +2 -5
- package/dist/safe-bash/commands/pandoc/index.browser.js +3 -1
- package/dist/safe-bash/commands/text.js +10 -1
- package/dist/safe-bash/core.d.ts +2 -2
- package/dist/safe-bash/core.js +2 -2
- package/dist/safe-bash/full-core.browser.js +18 -22
- package/dist/safe-bash/lazy-optional.d.ts +9 -0
- package/dist/safe-bash/lazy-optional.js +24 -0
- package/dist/safe-bash/plugins/index.browser.js +5 -3
- package/dist/safe-bash/plugins/index.js +3 -1
- package/dist/safe-bash/plugins/portable-commands.d.ts +1 -1
- package/dist/safe-bash/plugins/portable-commands.js +5 -3
- package/dist/safe-bash/registry-entry.browser.js +1 -1
- package/dist/safe-bash-command-apply-patch/apply.js +2 -2
- package/dist/safe-bash-command-apply-patch/index.js +2 -2
- package/dist/safe-bash-command-apply-patch/parser.d.ts +20 -1
- package/dist/safe-bash-command-apply-patch/parser.js +1 -1
- package/dist/safe-bash-command-diff/index.js +0 -2
- package/dist/safe-bash-command-diff3/index.js +830 -56
- package/dist/safe-bash-command-ffmpeg/index.js +1 -1
- package/dist/safe-bash-command-ffprobe/index.js +3 -2
- package/dist/safe-bash-command-ffprobe/media.js +3 -2
- package/dist/safe-bash-command-ffprobe/options.d.ts +15 -0
- package/dist/safe-bash-command-ffprobe/options.js +7 -0
- package/dist/safe-bash-command-html-to-markdown/index.js +75 -21
- package/dist/safe-bash-command-media/index.js +2 -2
- package/dist/safe-bash-command-media/plugin.js +1 -1
- package/dist/safe-bash-command-media/remote.js +2 -2
- package/dist/safe-bash-command-pandoc/command.js +8 -8
- package/dist/safe-bash-command-pandoc/execution.d.ts +2 -2
- package/dist/safe-bash-command-pandoc/index.d.ts +1 -1
- package/dist/safe-bash-command-pandoc/index.js +37 -37
- package/dist/safe-bash-command-pandoc/lua-filters.js +2 -2
- package/dist/safe-bash-command-pandoc/types.d.ts +17 -2
- package/dist/safe-bash-command-patch/index.js +2 -2
- package/dist/safe-bash-command-patch/patch-publication.d.ts +2 -2
- package/dist/safe-bash-command-patch/patch-publication.js +1 -1
- package/dist/safe-bash-command-patch/patch.js +2 -2
- package/dist/safe-bash-command-pdftk/index.js +616 -265
- package/dist/safe-bash-command-pptx/engine.js +1 -1
- package/dist/safe-bash-command-qpdf/index.js +115 -9
- package/dist/safe-bash-command-soffice/index.js +1 -1
- package/dist/safe-bash-command-ssconvert/index.js +2 -2
- package/dist/safe-bash-command-xmllint/index.js +137 -30
- package/dist/safe-bash-command-xq/index.js +45 -29
- package/dist/safe-bash-compression-engine/bounded-codec.js +2 -2
- package/dist/safe-bash-compression-engine/codec-loader.js +1 -1
- package/dist/safe-bash-compression-engine/files.js +5 -5
- package/dist/safe-bash-compression-engine/index.js +4 -4
- package/dist/safe-bash-compression-engine/operand.js +5 -5
- package/dist/safe-bash-compression-engine/stream.js +4 -4
- package/dist/safe-bash-compression-engine/zstd-decode.js +3 -3
- package/dist/safe-bash-media-engine/imagemagick.d.ts +2 -0
- package/dist/safe-bash-media-engine/index.js +162 -72
- package/dist/safe-bash-network-engine/body.d.ts +1 -0
- package/dist/safe-bash-network-engine/body.js +1 -1
- package/dist/safe-bash-network-engine/transfer.js +11 -3
- package/dist/safe-bash-presentation-engine/accessibility.js +30 -30
- package/dist/safe-bash-presentation-engine/animation-editing.js +15 -15
- package/dist/safe-bash-presentation-engine/animations.js +15 -15
- package/dist/safe-bash-presentation-engine/backgrounds.js +16 -16
- package/dist/safe-bash-presentation-engine/bytes.js +3 -3
- package/dist/safe-bash-presentation-engine/chart-editing.js +33 -33
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +24 -24
- package/dist/safe-bash-presentation-engine/charts.js +30 -30
- package/dist/safe-bash-presentation-engine/command-placeholder.js +55 -54
- package/dist/safe-bash-presentation-engine/comments.js +16 -16
- package/dist/safe-bash-presentation-engine/connector-operations.js +31 -31
- package/dist/safe-bash-presentation-engine/connectors.js +28 -28
- package/dist/safe-bash-presentation-engine/content-types.js +4 -4
- package/dist/safe-bash-presentation-engine/creation.js +6 -6
- package/dist/safe-bash-presentation-engine/diff.js +31 -31
- package/dist/safe-bash-presentation-engine/drawing-format.js +19 -19
- package/dist/safe-bash-presentation-engine/drawing-operations.js +30 -30
- package/dist/safe-bash-presentation-engine/drawing-schema.js +20 -20
- package/dist/safe-bash-presentation-engine/equations.js +16 -16
- package/dist/safe-bash-presentation-engine/errors.js +2 -2
- package/dist/safe-bash-presentation-engine/fields.js +16 -16
- package/dist/safe-bash-presentation-engine/font-metrics.js +3 -3
- package/dist/safe-bash-presentation-engine/image-extraction.js +19 -19
- package/dist/safe-bash-presentation-engine/image-formatting.js +31 -31
- package/dist/safe-bash-presentation-engine/image-insertion.js +17 -17
- package/dist/safe-bash-presentation-engine/image-replacement.js +20 -20
- package/dist/safe-bash-presentation-engine/image-value.js +4 -4
- package/dist/safe-bash-presentation-engine/images.js +18 -18
- package/dist/safe-bash-presentation-engine/index.d.ts +2 -2
- package/dist/safe-bash-presentation-engine/index.js +100 -93
- package/dist/safe-bash-presentation-engine/layouts.js +15 -15
- package/dist/safe-bash-presentation-engine/length.js +3 -3
- package/dist/safe-bash-presentation-engine/links.js +15 -15
- package/dist/safe-bash-presentation-engine/masters.js +14 -14
- package/dist/safe-bash-presentation-engine/media-editing.js +23 -23
- package/dist/safe-bash-presentation-engine/media-extraction.js +16 -16
- package/dist/safe-bash-presentation-engine/media.js +15 -15
- package/dist/safe-bash-presentation-engine/memberships.js +14 -14
- package/dist/safe-bash-presentation-engine/notes.js +15 -15
- package/dist/safe-bash-presentation-engine/ole-enum.js +4 -4
- package/dist/safe-bash-presentation-engine/ole-insertion.js +19 -19
- package/dist/safe-bash-presentation-engine/opaque-objects.js +9 -9
- package/dist/safe-bash-presentation-engine/package-reader.js +5 -5
- package/dist/safe-bash-presentation-engine/package-tools.js +15 -15
- package/dist/safe-bash-presentation-engine/package-uri.js +3 -3
- package/dist/safe-bash-presentation-engine/package-writer.js +4 -4
- package/dist/safe-bash-presentation-engine/presentation-model.js +54 -53
- package/dist/safe-bash-presentation-engine/presentation-settings.js +13 -13
- package/dist/safe-bash-presentation-engine/properties.js +15 -15
- package/dist/safe-bash-presentation-engine/relationships.js +4 -4
- package/dist/safe-bash-presentation-engine/resource-limits.js +1 -1
- package/dist/safe-bash-presentation-engine/retained-inspection.js +12 -12
- package/dist/safe-bash-presentation-engine/retained-package.js +4 -4
- package/dist/safe-bash-presentation-engine/retained-slide-settings.d.ts +15 -0
- package/dist/safe-bash-presentation-engine/retained-text.js +19 -19
- package/dist/safe-bash-presentation-engine/retained-xml-parts.d.ts +26 -0
- package/dist/safe-bash-presentation-engine/sanitize.js +16 -16
- package/dist/safe-bash-presentation-engine/selectors.js +10 -10
- package/dist/safe-bash-presentation-engine/shape-groups.js +30 -30
- package/dist/safe-bash-presentation-engine/shape-operations.js +29 -29
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +31 -31
- package/dist/safe-bash-presentation-engine/shape-paths.js +15 -15
- package/dist/safe-bash-presentation-engine/shape-presets.js +3 -3
- package/dist/safe-bash-presentation-engine/shape-selection.js +30 -30
- package/dist/safe-bash-presentation-engine/shape-transforms.js +17 -17
- package/dist/safe-bash-presentation-engine/shapes.js +26 -26
- package/dist/safe-bash-presentation-engine/slide-copy.js +16 -16
- package/dist/safe-bash-presentation-engine/slide-import.js +17 -17
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +19 -19
- package/dist/safe-bash-presentation-engine/slide-model.js +42 -42
- package/dist/safe-bash-presentation-engine/slide-removal.js +17 -17
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +9 -9
- package/dist/safe-bash-presentation-engine/slides.d.ts +2 -0
- package/dist/safe-bash-presentation-engine/slides.js +21 -16
- package/dist/safe-bash-presentation-engine/table-operations.js +32 -32
- package/dist/safe-bash-presentation-engine/table-spans.js +31 -31
- package/dist/safe-bash-presentation-engine/tables.js +30 -30
- package/dist/safe-bash-presentation-engine/tags.js +15 -15
- package/dist/safe-bash-presentation-engine/template-bindings.js +32 -32
- package/dist/safe-bash-presentation-engine/template-repeat.js +39 -39
- package/dist/safe-bash-presentation-engine/text-fitting.js +26 -26
- package/dist/safe-bash-presentation-engine/text-frames.js +26 -26
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +26 -26
- package/dist/safe-bash-presentation-engine/text-reading.js +11 -11
- package/dist/safe-bash-presentation-engine/text-replacement.js +16 -16
- package/dist/safe-bash-presentation-engine/text-runs.js +19 -19
- package/dist/safe-bash-presentation-engine/themes.js +15 -15
- package/dist/safe-bash-presentation-engine/transitions.js +15 -15
- package/dist/safe-bash-presentation-engine/validation.js +9 -9
- package/dist/safe-bash-presentation-engine/xml-parts.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/xml-parts.js +19 -13
- package/dist/safe-bash-presentation-engine/xml-view.js +3 -3
- package/dist/safe-bash-presentation-engine/xml.js +3 -3
- package/dist/safe-bash-xml-engine/document.js +1 -1
- package/dist/safe-bash-xml-engine/index.js +1 -1
- package/dist/safe-bash-xml-engine/json.d.ts +1 -0
- package/dist/safe-bash-xml-engine/json.js +203 -0
- package/dist/safe-bash-xml-engine/stored-json.d.ts +5 -0
- package/dist/spreadsheet-engine/rendering/print/bidi-runs.d.ts +5 -0
- package/dist/spreadsheet-engine/rendering/print/bidi-runs.js +35 -0
- package/dist/spreadsheet-engine/rendering/print/control-bidi.d.ts +8 -0
- package/dist/spreadsheet-engine/rendering/print/control-bidi.js +80 -0
- package/dist/spreadsheet-engine/rendering/print/tab-layout.d.ts +11 -0
- package/dist/spreadsheet-engine/rendering/print/tab-layout.js +15 -0
- package/dist/spreadsheet-engine/rendering/print/text-lines.d.ts +2 -2
- package/dist/spreadsheet-engine/rendering/print/text-lines.js +3 -3
- package/dist/spreadsheet-format-xls/biff-encrypted-properties.d.ts +5 -1
- package/dist/spreadsheet-format-xls/biff-encrypted-properties.js +151 -57
- package/dist/spreadsheet-format-xls/biff-encryption.d.ts +1 -1
- package/dist/spreadsheet-format-xls/biff-encryption.js +8 -3
- package/dist/spreadsheet-format-xls/biff-property-bytes.d.ts +4 -1
- package/dist/spreadsheet-format-xls/biff-property-bytes.js +3 -3
- package/dist/spreadsheet-format-xls/biff-range.js +1 -1
- package/dist/spreadsheet-format-xls/biff.js +11 -3
- package/package.json +6 -2
- package/dist/safe-bash/chunks/chunk-I2A5ZCPD.js +0 -17
- package/dist/safe-bash/chunks/chunk-PQTT2EZP.js +0 -8
- package/dist/safe-bash/command-chunks/biff-DS263V2K-2GP4GZT7.js +0 -4868
- package/dist/safe-bash/command-chunks/chunk-6ZFYWT3U.js +0 -581
- package/dist/safe-bash/command-chunks/chunk-S244SWDH.js +0 -153
- package/dist/safe-bash/command-chunks/pdf-T7AWYZGQ-KNAYJ7YF.js +0 -552
- /package/dist/safe-bash/command-chunks/{chunk-EMMSXKEJ.js → chunk-4Q4R3VZU.js} +0 -0
|
@@ -12,7 +12,7 @@ import { type PdfRetainedJavaScript } from "./extract/retained-javascript.js";
|
|
|
12
12
|
import { type PdfRetainedImage, type PdfImageSelection } from "./extract/retained-images.js";
|
|
13
13
|
import { type PdfRetainedFont, type PdfFontSelection } from "./extract/retained-fonts.js";
|
|
14
14
|
import { type PdfRetainedAttachment } from "./extract/retained-attachments.js";
|
|
15
|
-
import { type ByteSpan, type PdfCosDict, type PdfCosNode, type PdfCosRef, type PdfRect } from "./ast.js";
|
|
15
|
+
import { type ByteSpan, type PdfCosDict, type PdfCosNode, type PdfCosRef, type PdfRect, type PdfStoredItems } from "./ast.js";
|
|
16
16
|
import { type OpenPdfObjectReaderOptions, type PdfOpenedObjectReader } from "./cos/object-reader.js";
|
|
17
17
|
import type { PdfIndexStorage } from "./cos/object-index.js";
|
|
18
18
|
import type { PdfFileSource } from "./source.js";
|
|
@@ -64,6 +64,10 @@ export declare class PdfRetainedDocument {
|
|
|
64
64
|
private assertOpen;
|
|
65
65
|
/** Resolve a bounded reference chain, retaining the final stream's identity. */
|
|
66
66
|
lookup(node: PdfCosNode | undefined, arrays?: ValueArrayStorage, arrayPathPrefix?: readonly string[]): Promise<PdfRetainedValue | undefined>;
|
|
67
|
+
/** Visit page dictionaries in inheritance order using caller-backed cycle state. */
|
|
68
|
+
pageAncestors(first: PdfCosDict): AsyncGenerator<PdfCosDict, void, void>;
|
|
69
|
+
/** Read one caller-backed array record with document cancellation and ownership. */
|
|
70
|
+
readArrayItem(items: PdfStoredItems, position: number): Promise<import("./ast.js").PdfCosArray>;
|
|
67
71
|
info(): Promise<Readonly<Record<string, string>>>;
|
|
68
72
|
/** Resolve the one-based numbering used by annotation destinations. */
|
|
69
73
|
annotationPageNumber(reference: PdfCosRef): Promise<number | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// packages/safe-bash/src/audio-ast.ts
|
|
2
|
-
import { concat, decodePcm, encodeWav, extractChannels, fade, normalize, pad, parseAudio, probeAudio, probeWavSource, remix, resample, stats, transformAudio, trim, writeAudioMetadata } from "../audio-ast/index.js";
|
|
2
|
+
import { concat, decodePcm, encodeWav, extractChannels, fade, normalize, pad, parseAudio, probeAudio, probeFlacSource, probeWavSource, remix, resample, stats, transformAudio, trim, writeAudioMetadata } from "../audio-ast/index.js";
|
|
3
3
|
export {
|
|
4
4
|
concat,
|
|
5
5
|
decodePcm,
|
|
@@ -10,6 +10,7 @@ export {
|
|
|
10
10
|
pad,
|
|
11
11
|
parseAudio,
|
|
12
12
|
probeAudio,
|
|
13
|
+
probeFlacSource,
|
|
13
14
|
probeWavSource,
|
|
14
15
|
remix,
|
|
15
16
|
resample,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
composeAgentCommands,
|
|
6
6
|
createAgentCommandPlugin,
|
|
7
7
|
createRegexExecutors
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TPG55BAQ.js";
|
|
9
9
|
import {
|
|
10
10
|
createOpCommands
|
|
11
11
|
} from "./chunk-UKMP6ZT5.js";
|
|
@@ -14,8 +14,9 @@ import {
|
|
|
14
14
|
createLazyCommandLoader,
|
|
15
15
|
createLazyCommands,
|
|
16
16
|
createOptionalCommands,
|
|
17
|
+
createPandocCommand,
|
|
17
18
|
lazyCommandPlugin
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HHSOUC3Z.js";
|
|
19
20
|
import {
|
|
20
21
|
CommandRegistry
|
|
21
22
|
} from "./chunk-JQ3O3I4G.js";
|
|
@@ -82,36 +83,7 @@ function diff3Commands(options = {}) {
|
|
|
82
83
|
}
|
|
83
84
|
};
|
|
84
85
|
}
|
|
85
|
-
var _syncDiff3Signal;
|
|
86
|
-
var syncDiff3Signal = () => _syncDiff3Signal ??= new AbortController().signal;
|
|
87
86
|
var syncDiff3Decoder = new TextDecoder("utf-8", { fatal: true, ignoreBOM: true });
|
|
88
|
-
function evalSyncDiff3(inBytes, opArgs, readFileSync) {
|
|
89
|
-
try {
|
|
90
|
-
const options = parseDiff3Arguments([...opArgs], diff3DefaultLimits);
|
|
91
|
-
if (options.information !== void 0 || options.files.length !== 3) return void 0;
|
|
92
|
-
const inputs = [];
|
|
93
|
-
let stdinUsed = false;
|
|
94
|
-
for (const file of options.files) {
|
|
95
|
-
let srcBytes;
|
|
96
|
-
if (file === "-") {
|
|
97
|
-
if (stdinUsed || !inBytes) return void 0;
|
|
98
|
-
stdinUsed = true;
|
|
99
|
-
srcBytes = inBytes;
|
|
100
|
-
} else {
|
|
101
|
-
if (!readFileSync) return void 0;
|
|
102
|
-
srcBytes = readFileSync(file);
|
|
103
|
-
}
|
|
104
|
-
if (!srcBytes || srcBytes.byteLength > 16384) return void 0;
|
|
105
|
-
inputs.push(srcBytes);
|
|
106
|
-
}
|
|
107
|
-
const rendered = compareDiff3(inputs, options, diff3DefaultLimits, syncDiff3Signal());
|
|
108
|
-
if (rendered.exitCode !== 0 || rendered.stderr.byteLength !== 0 || rendered.stdout.includes(0)) return void 0;
|
|
109
|
-
return syncDiff3Decoder.decode(rendered.stdout);
|
|
110
|
-
} catch {
|
|
111
|
-
return void 0;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
syncCommandEvaluators.evalSyncDiff3 = evalSyncDiff3;
|
|
115
87
|
|
|
116
88
|
// packages/safe-bash/src/commands/exiftool/index.ts
|
|
117
89
|
import {
|
|
@@ -456,7 +428,7 @@ function evalSyncCsvgrep(inBytes, opArgs, readFileSync) {
|
|
|
456
428
|
syncCommandEvaluators.evalSyncCsvgrep = evalSyncCsvgrep;
|
|
457
429
|
|
|
458
430
|
// packages/safe-bash/src/plugins/portable-commands.ts
|
|
459
|
-
function createPortableAgentCommands() {
|
|
431
|
+
function createPortableAgentCommands(hasCommand) {
|
|
460
432
|
return new CommandRegistry([
|
|
461
433
|
...createYqCommands(),
|
|
462
434
|
...createHtmlqCommands(),
|
|
@@ -465,10 +437,9 @@ function createPortableAgentCommands() {
|
|
|
465
437
|
...createUnrtfCommands(),
|
|
466
438
|
...createMmdcCommands(),
|
|
467
439
|
...createOpCommands(),
|
|
440
|
+
...createOptionalCommands({ families: ["ffmpeg", "soffice"] }),
|
|
441
|
+
createPandocCommand({}, hasCommand),
|
|
468
442
|
...createOptionalCommands({ families: [
|
|
469
|
-
"ffmpeg",
|
|
470
|
-
"soffice",
|
|
471
|
-
"pandoc",
|
|
472
443
|
"ssconvert",
|
|
473
444
|
"pdfinfo",
|
|
474
445
|
"pdftotext",
|
|
@@ -516,11 +487,13 @@ function createAgentCommands(options = {}) {
|
|
|
516
487
|
}
|
|
517
488
|
function agentCommands(options = {}) {
|
|
518
489
|
const regex = Object.freeze({ ...options.regex });
|
|
519
|
-
|
|
490
|
+
let hasCommand;
|
|
491
|
+
const base = createAgentCommandPlugin({ ...options, regex }, createRegexExecutors({ ...options, regex }), createGhCommands(options.gh), createPortableAgentCommands((name) => hasCommand?.(name) ?? false));
|
|
520
492
|
const recipe = captureAgentWorkerRecipe(options);
|
|
521
493
|
const plugin = {
|
|
522
494
|
name: "agent-commands",
|
|
523
495
|
setup(host) {
|
|
496
|
+
hasCommand = (name) => host.commands.has(name);
|
|
524
497
|
const previous = new Map(host.commands.list().map((command) => [command.name, command.execute]));
|
|
525
498
|
base.setup(host);
|
|
526
499
|
if (recipe) for (const definition of host.commands.list()) {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createSoxCommand
|
|
3
|
+
} from "./chunk-4KYUJ3GC.js";
|
|
4
|
+
import {
|
|
5
|
+
createSoxiCommand
|
|
6
|
+
} from "./chunk-6E4SGHLU.js";
|
|
1
7
|
import {
|
|
2
8
|
CommandRegistry,
|
|
3
9
|
commandRuntimeIdentity,
|
|
@@ -97,6 +103,7 @@ var ghCommands = (options = {}) => lazyCommandPlugin("gh-commands", createGhComm
|
|
|
97
103
|
|
|
98
104
|
// packages/safe-bash/src/lazy-optional.ts
|
|
99
105
|
import { validatePandocOptions } from "../../safe-bash-command-pandoc/options.js";
|
|
106
|
+
import { resolveFfprobeLimits } from "../../safe-bash-command-ffprobe/options.js";
|
|
100
107
|
var loadffmpeg = /* @__PURE__ */ createLazyCommandLoader(() => import("./ffmpeg-5ST3W5IY.js"));
|
|
101
108
|
var ffmpegMetadata = [
|
|
102
109
|
{
|
|
@@ -137,6 +144,26 @@ var createFfmpegCommands = (...args) => {
|
|
|
137
144
|
);
|
|
138
145
|
};
|
|
139
146
|
var ffmpegCommands = (options = {}) => lazyCommandPlugin("ffmpeg-commands", createFfmpegCommands(options), options.replace ?? false);
|
|
147
|
+
var loadffprobe = /* @__PURE__ */ createLazyCommandLoader(() => import("../commands/ffprobe/index.browser.js"));
|
|
148
|
+
var createFfprobeCommands = (options = {}) => {
|
|
149
|
+
resolveFfprobeLimits(options.limits);
|
|
150
|
+
return createLazyCommands([ffmpegMetadata[1]], async () => {
|
|
151
|
+
const module = await loadffprobe();
|
|
152
|
+
return () => module.createFfprobeCommands(options);
|
|
153
|
+
}, options);
|
|
154
|
+
};
|
|
155
|
+
var ffprobeCommands = (options = {}) => lazyCommandPlugin("ffprobe-commands", createFfprobeCommands(options), options.replace ?? false);
|
|
156
|
+
var createAudioCommands = (options = {}) => [
|
|
157
|
+
...createFfprobeCommands(options.ffprobe),
|
|
158
|
+
createSoxCommand(options.sox),
|
|
159
|
+
createSoxiCommand(options.sox)
|
|
160
|
+
];
|
|
161
|
+
var createAudioCommand = (options = {}, name = "sox") => {
|
|
162
|
+
const command = createAudioCommands(options).find((entry) => entry.name === name);
|
|
163
|
+
if (!command) throw new TypeError(`Audio command not configured: ${name}`);
|
|
164
|
+
return command;
|
|
165
|
+
};
|
|
166
|
+
var audioCommands = (options = {}) => lazyCommandPlugin("audio-commands", createAudioCommands(options), options.replace ?? false);
|
|
140
167
|
var loadgit = /* @__PURE__ */ createLazyCommandLoader(() => import("./git-7GILP3SU.js"));
|
|
141
168
|
var gitMetadata = [
|
|
142
169
|
{
|
|
@@ -849,6 +876,11 @@ export {
|
|
|
849
876
|
createFfprobeCommand,
|
|
850
877
|
createFfmpegCommands,
|
|
851
878
|
ffmpegCommands,
|
|
879
|
+
createFfprobeCommands,
|
|
880
|
+
ffprobeCommands,
|
|
881
|
+
createAudioCommands,
|
|
882
|
+
createAudioCommand,
|
|
883
|
+
audioCommands,
|
|
852
884
|
gitCommands,
|
|
853
885
|
createGitCommands,
|
|
854
886
|
createGitCommand,
|
|
@@ -4059,13 +4059,10 @@ function byteCommands(options2 = {}) {
|
|
|
4059
4059
|
}
|
|
4060
4060
|
|
|
4061
4061
|
// packages/safe-bash/src/commands/diff-patch/index.ts
|
|
4062
|
-
import { evalSyncPatch } from "../../safe-bash-command-patch/index.js";
|
|
4063
4062
|
import { diffCommand } from "../../safe-bash-command-diff/index.js";
|
|
4064
4063
|
import { patchCommand } from "../../safe-bash-command-patch/index.js";
|
|
4065
4064
|
import { createDiffCommand, createDiffCommands, diffCommand as diffCommand2, diffCommands, evalSyncDiff } from "../../safe-bash-command-diff/index.js";
|
|
4066
|
-
import { createPatchCommand, createPatchCommands, evalSyncPatch
|
|
4067
|
-
import { evalSyncDiff as evalSyncDiff2 } from "../../safe-bash-command-diff/index.js";
|
|
4068
|
-
syncCommandEvaluators.evalSyncPatch = evalSyncPatch;
|
|
4065
|
+
import { createPatchCommand, createPatchCommands, evalSyncPatch, patchCommand as patchCommand2, patchCommands } from "../../safe-bash-command-patch/index.js";
|
|
4069
4066
|
function createDiffPatchCommands(options2 = {}) {
|
|
4070
4067
|
return registerDefaultExecutors([diffCommand(options2), patchCommand(options2)], options2);
|
|
4071
4068
|
}
|
|
@@ -4081,7 +4078,6 @@ function diffPatchCommands(options2 = {}) {
|
|
|
4081
4078
|
}
|
|
4082
4079
|
};
|
|
4083
4080
|
}
|
|
4084
|
-
syncCommandEvaluators.evalSyncDiff = evalSyncDiff2;
|
|
4085
4081
|
|
|
4086
4082
|
// packages/safe-bash/src/commands/which/index.ts
|
|
4087
4083
|
import { createWhichCommand, createWhichCommands, evalSyncWhich, whichCommands } from "../../safe-bash-command-which/index.js";
|
|
@@ -9364,7 +9360,14 @@ async function executeUniqGeneral(context, preReadSource) {
|
|
|
9364
9360
|
while (flushChunks.length) yield flushChunks.shift();
|
|
9365
9361
|
if (outUsed > 0) yield outBuf.subarray(0, outUsed);
|
|
9366
9362
|
})();
|
|
9367
|
-
|
|
9363
|
+
try {
|
|
9364
|
+
await emitRecords(context, records, parsed.operands[1]);
|
|
9365
|
+
} catch (error) {
|
|
9366
|
+
context.signal.throwIfAborted();
|
|
9367
|
+
const consumer = parsed.operands[1] === void 0 ? context.stdout.ownedOutput?.consumerClosed : void 0;
|
|
9368
|
+
if (consumer?.aborted && consumer.reason === error && error instanceof FsError && error.code === "EPIPE") return { exitCode: 141 };
|
|
9369
|
+
throw error;
|
|
9370
|
+
}
|
|
9368
9371
|
return { exitCode: 0 };
|
|
9369
9372
|
}
|
|
9370
9373
|
function textCommands() {
|
|
@@ -10136,7 +10139,7 @@ export {
|
|
|
10136
10139
|
evalSyncDiff,
|
|
10137
10140
|
createPatchCommand,
|
|
10138
10141
|
createPatchCommands,
|
|
10139
|
-
|
|
10142
|
+
evalSyncPatch,
|
|
10140
10143
|
patchCommand2 as patchCommand,
|
|
10141
10144
|
patchCommands,
|
|
10142
10145
|
createWhichCommand,
|