@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
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
sourceBytes,
|
|
3
3
|
unchangedSource,
|
|
4
4
|
writeFileOperand
|
|
5
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
5
|
+
} from "../safe-bash/command-chunks/chunk-ECDEPKKW.js";
|
|
6
6
|
import {
|
|
7
7
|
FileOperation
|
|
8
8
|
} from "../safe-bash/command-chunks/chunk-JMTQ4BB6.js";
|
|
9
9
|
import {
|
|
10
10
|
transform
|
|
11
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
12
|
-
import "../safe-bash/command-chunks/chunk-
|
|
13
|
-
import "../safe-bash/command-chunks/chunk-
|
|
14
|
-
import "../safe-bash/command-chunks/chunk-
|
|
11
|
+
} from "../safe-bash/command-chunks/chunk-HKGNBH7Z.js";
|
|
12
|
+
import "../safe-bash/command-chunks/chunk-TI52LKLL.js";
|
|
13
|
+
import "../safe-bash/command-chunks/chunk-RUXY7GN5.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-4Q4R3VZU.js";
|
|
15
15
|
import "../safe-bash/command-chunks/chunk-5AQAWIYK.js";
|
|
16
16
|
import "../safe-bash/command-chunks/chunk-5T7WL5CN.js";
|
|
17
17
|
import "../safe-bash/command-chunks/chunk-52DDLGBS.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
chunkBytes,
|
|
4
4
|
stagingLimit,
|
|
5
5
|
transform
|
|
6
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
+
} from "../safe-bash/command-chunks/chunk-HKGNBH7Z.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-TI52LKLL.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-RUXY7GN5.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-4Q4R3VZU.js";
|
|
10
10
|
import "../safe-bash/command-chunks/chunk-5AQAWIYK.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-5T7WL5CN.js";
|
|
12
12
|
import "../safe-bash/command-chunks/chunk-52DDLGBS.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
zstdDecode
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-TI52LKLL.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-RUXY7GN5.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-4Q4R3VZU.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-5AQAWIYK.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-5T7WL5CN.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-52DDLGBS.js";
|
|
@@ -10,6 +10,8 @@ export interface ImageMagickDiscoveryContext {
|
|
|
10
10
|
/** Native IsPathDirectory/stat classification at filename expansion sites.
|
|
11
11
|
* Unknown results remain advisory; existence/accessibility cannot infer this. */
|
|
12
12
|
isDirectory?(path: Uint8Array): Promise<boolean | undefined>;
|
|
13
|
+
/** Streaming advisory read. Chunks may be borrowed until the next pull. */
|
|
14
|
+
readStream?(path: Uint8Array): AsyncIterable<Uint8Array>;
|
|
13
15
|
/** Optional advisory content read. Native must read again at execution time. */
|
|
14
16
|
read?(path: Uint8Array): Promise<Uint8Array | undefined>;
|
|
15
17
|
}
|
|
@@ -7440,6 +7440,144 @@ function createFFmpegShims(binding) {
|
|
|
7440
7440
|
]));
|
|
7441
7441
|
}
|
|
7442
7442
|
|
|
7443
|
+
// packages/safe-bash-media-engine/src/imagemagick-lex.ts
|
|
7444
|
+
var ImageMagickLexer = class {
|
|
7445
|
+
constructor(kind, bounded = false) {
|
|
7446
|
+
this.kind = kind;
|
|
7447
|
+
this.bounded = bounded;
|
|
7448
|
+
}
|
|
7449
|
+
kind;
|
|
7450
|
+
bounded;
|
|
7451
|
+
tokens = [];
|
|
7452
|
+
incomplete = false;
|
|
7453
|
+
limited = false;
|
|
7454
|
+
tokenBytes = 0;
|
|
7455
|
+
done = false;
|
|
7456
|
+
word = "";
|
|
7457
|
+
quote = "";
|
|
7458
|
+
active = false;
|
|
7459
|
+
column = 0;
|
|
7460
|
+
comment = false;
|
|
7461
|
+
escape = false;
|
|
7462
|
+
cr = false;
|
|
7463
|
+
suffix = false;
|
|
7464
|
+
push(bytes) {
|
|
7465
|
+
for (let index = 0; index < bytes.length && !this.done; index++) {
|
|
7466
|
+
const c = String.fromCharCode(bytes[index]);
|
|
7467
|
+
if (this.kind === "list") {
|
|
7468
|
+
this.list(c);
|
|
7469
|
+
continue;
|
|
7470
|
+
}
|
|
7471
|
+
if (this.cr) {
|
|
7472
|
+
this.cr = false;
|
|
7473
|
+
this.script(c === "\n" ? "\r" : "\n");
|
|
7474
|
+
}
|
|
7475
|
+
if (this.done) break;
|
|
7476
|
+
if (c === "\r") this.cr = true;
|
|
7477
|
+
else this.script(c);
|
|
7478
|
+
}
|
|
7479
|
+
}
|
|
7480
|
+
finish() {
|
|
7481
|
+
if (this.cr && !this.done) this.script("\n");
|
|
7482
|
+
if (!this.done) {
|
|
7483
|
+
if (this.kind === "script" && this.quote) this.incomplete = true;
|
|
7484
|
+
else if (this.active) this.emit();
|
|
7485
|
+
}
|
|
7486
|
+
return { tokens: this.tokens, incomplete: this.incomplete, limited: this.limited };
|
|
7487
|
+
}
|
|
7488
|
+
emit() {
|
|
7489
|
+
this.tokens.push(textBytes(this.word));
|
|
7490
|
+
this.word = "";
|
|
7491
|
+
this.active = false;
|
|
7492
|
+
if (this.bounded && this.tokens.length >= 4096) this.done = this.limited = true;
|
|
7493
|
+
}
|
|
7494
|
+
append(c) {
|
|
7495
|
+
if (this.bounded && this.tokenBytes >= 65536) {
|
|
7496
|
+
this.done = this.limited = true;
|
|
7497
|
+
this.word = "";
|
|
7498
|
+
return;
|
|
7499
|
+
}
|
|
7500
|
+
this.tokenBytes++;
|
|
7501
|
+
this.word += c;
|
|
7502
|
+
}
|
|
7503
|
+
list(c) {
|
|
7504
|
+
if (c === "\0") {
|
|
7505
|
+
if (this.active) this.emit();
|
|
7506
|
+
this.done = true;
|
|
7507
|
+
return;
|
|
7508
|
+
}
|
|
7509
|
+
const whitespace = " \r\n\f\v".includes(c);
|
|
7510
|
+
if (this.suffix) {
|
|
7511
|
+
if (whitespace) this.suffix = false;
|
|
7512
|
+
return;
|
|
7513
|
+
}
|
|
7514
|
+
if (!this.active) {
|
|
7515
|
+
if (whitespace) return;
|
|
7516
|
+
this.active = true;
|
|
7517
|
+
if (c === '"' || c === "'") {
|
|
7518
|
+
this.quote = c;
|
|
7519
|
+
return;
|
|
7520
|
+
}
|
|
7521
|
+
} else if (this.quote ? c === this.quote : whitespace) {
|
|
7522
|
+
this.emit();
|
|
7523
|
+
this.suffix = Boolean(this.quote);
|
|
7524
|
+
this.quote = "";
|
|
7525
|
+
return;
|
|
7526
|
+
}
|
|
7527
|
+
this.append(c);
|
|
7528
|
+
}
|
|
7529
|
+
script(c) {
|
|
7530
|
+
const code = c.charCodeAt(0);
|
|
7531
|
+
if (code < 7 || code > 13 && code < 32 && code !== 27) {
|
|
7532
|
+
this.incomplete = true;
|
|
7533
|
+
this.done = true;
|
|
7534
|
+
return;
|
|
7535
|
+
}
|
|
7536
|
+
if (this.comment) {
|
|
7537
|
+
if (c === "\n") {
|
|
7538
|
+
this.comment = false;
|
|
7539
|
+
this.column = 0;
|
|
7540
|
+
}
|
|
7541
|
+
return;
|
|
7542
|
+
}
|
|
7543
|
+
if (this.escape) {
|
|
7544
|
+
this.escape = false;
|
|
7545
|
+
if (c === "\n") {
|
|
7546
|
+
this.column = 0;
|
|
7547
|
+
return;
|
|
7548
|
+
}
|
|
7549
|
+
if (!this.quote || c === '"' || c === "\\") {
|
|
7550
|
+
this.column++;
|
|
7551
|
+
this.append(c);
|
|
7552
|
+
this.active = true;
|
|
7553
|
+
return;
|
|
7554
|
+
}
|
|
7555
|
+
this.append("\\");
|
|
7556
|
+
}
|
|
7557
|
+
if (!this.quote && !this.active && (c === "#" || this.column === 0 && (c === ":" || c === "@"))) {
|
|
7558
|
+
this.comment = true;
|
|
7559
|
+
return;
|
|
7560
|
+
}
|
|
7561
|
+
this.column = c === "\n" ? 0 : this.column + 1;
|
|
7562
|
+
if (c === "\\" && this.quote !== "'") {
|
|
7563
|
+
this.escape = true;
|
|
7564
|
+
return;
|
|
7565
|
+
}
|
|
7566
|
+
if (this.quote) {
|
|
7567
|
+
if (c === this.quote) this.quote = "";
|
|
7568
|
+
else this.append(c);
|
|
7569
|
+
} else if (c === '"' || c === "'") {
|
|
7570
|
+
this.quote = c;
|
|
7571
|
+
this.active = true;
|
|
7572
|
+
} else if (" \r\n".includes(c)) {
|
|
7573
|
+
if (this.active) this.emit();
|
|
7574
|
+
} else {
|
|
7575
|
+
this.append(c);
|
|
7576
|
+
this.active = true;
|
|
7577
|
+
}
|
|
7578
|
+
}
|
|
7579
|
+
};
|
|
7580
|
+
|
|
7443
7581
|
// packages/safe-bash-media-engine/src/filename-expression.ts
|
|
7444
7582
|
function parseFilenameExpression(value, dialect, multipleCounters = true) {
|
|
7445
7583
|
const input = byteText(value), tokens = [];
|
|
@@ -7723,59 +7861,10 @@ function imageMagickPropertyReference(value, cwd) {
|
|
|
7723
7861
|
|
|
7724
7862
|
// packages/safe-bash-media-engine/src/imagemagick.ts
|
|
7725
7863
|
function imageMagickScriptTokens(bytes) {
|
|
7726
|
-
const
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
const c = input[i] === "\r" && input[i + 1] !== "\n" ? "\n" : input[i];
|
|
7731
|
-
const code = c.charCodeAt(0);
|
|
7732
|
-
if (code < 7 || code > 13 && code < 32 && code !== 27) return { tokens, incomplete: true };
|
|
7733
|
-
if (!quote && !active && (c === "#" || column === 0 && (c === ":" || c === "@"))) {
|
|
7734
|
-
while (i < input.length && input[i] !== "\n" && !(input[i] === "\r" && input[i + 1] !== "\n")) {
|
|
7735
|
-
const code2 = input.charCodeAt(i);
|
|
7736
|
-
if (code2 < 7 || code2 > 13 && code2 < 32 && code2 !== 27) return { tokens, incomplete: true };
|
|
7737
|
-
i++;
|
|
7738
|
-
}
|
|
7739
|
-
column = 0;
|
|
7740
|
-
continue;
|
|
7741
|
-
}
|
|
7742
|
-
column = c === "\n" ? 0 : column + 1;
|
|
7743
|
-
if (c === "\\" && quote !== "'") {
|
|
7744
|
-
const next = input[i + 1] === "\r" && input[i + 2] !== "\n" ? "\n" : input[i + 1];
|
|
7745
|
-
if (next === void 0) break;
|
|
7746
|
-
const code2 = next.charCodeAt(0);
|
|
7747
|
-
if (code2 < 7 || code2 > 13 && code2 < 32 && code2 !== 27) return { tokens, incomplete: true };
|
|
7748
|
-
if (next === "\n") {
|
|
7749
|
-
i++;
|
|
7750
|
-
column = 0;
|
|
7751
|
-
continue;
|
|
7752
|
-
}
|
|
7753
|
-
if (!quote || next === '"' || next === "\\") {
|
|
7754
|
-
i++;
|
|
7755
|
-
column++;
|
|
7756
|
-
word += next;
|
|
7757
|
-
active = true;
|
|
7758
|
-
continue;
|
|
7759
|
-
}
|
|
7760
|
-
}
|
|
7761
|
-
if (quote) {
|
|
7762
|
-
if (c === quote) quote = "";
|
|
7763
|
-
else word += c;
|
|
7764
|
-
} else if (c === "'" || c === '"') {
|
|
7765
|
-
quote = c;
|
|
7766
|
-
active = true;
|
|
7767
|
-
} else if (" \r\n".includes(c)) {
|
|
7768
|
-
if (active) tokens.push(textBytes(word));
|
|
7769
|
-
word = "";
|
|
7770
|
-
active = false;
|
|
7771
|
-
} else {
|
|
7772
|
-
word += c;
|
|
7773
|
-
active = true;
|
|
7774
|
-
}
|
|
7775
|
-
}
|
|
7776
|
-
if (quote) return { tokens, incomplete: true };
|
|
7777
|
-
if (active) tokens.push(textBytes(word));
|
|
7778
|
-
return { tokens, incomplete: false };
|
|
7864
|
+
const lexer = new ImageMagickLexer("script");
|
|
7865
|
+
lexer.push(bytes);
|
|
7866
|
+
const { tokens, incomplete } = lexer.finish();
|
|
7867
|
+
return { tokens, incomplete };
|
|
7779
7868
|
}
|
|
7780
7869
|
var noFinalOutput = /* @__PURE__ */ new Set(["identify", "mogrify", "conjure", "animate", "display"]);
|
|
7781
7870
|
var imageOperands = /* @__PURE__ */ new Set(["-read", "--", "-mask", "-read-mask", "-write-mask", "-clip-mask", "-texture", "-tile", "-affinity", "-remap", "-map"]);
|
|
@@ -7813,9 +7902,20 @@ async function discoverImageMagick(tool, args, context = {}) {
|
|
|
7813
7902
|
let literalFilenames = false;
|
|
7814
7903
|
let pedantic = false;
|
|
7815
7904
|
const visited = /* @__PURE__ */ new Set();
|
|
7816
|
-
const read = async (name) => {
|
|
7905
|
+
const read = async (name, kind) => {
|
|
7906
|
+
const lexer = new ImageMagickLexer(kind, Boolean(context.readStream));
|
|
7817
7907
|
try {
|
|
7818
|
-
|
|
7908
|
+
if (context.readStream) {
|
|
7909
|
+
for await (const chunk of context.readStream(textBytes(name))) {
|
|
7910
|
+
lexer.push(chunk);
|
|
7911
|
+
if (lexer.done) break;
|
|
7912
|
+
}
|
|
7913
|
+
} else {
|
|
7914
|
+
const bytes = await context.read?.(textBytes(name));
|
|
7915
|
+
if (!bytes) return void 0;
|
|
7916
|
+
lexer.push(bytes);
|
|
7917
|
+
}
|
|
7918
|
+
return lexer.finish();
|
|
7819
7919
|
} catch {
|
|
7820
7920
|
return void 0;
|
|
7821
7921
|
}
|
|
@@ -7865,20 +7965,10 @@ async function discoverImageMagick(tool, args, context = {}) {
|
|
|
7865
7965
|
const membersStart = resources.length;
|
|
7866
7966
|
if (visited.has("list:" + list) || visited.size < 32) {
|
|
7867
7967
|
visited.add("list:" + list);
|
|
7868
|
-
const
|
|
7869
|
-
if (
|
|
7870
|
-
|
|
7871
|
-
const members =
|
|
7872
|
-
let offset = 0;
|
|
7873
|
-
while (offset < contents.length) {
|
|
7874
|
-
while (" \r\n\f\v".includes(contents[offset] ?? "\0")) offset++;
|
|
7875
|
-
if (offset >= contents.length) break;
|
|
7876
|
-
const quote = ['"', "'"].includes(contents[offset]) ? contents[offset++] : void 0;
|
|
7877
|
-
const start2 = offset;
|
|
7878
|
-
while (offset < contents.length && (quote ? contents[offset] !== quote : !" \r\n\f\v".includes(contents[offset]))) offset++;
|
|
7879
|
-
members.push(textBytes(contents.slice(start2, offset)));
|
|
7880
|
-
while (offset < contents.length && !" \r\n\f\v".includes(contents[offset])) offset++;
|
|
7881
|
-
}
|
|
7968
|
+
const lexed = await read(list, "list");
|
|
7969
|
+
if (lexed) {
|
|
7970
|
+
if (lexed.limited) defer(index, list, "advisory prediction budget; native expands complete input");
|
|
7971
|
+
const members = lexed.tokens;
|
|
7882
7972
|
const directories = [];
|
|
7883
7973
|
for (const member of members) {
|
|
7884
7974
|
let directory;
|
|
@@ -7914,9 +8004,9 @@ async function discoverImageMagick(tool, args, context = {}) {
|
|
|
7914
8004
|
if (path === "-" || path.toLowerCase().startsWith("fd:")) return;
|
|
7915
8005
|
if (visited.has("script:" + path) || visited.size >= 32) return;
|
|
7916
8006
|
visited.add("script:" + path);
|
|
7917
|
-
const
|
|
7918
|
-
if (!
|
|
7919
|
-
|
|
8007
|
+
const lexed = await read(path, "script");
|
|
8008
|
+
if (!lexed) return;
|
|
8009
|
+
if (lexed.limited) defer(index, path, "advisory prediction budget; native executes complete script");
|
|
7920
8010
|
if (lexed.incomplete) defer(index, path, "incomplete script token");
|
|
7921
8011
|
await scan(lexed.tokens, 0, path, true);
|
|
7922
8012
|
}
|
|
@@ -4,6 +4,7 @@ import { type NetworkLimits } from "./types.js";
|
|
|
4
4
|
export interface RequestBody {
|
|
5
5
|
readonly contentType?: string;
|
|
6
6
|
open(signal: AbortSignal): ByteSource;
|
|
7
|
+
close(): Promise<void>;
|
|
7
8
|
}
|
|
8
9
|
export declare function createBody(context: CommandContext, args: CurlArguments, limits: NetworkLimits): RequestBody | undefined;
|
|
9
10
|
export declare function queryData(body: RequestBody, signal: AbortSignal, limits: NetworkLimits): Promise<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createBody,
|
|
3
3
|
queryData
|
|
4
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
+
} from "../safe-bash/command-chunks/chunk-PMWW7KSB.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-CYIHFBEH.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-ZGXSETAX.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-YBRXG5S6.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
createBody,
|
|
20
20
|
queryData
|
|
21
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
21
|
+
} from "../safe-bash/command-chunks/chunk-PMWW7KSB.js";
|
|
22
22
|
import "../safe-bash/command-chunks/chunk-CYIHFBEH.js";
|
|
23
23
|
import "../safe-bash/command-chunks/chunk-ZGXSETAX.js";
|
|
24
24
|
import {
|
|
@@ -293,6 +293,7 @@ function createTransferCommand(options, profile) {
|
|
|
293
293
|
return def;
|
|
294
294
|
}
|
|
295
295
|
async function transfer(context, args, input, limits, transport, authorize, started, status, headerState) {
|
|
296
|
+
let retainedBody;
|
|
296
297
|
const start = performance.now();
|
|
297
298
|
const remaining = () => Math.min(args.maxTimeMs - (performance.now() - start), limits.maxTotalTimeMs - (performance.now() - started));
|
|
298
299
|
const hasFileOutput = args.etagSave !== void 0 && args.etagSave !== "-" || args.remoteName || args.output !== void 0 && args.output !== "-" || args.dumpHeader !== void 0 && args.dumpHeader !== "-";
|
|
@@ -304,6 +305,13 @@ async function transfer(context, args, input, limits, transport, authorize, star
|
|
|
304
305
|
} } : context.stdin;
|
|
305
306
|
let response;
|
|
306
307
|
let failure;
|
|
308
|
+
operation.registerCleanup(async () => {
|
|
309
|
+
try {
|
|
310
|
+
await retainedBody?.close();
|
|
311
|
+
} catch {
|
|
312
|
+
failure ??= new CurlError(65, "Failed cleaning upload replay storage");
|
|
313
|
+
}
|
|
314
|
+
});
|
|
307
315
|
const values = { ...writeOutDefaults };
|
|
308
316
|
let format = args.writeOut;
|
|
309
317
|
let formatReady = false;
|
|
@@ -373,7 +381,7 @@ async function transfer(context, args, input, limits, transport, authorize, star
|
|
|
373
381
|
if (args.query?.length) {
|
|
374
382
|
const queryArgs = { ...args, data: args.query };
|
|
375
383
|
delete queryArgs.upload;
|
|
376
|
-
const queryBody = createBody({ ...context, stdin: borrowed }, queryArgs, limits);
|
|
384
|
+
const queryBody = retainedBody = createBody({ ...context, stdin: borrowed }, queryArgs, limits);
|
|
377
385
|
const encoded = await queryData(queryBody, signal, limits);
|
|
378
386
|
let query = "";
|
|
379
387
|
for (let index = 0; index < encoded.length; index++) {
|
|
@@ -386,7 +394,7 @@ async function transfer(context, args, input, limits, transport, authorize, star
|
|
|
386
394
|
}
|
|
387
395
|
initial.search += `${initial.search ? "&" : "?"}${query}`;
|
|
388
396
|
}
|
|
389
|
-
let body = createBody({ ...context, stdin: borrowed }, args, limits);
|
|
397
|
+
let body = retainedBody = createBody({ ...context, stdin: borrowed }, args, limits);
|
|
390
398
|
if (args.get && body) {
|
|
391
399
|
const query = await queryData(body, signal, limits);
|
|
392
400
|
if (/[^\x21-\x7e]/.test(query)) throw new CurlError(3, "GET data must be URL encoded");
|
|
@@ -2,38 +2,38 @@ import {
|
|
|
2
2
|
mutateAccessibility,
|
|
3
3
|
readAccessibility,
|
|
4
4
|
validateAccessibilityUpdate
|
|
5
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
6
|
-
import "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
10
|
-
import "../safe-bash/command-chunks/chunk-
|
|
11
|
-
import "../safe-bash/command-chunks/chunk-
|
|
12
|
-
import "../safe-bash/command-chunks/chunk-
|
|
13
|
-
import "../safe-bash/command-chunks/chunk-
|
|
14
|
-
import "../safe-bash/command-chunks/chunk-
|
|
15
|
-
import "../safe-bash/command-chunks/chunk-
|
|
16
|
-
import "../safe-bash/command-chunks/chunk-
|
|
17
|
-
import "../safe-bash/command-chunks/chunk-
|
|
18
|
-
import "../safe-bash/command-chunks/chunk-
|
|
19
|
-
import "../safe-bash/command-chunks/chunk-
|
|
20
|
-
import "../safe-bash/command-chunks/chunk-
|
|
5
|
+
} from "../safe-bash/command-chunks/chunk-KB7DUBVL.js";
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-TW73OXPR.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-IT7TAC3F.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-JOCFI7TG.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-4CKFNXRN.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-COKYZUBW.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-A2CLZMQZ.js";
|
|
12
|
+
import "../safe-bash/command-chunks/chunk-XZ2FWFNV.js";
|
|
13
|
+
import "../safe-bash/command-chunks/chunk-33YCKZZX.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-WXRYDALR.js";
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-QYMEASQ6.js";
|
|
16
|
+
import "../safe-bash/command-chunks/chunk-5HPU7D36.js";
|
|
17
|
+
import "../safe-bash/command-chunks/chunk-RHYJVTJO.js";
|
|
18
|
+
import "../safe-bash/command-chunks/chunk-YSMNXMAO.js";
|
|
19
|
+
import "../safe-bash/command-chunks/chunk-CRV2Q3PB.js";
|
|
20
|
+
import "../safe-bash/command-chunks/chunk-6QBMND4A.js";
|
|
21
21
|
import "../safe-bash/command-chunks/chunk-HR2Y6YEP.js";
|
|
22
|
-
import "../safe-bash/command-chunks/chunk-
|
|
23
|
-
import "../safe-bash/command-chunks/chunk-
|
|
24
|
-
import "../safe-bash/command-chunks/chunk-
|
|
25
|
-
import "../safe-bash/command-chunks/chunk-
|
|
26
|
-
import "../safe-bash/command-chunks/chunk-
|
|
27
|
-
import "../safe-bash/command-chunks/chunk-
|
|
28
|
-
import "../safe-bash/command-chunks/chunk-
|
|
29
|
-
import "../safe-bash/command-chunks/chunk-
|
|
30
|
-
import "../safe-bash/command-chunks/chunk-
|
|
31
|
-
import "../safe-bash/command-chunks/chunk-
|
|
32
|
-
import "../safe-bash/command-chunks/chunk-
|
|
33
|
-
import "../safe-bash/command-chunks/chunk-
|
|
22
|
+
import "../safe-bash/command-chunks/chunk-56NYSX65.js";
|
|
23
|
+
import "../safe-bash/command-chunks/chunk-DM2CPMB4.js";
|
|
24
|
+
import "../safe-bash/command-chunks/chunk-X7FA7ZD5.js";
|
|
25
|
+
import "../safe-bash/command-chunks/chunk-XPD636C4.js";
|
|
26
|
+
import "../safe-bash/command-chunks/chunk-PNGDJA6M.js";
|
|
27
|
+
import "../safe-bash/command-chunks/chunk-RNSKXOG3.js";
|
|
28
|
+
import "../safe-bash/command-chunks/chunk-QC5RMGSA.js";
|
|
29
|
+
import "../safe-bash/command-chunks/chunk-2ZFLMWOX.js";
|
|
30
|
+
import "../safe-bash/command-chunks/chunk-554Z6IKP.js";
|
|
31
|
+
import "../safe-bash/command-chunks/chunk-WJCN2IXI.js";
|
|
32
|
+
import "../safe-bash/command-chunks/chunk-ZMHEGDU2.js";
|
|
33
|
+
import "../safe-bash/command-chunks/chunk-36XGIPOG.js";
|
|
34
34
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
35
|
-
import "../safe-bash/command-chunks/chunk-
|
|
36
|
-
import "../safe-bash/command-chunks/chunk-
|
|
35
|
+
import "../safe-bash/command-chunks/chunk-S6R3IB36.js";
|
|
36
|
+
import "../safe-bash/command-chunks/chunk-Q73EMLLZ.js";
|
|
37
37
|
import "../safe-bash/command-chunks/chunk-37XCUS43.js";
|
|
38
38
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
39
39
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
mutateAnimations,
|
|
4
4
|
mutateAnimationsBatch,
|
|
5
5
|
validateAnimationOptions
|
|
6
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
10
|
-
import "../safe-bash/command-chunks/chunk-
|
|
11
|
-
import "../safe-bash/command-chunks/chunk-
|
|
12
|
-
import "../safe-bash/command-chunks/chunk-
|
|
13
|
-
import "../safe-bash/command-chunks/chunk-
|
|
14
|
-
import "../safe-bash/command-chunks/chunk-
|
|
15
|
-
import "../safe-bash/command-chunks/chunk-
|
|
16
|
-
import "../safe-bash/command-chunks/chunk-
|
|
17
|
-
import "../safe-bash/command-chunks/chunk-
|
|
18
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
+
} from "../safe-bash/command-chunks/chunk-NQDIT667.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-56NYSX65.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-DM2CPMB4.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-X7FA7ZD5.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-XPD636C4.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-PNGDJA6M.js";
|
|
12
|
+
import "../safe-bash/command-chunks/chunk-RNSKXOG3.js";
|
|
13
|
+
import "../safe-bash/command-chunks/chunk-QC5RMGSA.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-2ZFLMWOX.js";
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-554Z6IKP.js";
|
|
16
|
+
import "../safe-bash/command-chunks/chunk-WJCN2IXI.js";
|
|
17
|
+
import "../safe-bash/command-chunks/chunk-ZMHEGDU2.js";
|
|
18
|
+
import "../safe-bash/command-chunks/chunk-36XGIPOG.js";
|
|
19
19
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
20
|
-
import "../safe-bash/command-chunks/chunk-
|
|
21
|
-
import "../safe-bash/command-chunks/chunk-
|
|
20
|
+
import "../safe-bash/command-chunks/chunk-S6R3IB36.js";
|
|
21
|
+
import "../safe-bash/command-chunks/chunk-Q73EMLLZ.js";
|
|
22
22
|
import "../safe-bash/command-chunks/chunk-37XCUS43.js";
|
|
23
23
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
24
24
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readAnimations
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
-
import "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
10
|
-
import "../safe-bash/command-chunks/chunk-
|
|
11
|
-
import "../safe-bash/command-chunks/chunk-
|
|
12
|
-
import "../safe-bash/command-chunks/chunk-
|
|
13
|
-
import "../safe-bash/command-chunks/chunk-
|
|
14
|
-
import "../safe-bash/command-chunks/chunk-
|
|
15
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-7PVHO47B.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-56NYSX65.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-DM2CPMB4.js";
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-X7FA7ZD5.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-XPD636C4.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-PNGDJA6M.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-RNSKXOG3.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-QC5RMGSA.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-2ZFLMWOX.js";
|
|
12
|
+
import "../safe-bash/command-chunks/chunk-554Z6IKP.js";
|
|
13
|
+
import "../safe-bash/command-chunks/chunk-WJCN2IXI.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-ZMHEGDU2.js";
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-36XGIPOG.js";
|
|
16
16
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
17
|
-
import "../safe-bash/command-chunks/chunk-
|
|
18
|
-
import "../safe-bash/command-chunks/chunk-
|
|
17
|
+
import "../safe-bash/command-chunks/chunk-S6R3IB36.js";
|
|
18
|
+
import "../safe-bash/command-chunks/chunk-Q73EMLLZ.js";
|
|
19
19
|
import "../safe-bash/command-chunks/chunk-37XCUS43.js";
|
|
20
20
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
21
21
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mutateBackground,
|
|
3
3
|
readBackgrounds
|
|
4
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
-
import "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
10
|
-
import "../safe-bash/command-chunks/chunk-
|
|
11
|
-
import "../safe-bash/command-chunks/chunk-
|
|
12
|
-
import "../safe-bash/command-chunks/chunk-
|
|
13
|
-
import "../safe-bash/command-chunks/chunk-
|
|
14
|
-
import "../safe-bash/command-chunks/chunk-
|
|
15
|
-
import "../safe-bash/command-chunks/chunk-
|
|
16
|
-
import "../safe-bash/command-chunks/chunk-
|
|
17
|
-
import "../safe-bash/command-chunks/chunk-
|
|
4
|
+
} from "../safe-bash/command-chunks/chunk-APEWTWCC.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-RHYJVTJO.js";
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-56NYSX65.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-DM2CPMB4.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-X7FA7ZD5.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-XPD636C4.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-PNGDJA6M.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-RNSKXOG3.js";
|
|
12
|
+
import "../safe-bash/command-chunks/chunk-QC5RMGSA.js";
|
|
13
|
+
import "../safe-bash/command-chunks/chunk-2ZFLMWOX.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-554Z6IKP.js";
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-WJCN2IXI.js";
|
|
16
|
+
import "../safe-bash/command-chunks/chunk-ZMHEGDU2.js";
|
|
17
|
+
import "../safe-bash/command-chunks/chunk-36XGIPOG.js";
|
|
18
18
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
19
|
-
import "../safe-bash/command-chunks/chunk-
|
|
20
|
-
import "../safe-bash/command-chunks/chunk-
|
|
19
|
+
import "../safe-bash/command-chunks/chunk-S6R3IB36.js";
|
|
20
|
+
import "../safe-bash/command-chunks/chunk-Q73EMLLZ.js";
|
|
21
21
|
import "../safe-bash/command-chunks/chunk-37XCUS43.js";
|
|
22
22
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
23
23
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
binarySource,
|
|
3
3
|
readBinary,
|
|
4
4
|
writeBinary
|
|
5
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
5
|
+
} from "../safe-bash/command-chunks/chunk-PNGDJA6M.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
-
import "../safe-bash/command-chunks/chunk-
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-S6R3IB36.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-Q73EMLLZ.js";
|
|
9
9
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
10
10
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|