@poe-platform/safe-bash 0.1.812 → 0.1.814
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/id3-source.d.ts +27 -0
- package/dist/audio-ast/index.d.ts +4 -0
- package/dist/audio-ast/index.js +996 -596
- package/dist/audio-ast/mp3-source.d.ts +18 -0
- package/dist/audio-ast/ogg-source.d.ts +25 -0
- package/dist/audio-ast/ogg-stream-source.d.ts +22 -0
- package/dist/image-ast/index.js +139 -9
- package/dist/mp4-ast/containers/adapters.d.ts +7 -0
- package/dist/mp4-ast/index.d.ts +2 -0
- package/dist/mp4-ast/mp4-sample-source.d.ts +52 -0
- package/dist/mp4-ast/mp4-source.d.ts +32 -0
- package/dist/office-xml/retained-xml-document.d.ts +14 -0
- package/dist/pdf-ast/ast.d.ts +2 -0
- package/dist/pdf-ast/content/dictionary-cursor.d.ts +15 -0
- package/dist/pdf-ast/content/evaluator.d.ts +4 -0
- package/dist/pdf-ast/content/range-operator-parser.d.ts +4 -0
- package/dist/pdf-ast/content/stored-dictionary.d.ts +10 -0
- package/dist/pdf-ast/cos/lexer.d.ts +8 -5
- package/dist/pdf-ast/cos/object-reader.d.ts +11 -3
- package/dist/pdf-ast/cos/range-parser.d.ts +4 -0
- package/dist/pdf-ast/cos/retained-objects.d.ts +1 -0
- package/dist/pdf-ast/cos/retained-writer.d.ts +1 -0
- package/dist/pdf-ast/cos/value-parser.d.ts +10 -0
- package/dist/pdf-ast/edit/retained-append-attachments.d.ts +13 -0
- package/dist/pdf-ast/edit/retained-bookmarks.d.ts +13 -0
- package/dist/pdf-ast/edit/retained-form-appearances.d.ts +10 -0
- package/dist/pdf-ast/edit/retained-graph.d.ts +12 -0
- package/dist/pdf-ast/edit/retained-info-updates.d.ts +33 -0
- package/dist/pdf-ast/edit/retained-save.d.ts +2 -0
- package/dist/pdf-ast/edit/retained-stamps.d.ts +9 -0
- package/dist/pdf-ast/fonts/resolve.d.ts +3 -1
- package/dist/pdf-ast/index.d.ts +3 -1
- package/dist/pdf-ast/index.js +1966 -844
- package/dist/pdf-ast/retained-document.d.ts +5 -0
- package/dist/safe-bash/audio-ast.browser.js +6 -1
- package/dist/safe-bash/chunks/{chunk-HHSOUC3Z.js → chunk-HPQE675Q.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-BUYRKFW2.js → chunk-I6ECNJMR.js} +1 -1
- package/dist/safe-bash/chunks/{pdftk-WRYEP3CA.js → pdftk-Y2TX74LY.js} +2 -1
- package/dist/safe-bash/command-chunks/biff-KRHJ63K3-VQPJCVIL.js +5309 -0
- package/dist/safe-bash/command-chunks/{chunk-34G2SQX2.js → chunk-2BLTUQNK.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-LLU2IQEJ.js → chunk-2BNGPR6Z.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-HWQ2UHMT.js → chunk-2ETEJOYX.js} +18 -18
- package/dist/safe-bash/command-chunks/{chunk-NQDIT667.js → chunk-2PKBXGXD.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-MMBZTYXO.js → chunk-2PQRZDNR.js} +221 -0
- package/dist/safe-bash/command-chunks/{chunk-6QBMND4A.js → chunk-2VVJRVYM.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-G5QVZQCO.js → chunk-3EASXF5D.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-U3SBHEKH.js → chunk-3EB2FSAN.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-VB2TUPO2.js → chunk-3EW7GYHM.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-RNSKXOG3.js → chunk-3GRMU7TM.js} +6 -6
- package/dist/safe-bash/command-chunks/chunk-3JM7E42I.js +197 -0
- package/dist/safe-bash/command-chunks/{chunk-6L4IYQAT.js → chunk-3MG5EAMX.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-RASQPOSV.js → chunk-3SPLP2DB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-K5COUQAQ.js → chunk-3VGQTLO6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-K7CV55K5.js → chunk-3YEQI5B7.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-ZXR6LXV5.js → chunk-3ZRCL756.js} +48 -4
- package/dist/safe-bash/command-chunks/{chunk-SOFM3GPG.js → chunk-42MEXZBJ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-GQ2ZSPZ3.js → chunk-46AMTJPE.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-MTWZEPAR.js → chunk-47IAU25U.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-6GI3NTCW.js → chunk-4B2ZUGLT.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-L5MCW6CM.js → chunk-4EHY6J2Z.js} +9 -155
- package/dist/safe-bash/command-chunks/{chunk-QQVACHZA.js → chunk-4EZJV4FZ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-SSKMPDN4.js → chunk-4GQKCUS5.js} +15 -15
- package/dist/safe-bash/command-chunks/{chunk-UOBW5K3M.js → chunk-4RRYWHED.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-PINR7QET.js → chunk-4UPKVQWH.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-M7QE2MN7.js → chunk-4YLACJHE.js} +6 -6
- package/dist/safe-bash/command-chunks/chunk-5BIQWWLB.js +175 -0
- package/dist/safe-bash/command-chunks/{chunk-P3WU3PSL.js → chunk-5L4YGRQU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-HKATEVAP.js → chunk-5LFGXN3D.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-SPLOIABU.js → chunk-5OM3UIK3.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-TVH4JORU.js → chunk-6LPSKLLD.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-CV7M2QJU.js → chunk-6QYSF7I2.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-XVP6V5K3.js → chunk-6VBDJC6V.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-6N5GHM72.js → chunk-6WNVGCXD.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-6CCQI6XZ.js → chunk-6XES7Z4G.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-AFROLW6S.js → chunk-6XGDWFNQ.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-WTE23QXN.js → chunk-6ZGCKUAM.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-6ZHQB453.js +35 -0
- package/dist/safe-bash/command-chunks/{chunk-RIV6XN7K.js → chunk-7DOLY7IV.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-QD7ZRDUN.js → chunk-7KZ5LWV2.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-NGR5KOPQ.js → chunk-A347DLRB.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-ZM2Y4Z3C.js → chunk-A45UG4KT.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-56NYSX65.js → chunk-ADHFF2IM.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-ATI464W3.js → chunk-AG2SNMP5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-FDCIPJBQ.js → chunk-AM5LANIE.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-3Q247UDJ.js → chunk-AVGXFWEB.js} +278 -135
- package/dist/safe-bash/command-chunks/{chunk-RBTC7OFT.js → chunk-AVOGFREX.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-QC5RMGSA.js → chunk-AWPI4DZR.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FYMNHG7R.js → chunk-AXXZNB7U.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-Q6S57NOQ.js → chunk-AY3KQ4EN.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-456PHA3L.js → chunk-BLGGAHQW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-CU4DLVME.js → chunk-BLIFGBIO.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-NARD63DY.js → chunk-BS3ZEQGT.js} +22 -66
- package/dist/safe-bash/command-chunks/{chunk-WFVSUXJL.js → chunk-BS5JEUEW.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-UYWSIIUX.js → chunk-BZMNC7Q5.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-RHYJVTJO.js → chunk-CCMAHM3I.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-N4R2SHSS.js → chunk-CCZZVCHX.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-WGG6G2KG.js → chunk-CIRDVCAZ.js} +7 -7
- package/dist/safe-bash/command-chunks/chunk-CK2WFJZN.js +178 -0
- package/dist/safe-bash/command-chunks/{chunk-UZL7G57V.js → chunk-CKEMZUE3.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-B5LDP7AA.js → chunk-CQBACD2V.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-JYUJAF4L.js → chunk-CSE4VQKG.js} +16 -1
- package/dist/safe-bash/command-chunks/{chunk-Q73EMLLZ.js → chunk-CXME4YHU.js} +107 -5
- package/dist/safe-bash/command-chunks/{chunk-FTLDRH47.js → chunk-CZ5K2YPU.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-554Z6IKP.js → chunk-DBLQUZGN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-6M6TM5Z5.js → chunk-DBNJEXHK.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-SPW4GW4Z.js → chunk-DFI7QF3M.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ZO5WBWLL.js → chunk-DN6MSXY7.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-GXLXWZWH.js → chunk-DZH54L3F.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-XRVKWGVQ.js → chunk-EBHOZIBS.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-3Y5EME26.js → chunk-ENEIE44W.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ATTWQVR2.js → chunk-EQWFKNHJ.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-YV72XQKL.js → chunk-ETXPMVR6.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-JFYWVQ4V.js → chunk-EV5G535P.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-PZMU3Z4L.js → chunk-EVYKV3QI.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-D6UMSC45.js → chunk-F4YFTO2K.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-MPUHH2KR.js → chunk-F762XDNG.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-D2ASPM7R.js → chunk-FF7UGJWS.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-OA75SGN2.js → chunk-FOONI6BD.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-DYLNU57U.js → chunk-FSVJ67G5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-CLKOGAR3.js → chunk-FSYMSWJU.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-22MOB45U.js → chunk-FUQMEUAT.js} +6 -6
- package/dist/safe-bash/command-chunks/chunk-FWKLBDMK.js +0 -0
- package/dist/safe-bash/command-chunks/{chunk-KXPCSVAT.js → chunk-FXCSPPYE.js} +20 -20
- package/dist/safe-bash/command-chunks/{chunk-XZ2FWFNV.js → chunk-FYYFV6PW.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-3OETVNJA.js → chunk-G2COZLXX.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-ZEX53S5I.js → chunk-G3TAX3CV.js} +7369 -7221
- package/dist/safe-bash/command-chunks/{chunk-LXLLA4PM.js → chunk-GCHB7VNX.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-4Y6O2K35.js → chunk-GLAF45M7.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-OEJM666F.js → chunk-GQGMQMIM.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-RRL3Y562.js → chunk-GXMPXMDP.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-GEM47B2P.js → chunk-GYM5ICK4.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-A5FZBR7X.js → chunk-H33D4R26.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-AGLK7OJR.js → chunk-HDSIIQBS.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3ZDANXIC.js → chunk-HELAVGZH.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-S4QH5BXZ.js → chunk-HGIMFVI2.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-35IPOBWL.js → chunk-HI6ZYH3W.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-KB7DUBVL.js → chunk-HK6MSB7Z.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-7ZE3VIAN.js → chunk-IB5QP4LF.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-UCR5YDV3.js → chunk-IBYMPAUW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LABOWPFB.js → chunk-IHXZMAMY.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-XPD636C4.js → chunk-IWHNRYER.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-PPO7YUZF.js → chunk-JGKSWDGP.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KCOJA7EM.js → chunk-JR3Q6QNL.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-S6R3IB36.js → chunk-JUHOL5KB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3O2YEI47.js → chunk-JVKE7YZN.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-6NATRKUJ.js → chunk-JW6WVNTM.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IK6K2HCG.js → chunk-JWORWL72.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-JOCFI7TG.js → chunk-K2WOMJOQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XVLWZTPY.js → chunk-K4XNUJVJ.js} +543 -144
- package/dist/safe-bash/command-chunks/{chunk-DM2CPMB4.js → chunk-KBAQHE5Y.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-KCLJGRU7.js +737 -0
- package/dist/safe-bash/command-chunks/{chunk-TUDFMNPP.js → chunk-KINIV2SV.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-43TRBJ2N.js → chunk-KPHLESD4.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-47NEG4UO.js → chunk-KRRG4MGH.js} +222 -46
- package/dist/safe-bash/command-chunks/{chunk-33YCKZZX.js → chunk-KSBNZTAZ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-4Y34ZG4T.js → chunk-KUOCGGEU.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-ML5R5JML.js → chunk-KY4LCHUF.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-2JSDKQ4J.js → chunk-LAPOMHGY.js} +251 -239
- package/dist/safe-bash/command-chunks/{chunk-ENT3IV2G.js → chunk-LDW3RF7Y.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-U27XPNLP.js → chunk-LEO4VRIN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-GZ3VIWNN.js → chunk-LKGTH2Q7.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-ZMHEGDU2.js → chunk-LNTEV56A.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-DVGXLBUW.js → chunk-LZ2JFMKT.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-6D2BMAF4.js → chunk-MEM2ZPMI.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-HTVIYLVB.js → chunk-MGMTRGKM.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-B3NLITWP.js → chunk-MKK6FM5H.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-Z2JW6M2D.js → chunk-MKOIPOXX.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-MLOYUXUV.js +244 -0
- package/dist/safe-bash/command-chunks/{chunk-CBNKHBLD.js → chunk-MNK3DDH6.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-JVGUVHWI.js → chunk-MPXMRTMY.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-TW73OXPR.js → chunk-MVLVIMJ6.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-TY4WDAHM.js → chunk-MYZ46FQL.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-TBAIMDGL.js → chunk-N4MUBJCT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-NPLVFAD6.js → chunk-N6G3345Q.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-ZIIO6GRY.js → chunk-NEMUPUUB.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-K5GB2YMN.js → chunk-NEVQWOU6.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-FIIAYCWS.js → chunk-NFGCBQN3.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-PNGDJA6M.js → chunk-NFII726L.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-JQPNA77Y.js → chunk-NHNZYWPW.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-NQINS4XY.js +156 -0
- package/dist/safe-bash/command-chunks/{chunk-APEWTWCC.js → chunk-NRFTYZ2R.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-THMZLJQD.js → chunk-NYFYTL5G.js} +18 -18
- package/dist/safe-bash/command-chunks/{chunk-SMSGLRIH.js → chunk-OTF2AJ5M.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-QZZ73J2O.js → chunk-OVQP6KH5.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-HDJVJTCK.js → chunk-P2LT6TGR.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-YS25EI54.js → chunk-PCCFLPUQ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-26VCZHLJ.js → chunk-PIOQBOEK.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-D2KZ66W4.js → chunk-PIVH35EQ.js} +190 -42
- package/dist/safe-bash/command-chunks/{chunk-QYMEASQ6.js → chunk-PLMF35XK.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-JQVHUSDD.js → chunk-PLR5IULU.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-2CORNDGF.js → chunk-PS5GDFIP.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-R6EGGK5M.js → chunk-Q5PWYPQV.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-COKYZUBW.js → chunk-Q7TVCBU2.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-EHTOHOTR.js → chunk-QB72X7FF.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-F3GP3EXE.js → chunk-RGDOYWOD.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-RQIQ75W5.js → chunk-RHDERFMR.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-3KMOXEGH.js → chunk-RHU44OMN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-7PVHO47B.js → chunk-RIVKF77R.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-UOR6PXZZ.js → chunk-ROL5AEX6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-AHA6IWAJ.js → chunk-RQYPFLZJ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-YSMNXMAO.js → chunk-RTNI47C5.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-W5LLKV5H.js → chunk-RV5AGXOV.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-PMAM4N33.js → chunk-RXQ2G2YK.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-EVU7FLDA.js → chunk-S2QNBAN6.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-YE6OAKK7.js → chunk-S43QRKDC.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-774GLJAO.js → chunk-S7HIOT7Z.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-SEPUP6TZ.js +63 -0
- package/dist/safe-bash/command-chunks/{chunk-JPMYPOYZ.js → chunk-SUTHGUD3.js} +28 -28
- package/dist/safe-bash/command-chunks/chunk-SW37YCBW.js +286 -0
- package/dist/safe-bash/command-chunks/{chunk-Y4EYCZFT.js → chunk-SWAKALDJ.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-QUM3SYAJ.js → chunk-SYSX46IV.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WGH3RLJY.js → chunk-T5S4SJGO.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-7JEIWA3A.js → chunk-TID5TSQW.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-CRV2Q3PB.js → chunk-TJLXSENN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IT7TAC3F.js → chunk-TKCUGMRZ.js} +24 -20
- package/dist/safe-bash/command-chunks/{chunk-7GKKMNL6.js → chunk-TXPDKEGY.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-A2CLZMQZ.js → chunk-UJERQEJB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-6VPQ3CDZ.js → chunk-USGZN2KE.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-LCZDBW55.js → chunk-UYGQEQIP.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-MPORWUTU.js → chunk-V5XC43BX.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-AIMSZBWP.js → chunk-V7E3PZOK.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-CNHRVUHA.js → chunk-VDTFVRYX.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KJ4XXZIL.js → chunk-VT2PHQ63.js} +582 -59
- package/dist/safe-bash/command-chunks/{chunk-MOZD7RUY.js → chunk-VT7UBPAE.js} +38 -15
- package/dist/safe-bash/command-chunks/{chunk-QDVI2YB6.js → chunk-VUWXLH3E.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-X7FA7ZD5.js → chunk-W3ZSWK76.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-JPA2PUYI.js → chunk-WBKB7HBZ.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-MIRL7HTF.js → chunk-WJ2ERUCQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-36XGIPOG.js → chunk-WTVJLHMG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-SLQWQKXP.js → chunk-WWHMI4S3.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-2UBZALAK.js → chunk-WYZG3DRR.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-YORJDX4V.js → chunk-WZRFS5OY.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-EHSM5ZQS.js → chunk-X6OHFKBL.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-S6ZTBXYO.js → chunk-XKAUKLF7.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-EUT24Y5Z.js → chunk-XM5QJCPD.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-WXRYDALR.js → chunk-XMTR7QGL.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-4CKFNXRN.js → chunk-XNGM3W5R.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-2ZFLMWOX.js → chunk-XTEIT5CI.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4DLIUTQV.js → chunk-XU6S3XUZ.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-CJQSAATC.js → chunk-XUJAQA3S.js} +30 -30
- package/dist/safe-bash/command-chunks/{chunk-W5YSINXC.js → chunk-Y42KSX63.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-UAXSE3XE.js → chunk-Y54L4P4J.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-6WQD7LRA.js → chunk-YAD7EV4N.js} +14 -14
- package/dist/safe-bash/command-chunks/{chunk-WVMHRNXZ.js → chunk-YRPXBGRX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-5HPU7D36.js → chunk-Z2WNYEPD.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-SDTPO2VV.js → chunk-Z7QOSXQC.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-WJCN2IXI.js → chunk-ZQM37BGE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-W3HV45CI.js → chunk-ZSQZHFWS.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-IDJQP3A6.js → chunk-ZTMZO4IT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-RID6VYS3.js → chunk-ZU2KJMXO.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-YXKNJ6EM.js → chunk-ZXELXF2H.js} +5 -5
- package/dist/safe-bash/command-chunks/{clipboard-BBDK33GP-VB22F7GI.js → clipboard-BBDK33GP-QZ4ERNQX.js} +2 -2
- package/dist/safe-bash/command-chunks/{command-engine-BCUQGJJ4.js → command-engine-7V6PZR7G.js} +1012 -678
- package/dist/safe-bash/command-chunks/{engine-LAUEWYSQ-DQCEI5HE.js → engine-UYJENSWK-VSCGKSQV.js} +1 -1
- package/dist/safe-bash/command-chunks/{gnumeric-UJPXWBVR-YPXTNEDZ.js → gnumeric-UJPXWBVR-7VOHQAPM.js} +2 -2
- package/dist/safe-bash/command-chunks/{model-store-E7BHBFJC.js → model-store-UB5DWMAP.js} +24 -24
- package/dist/safe-bash/command-chunks/paradox-4FCZE53D-LQPGVMEL.js +365 -0
- package/dist/safe-bash/commands/pandoc/index.browser.js +1 -1
- package/dist/safe-bash/full-core.browser.js +2 -2
- package/dist/safe-bash/plugins/index.browser.js +2 -2
- package/dist/safe-bash-command-awk/awk-runtime.js +3 -3
- package/dist/safe-bash-command-awk/awk.js +4 -4
- package/dist/safe-bash-command-awk/index.js +4 -4
- package/dist/safe-bash-command-diff/diff.js +2 -2
- package/dist/safe-bash-command-diff/index.js +3 -3
- package/dist/safe-bash-command-diff/sync.js +2 -2
- package/dist/safe-bash-command-du/du.js +2 -2
- package/dist/safe-bash-command-du/index.js +2 -2
- package/dist/safe-bash-command-ffmpeg/index.js +1 -1
- package/dist/safe-bash-command-ffprobe/index.js +2 -2
- package/dist/safe-bash-command-ffprobe/media.d.ts +3 -1
- package/dist/safe-bash-command-ffprobe/media.js +2 -2
- package/dist/safe-bash-command-html-to-markdown/budget.js +2 -1
- package/dist/safe-bash-command-html-to-markdown/entities.js +4 -3
- package/dist/safe-bash-command-html-to-markdown/index.js +533 -310
- package/dist/safe-bash-command-html-to-markdown/input.js +6 -5
- package/dist/safe-bash-command-html-to-markdown/options.js +2 -1
- package/dist/safe-bash-command-html-to-markdown/parser.js +5 -4
- package/dist/safe-bash-command-html-to-markdown/render.js +6 -5
- package/dist/safe-bash-command-html-to-markdown/stored-text.d.ts +50 -0
- package/dist/safe-bash-command-html-to-markdown/stored-text.js +12 -0
- package/dist/safe-bash-command-html-to-markdown/text.js +3 -2
- package/dist/safe-bash-command-htmlq/contracts.d.ts +5 -0
- package/dist/safe-bash-command-htmlq/index.js +2006 -259
- package/dist/safe-bash-command-htmlq/selectors.d.ts +38 -1
- package/dist/safe-bash-command-htmlq/serializer.d.ts +1 -0
- package/dist/safe-bash-command-htmlq/tree.d.ts +4 -2
- package/dist/safe-bash-command-iconv/command.js +2 -2
- package/dist/safe-bash-command-iconv/index.js +2 -2
- package/dist/safe-bash-command-llm/command.js +3 -3
- package/dist/safe-bash-command-llm/index.js +9 -9
- package/dist/safe-bash-command-llm/openai.js +2 -2
- package/dist/safe-bash-command-llm/providers/index.js +2 -2
- package/dist/safe-bash-command-llm/providers/openai.js +2 -2
- package/dist/safe-bash-command-node/commands/node/browser.js +2 -2
- package/dist/safe-bash-command-node/commands/node/default-runtime.js +2 -2
- package/dist/safe-bash-command-node/commands/node/safejs.js +2 -2
- package/dist/safe-bash-command-pandoc/command.js +7 -7
- package/dist/safe-bash-command-pandoc/index.js +46 -46
- package/dist/safe-bash-command-patch/index.js +6 -6
- package/dist/safe-bash-command-patch/patch-envelope.js +53 -3
- package/dist/safe-bash-command-patch/patch-formats.d.ts +7 -2
- package/dist/safe-bash-command-patch/patch-formats.js +6 -4
- package/dist/safe-bash-command-patch/patch-gnu-paths.d.ts +7 -7
- package/dist/safe-bash-command-patch/patch-gnu-reject.d.ts +3 -2
- package/dist/safe-bash-command-patch/patch-gnu-reject.js +4 -3
- package/dist/safe-bash-command-patch/patch-publication.js +2 -1
- package/dist/safe-bash-command-patch/patch.js +6 -6
- package/dist/safe-bash-command-patch/stored-patch.d.ts +26 -0
- package/dist/safe-bash-command-patch/stored-target.d.ts +40 -0
- package/dist/safe-bash-command-patch/unified.d.ts +23 -10
- package/dist/safe-bash-command-patch/unified.js +3 -1
- package/dist/safe-bash-command-pdftk/index.d.ts +6 -2
- package/dist/safe-bash-command-pdftk/index.js +1247 -373
- package/dist/safe-bash-command-playwright-cli/index.js +26 -26
- package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +10 -10
- package/dist/safe-bash-command-playwright-cli/playwright/controller.js +14 -14
- package/dist/safe-bash-command-playwright-cli/playwright/index.js +23 -23
- package/dist/safe-bash-command-playwright-cli/playwright/snapshot.js +2 -2
- package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +6 -6
- package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +4 -4
- package/dist/safe-bash-command-pptx/command-engine.d.ts +5 -1
- package/dist/safe-bash-command-pptx/engine.js +1 -1
- package/dist/safe-bash-command-pptx/index.d.ts +1 -1
- package/dist/safe-bash-command-pptx/index.js +172 -19
- package/dist/safe-bash-command-pptx/streaming-inputs.d.ts +7 -2
- package/dist/safe-bash-command-python/executor.js +5 -5
- package/dist/safe-bash-command-python/index.js +5 -5
- package/dist/safe-bash-command-python/jspi.js +2 -2
- package/dist/safe-bash-command-soffice/index.js +1 -1
- package/dist/safe-bash-command-sort/index.js +3 -3
- package/dist/safe-bash-command-ssconvert/index.js +2 -2
- package/dist/safe-bash-command-tar/create.js +2 -2
- package/dist/safe-bash-command-tar/extract.js +2 -2
- package/dist/safe-bash-command-tar/index.js +8 -8
- package/dist/safe-bash-command-tar/modes.js +4 -4
- package/dist/safe-bash-command-timeout/index.js +3 -3
- package/dist/safe-bash-command-tree/index.js +2 -2
- package/dist/safe-bash-command-tree/tree.js +2 -2
- package/dist/safe-bash-command-xmllint/index.js +22 -31
- package/dist/safe-bash-command-xz/index.js +5 -5
- package/dist/safe-bash-compression-engine/files.js +2 -2
- package/dist/safe-bash-compression-engine/operand.js +4 -4
- package/dist/safe-bash-contracts/diagnostics.js +3 -3
- package/dist/safe-bash-contracts/escaping.js +10 -10
- package/dist/safe-bash-contracts/filesystem-descriptor.js +1 -1
- package/dist/safe-bash-contracts/filesystem-output.js +6 -6
- package/dist/safe-bash-contracts/index.js +33 -33
- package/dist/safe-bash-contracts/io.js +2 -2
- package/dist/safe-bash-contracts/output.js +3 -3
- package/dist/safe-bash-docx-engine/ancillary-resources.js +5 -5
- package/dist/safe-bash-docx-engine/batch-operations.js +63 -63
- package/dist/safe-bash-docx-engine/batch-result-schema.js +74 -74
- package/dist/safe-bash-docx-engine/batch.js +74 -74
- package/dist/safe-bash-docx-engine/bookmarks.js +13 -13
- package/dist/safe-bash-docx-engine/charts.js +6 -6
- package/dist/safe-bash-docx-engine/command-option-rules.js +3 -3
- package/dist/safe-bash-docx-engine/comments.js +21 -21
- package/dist/safe-bash-docx-engine/control-bindings.js +16 -16
- package/dist/safe-bash-docx-engine/control-repeat.js +16 -16
- package/dist/safe-bash-docx-engine/controls.js +14 -14
- package/dist/safe-bash-docx-engine/create.js +8 -8
- package/dist/safe-bash-docx-engine/diagrams.js +6 -6
- package/dist/safe-bash-docx-engine/diff.js +8 -8
- package/dist/safe-bash-docx-engine/document-properties.js +12 -12
- package/dist/safe-bash-docx-engine/equations.js +12 -12
- package/dist/safe-bash-docx-engine/extract.js +9 -9
- package/dist/safe-bash-docx-engine/fields.js +18 -18
- package/dist/safe-bash-docx-engine/font-inventory.js +13 -13
- package/dist/safe-bash-docx-engine/font-resources.js +3 -3
- package/dist/safe-bash-docx-engine/image-batch-operations.js +11 -11
- package/dist/safe-bash-docx-engine/image-insertion.js +17 -17
- package/dist/safe-bash-docx-engine/image-layout.js +14 -14
- package/dist/safe-bash-docx-engine/image-replacement.js +19 -19
- package/dist/safe-bash-docx-engine/images.js +14 -14
- package/dist/safe-bash-docx-engine/index.js +102 -102
- package/dist/safe-bash-docx-engine/inspection.js +15 -15
- package/dist/safe-bash-docx-engine/invocation.js +4 -4
- package/dist/safe-bash-docx-engine/io.js +6 -6
- package/dist/safe-bash-docx-engine/links.js +17 -17
- package/dist/safe-bash-docx-engine/lists.js +16 -16
- package/dist/safe-bash-docx-engine/locations.js +10 -10
- package/dist/safe-bash-docx-engine/notes.js +18 -18
- package/dist/safe-bash-docx-engine/objects.js +14 -14
- package/dist/safe-bash-docx-engine/pack.js +9 -9
- package/dist/safe-bash-docx-engine/package-view-batch-operations.js +19 -19
- package/dist/safe-bash-docx-engine/pandoc-adapter.js +25 -25
- package/dist/safe-bash-docx-engine/paragraph-edit.js +21 -21
- package/dist/safe-bash-docx-engine/publication.js +6 -6
- package/dist/safe-bash-docx-engine/removal.js +16 -16
- package/dist/safe-bash-docx-engine/revision-decisions.js +16 -16
- package/dist/safe-bash-docx-engine/revision-edit.js +15 -15
- package/dist/safe-bash-docx-engine/revisions.js +12 -12
- package/dist/safe-bash-docx-engine/run-format.js +15 -15
- package/dist/safe-bash-docx-engine/sanitize.js +29 -29
- package/dist/safe-bash-docx-engine/sections.js +15 -15
- package/dist/safe-bash-docx-engine/settings.js +6 -6
- package/dist/safe-bash-docx-engine/shape-edit.js +16 -16
- package/dist/safe-bash-docx-engine/signatures.js +11 -11
- package/dist/safe-bash-docx-engine/stories.js +18 -18
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +34 -34
- package/dist/safe-bash-docx-engine/style-model-batch-operations.js +24 -24
- package/dist/safe-bash-docx-engine/style-model-result-schema.js +39 -39
- package/dist/safe-bash-docx-engine/styles.js +14 -14
- package/dist/safe-bash-docx-engine/table-edit.js +23 -23
- package/dist/safe-bash-docx-engine/table-read.js +11 -11
- package/dist/safe-bash-docx-engine/template.js +17 -17
- package/dist/safe-bash-docx-engine/text-replace.js +15 -15
- package/dist/safe-bash-docx-engine/text-resource-read.js +11 -11
- package/dist/safe-bash-docx-engine/text.js +11 -11
- package/dist/safe-bash-docx-engine/validation.js +4 -4
- package/dist/safe-bash-docx-engine/xml-parts.js +17 -17
- package/dist/safe-bash-io-engine/commands/text-programs/shared.js +4 -4
- package/dist/safe-bash-line-ending-engine/command.js +3 -3
- package/dist/safe-bash-line-ending-engine/convert.js +2 -2
- package/dist/safe-bash-line-ending-engine/index.js +6 -6
- package/dist/safe-bash-line-ending-engine/info.js +2 -2
- package/dist/safe-bash-markdown-engine/commonmark-blocks.js +4 -4
- package/dist/safe-bash-markdown-engine/commonmark-inlines.js +4 -4
- package/dist/safe-bash-markdown-engine/commonmark-syntax.js +2 -2
- package/dist/safe-bash-markdown-engine/gfm-syntax.js +3 -3
- package/dist/safe-bash-markdown-engine/index.js +5 -5
- package/dist/safe-bash-network-engine/transfer.js +3 -3
- package/dist/safe-bash-presentation-engine/accessibility.js +31 -30
- package/dist/safe-bash-presentation-engine/animation-editing.js +16 -15
- package/dist/safe-bash-presentation-engine/animations.js +16 -15
- package/dist/safe-bash-presentation-engine/backgrounds.js +17 -16
- package/dist/safe-bash-presentation-engine/bytes.js +3 -3
- package/dist/safe-bash-presentation-engine/chart-editing.js +34 -33
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +25 -24
- package/dist/safe-bash-presentation-engine/charts.js +31 -30
- package/dist/safe-bash-presentation-engine/command-placeholder.js +59 -56
- package/dist/safe-bash-presentation-engine/comments.js +17 -16
- package/dist/safe-bash-presentation-engine/connector-operations.js +32 -31
- package/dist/safe-bash-presentation-engine/connectors.js +29 -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 +32 -31
- package/dist/safe-bash-presentation-engine/drawing-enums.d.ts +10 -10
- package/dist/safe-bash-presentation-engine/drawing-format.js +20 -19
- package/dist/safe-bash-presentation-engine/drawing-operations.js +31 -30
- package/dist/safe-bash-presentation-engine/drawing-schema.js +21 -20
- package/dist/safe-bash-presentation-engine/equations.js +17 -16
- package/dist/safe-bash-presentation-engine/errors.js +2 -2
- package/dist/safe-bash-presentation-engine/fields.js +17 -16
- package/dist/safe-bash-presentation-engine/font-metrics.js +3 -3
- package/dist/safe-bash-presentation-engine/image-extraction.js +20 -19
- package/dist/safe-bash-presentation-engine/image-formatting.js +32 -31
- package/dist/safe-bash-presentation-engine/image-insertion.js +18 -17
- package/dist/safe-bash-presentation-engine/image-replacement.js +21 -20
- package/dist/safe-bash-presentation-engine/image-value.js +4 -4
- package/dist/safe-bash-presentation-engine/images.js +19 -18
- package/dist/safe-bash-presentation-engine/index.d.ts +5 -1
- package/dist/safe-bash-presentation-engine/index.js +121 -108
- package/dist/safe-bash-presentation-engine/layouts.js +16 -15
- package/dist/safe-bash-presentation-engine/length.js +3 -3
- package/dist/safe-bash-presentation-engine/links.js +16 -15
- package/dist/safe-bash-presentation-engine/masters.js +15 -14
- package/dist/safe-bash-presentation-engine/media-editing.js +24 -23
- package/dist/safe-bash-presentation-engine/media-extraction.js +17 -16
- package/dist/safe-bash-presentation-engine/media.js +16 -15
- package/dist/safe-bash-presentation-engine/memberships.js +15 -14
- package/dist/safe-bash-presentation-engine/notes.js +16 -15
- package/dist/safe-bash-presentation-engine/ole-enum.js +4 -4
- package/dist/safe-bash-presentation-engine/ole-insertion.js +20 -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.d.ts +3 -0
- package/dist/safe-bash-presentation-engine/package-tools.js +27 -17
- 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 +58 -55
- package/dist/safe-bash-presentation-engine/presentation-settings.js +14 -13
- package/dist/safe-bash-presentation-engine/properties.js +16 -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-archive-staging.d.ts +19 -0
- package/dist/safe-bash-presentation-engine/retained-extraction-output.d.ts +18 -0
- package/dist/safe-bash-presentation-engine/retained-frame-formatting.d.ts +14 -0
- package/dist/safe-bash-presentation-engine/retained-inspection.js +14 -12
- package/dist/safe-bash-presentation-engine/retained-package-extraction.d.ts +22 -0
- package/dist/safe-bash-presentation-engine/retained-package-packing.d.ts +19 -0
- package/dist/safe-bash-presentation-engine/retained-package.d.ts +2 -0
- package/dist/safe-bash-presentation-engine/retained-package.js +6 -4
- package/dist/safe-bash-presentation-engine/retained-text.d.ts +9 -2
- package/dist/safe-bash-presentation-engine/retained-text.js +131 -30
- package/dist/safe-bash-presentation-engine/retained-xml-document.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/retained-xml-parts.d.ts +5 -1
- package/dist/safe-bash-presentation-engine/retained-xml-publication.d.ts +18 -0
- package/dist/safe-bash-presentation-engine/retained-xml-replacement.d.ts +13 -0
- package/dist/safe-bash-presentation-engine/sanitize.js +17 -16
- package/dist/safe-bash-presentation-engine/selectors.js +10 -10
- package/dist/safe-bash-presentation-engine/shape-groups.js +31 -30
- package/dist/safe-bash-presentation-engine/shape-operations.js +30 -29
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +32 -31
- package/dist/safe-bash-presentation-engine/shape-paths.js +16 -15
- package/dist/safe-bash-presentation-engine/shape-presets.js +3 -3
- package/dist/safe-bash-presentation-engine/shape-selection.js +31 -30
- package/dist/safe-bash-presentation-engine/shape-transforms.js +18 -17
- package/dist/safe-bash-presentation-engine/shapes.d.ts +1 -1
- package/dist/safe-bash-presentation-engine/shapes.js +27 -26
- package/dist/safe-bash-presentation-engine/slide-copy.js +17 -16
- package/dist/safe-bash-presentation-engine/slide-import.js +18 -17
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +20 -19
- package/dist/safe-bash-presentation-engine/slide-model.js +43 -42
- package/dist/safe-bash-presentation-engine/slide-removal.js +18 -17
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +9 -9
- package/dist/safe-bash-presentation-engine/slides.js +19 -16
- package/dist/safe-bash-presentation-engine/table-operations.js +33 -32
- package/dist/safe-bash-presentation-engine/table-spans.js +32 -31
- package/dist/safe-bash-presentation-engine/tables.js +31 -30
- package/dist/safe-bash-presentation-engine/tags.js +16 -15
- package/dist/safe-bash-presentation-engine/template-bindings.js +33 -32
- package/dist/safe-bash-presentation-engine/template-repeat.js +40 -39
- package/dist/safe-bash-presentation-engine/text-fitting.js +27 -26
- package/dist/safe-bash-presentation-engine/text-frames.d.ts +13 -0
- package/dist/safe-bash-presentation-engine/text-frames.js +29 -26
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +27 -26
- package/dist/safe-bash-presentation-engine/text-reading.js +11 -11
- package/dist/safe-bash-presentation-engine/text-replacement.js +17 -16
- package/dist/safe-bash-presentation-engine/text-runs.js +20 -19
- package/dist/safe-bash-presentation-engine/themes.js +16 -15
- package/dist/safe-bash-presentation-engine/transitions.js +16 -15
- package/dist/safe-bash-presentation-engine/validation.js +10 -9
- package/dist/safe-bash-presentation-engine/xml-parts.d.ts +2 -0
- package/dist/safe-bash-presentation-engine/xml-parts.js +23 -15
- 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-query-engine/index.js +4 -4
- package/dist/safe-bash-query-engine/interpreter.js +2 -2
- package/dist/safe-bash-query-engine/query-core.js +4 -4
- package/dist/safe-bash-regex-engine/index.js +1 -1
- package/dist/safe-bash-regex-engine/python-glob.js +1 -1
- package/dist/safe-bash-regex-engine/text/regex.d.ts +19 -0
- package/dist/safe-bash-regex-engine/text/regex.js +1 -1
- package/dist/safe-bash-xml-engine/document.js +3 -3
- package/dist/safe-bash-xml-engine/evaluate.js +1 -1
- package/dist/safe-bash-xml-engine/index.d.ts +1 -0
- package/dist/safe-bash-xml-engine/index.js +9 -5
- package/dist/safe-bash-xml-engine/query.js +2 -2
- package/dist/safe-bash-xml-engine/recovery.d.ts +10 -0
- package/dist/safe-bash-xml-engine/stored-document.d.ts +3 -3
- package/dist/safe-bash-xml-engine/stored-document.js +1 -1
- package/dist/safe-bash-xml-engine/stored-evaluate.js +1 -1
- package/dist/safe-bash-zip-engine/zip/repair.js +3 -3
- package/dist/safe-bash-zip-engine/zip/volumes.js +3 -3
- package/dist/spreadsheet-engine/datasource.js +16 -2
- package/dist/spreadsheet-engine/formulas/diagnostics.d.ts +2 -1
- package/dist/spreadsheet-engine/formulas/diagnostics.js +2 -2
- package/dist/spreadsheet-engine/formulas/evaluator.d.ts +1 -1
- package/dist/spreadsheet-engine/formulas/evaluator.js +2 -1
- package/dist/spreadsheet-engine/formulas/functions/python-printf.js +56 -33
- package/dist/spreadsheet-format-xls/biff-encrypted-properties.d.ts +1 -1
- package/dist/spreadsheet-format-xls/biff-encrypted-properties.js +54 -24
- package/dist/spreadsheet-format-xls/biff-properties-merge.d.ts +6 -2
- package/dist/spreadsheet-format-xls/biff-properties-merge.js +413 -296
- package/dist/spreadsheet-format-xls/biff-properties-write.js +40 -23
- package/dist/spreadsheet-format-xls/biff-properties.js +95 -175
- package/dist/spreadsheet-format-xls/biff-property-dictionary.d.ts +5 -0
- package/dist/spreadsheet-format-xls/biff-property-dictionary.js +75 -0
- package/dist/spreadsheet-format-xls/biff-property-index.d.ts +23 -0
- package/dist/spreadsheet-format-xls/biff-property-index.js +93 -0
- package/dist/spreadsheet-format-xls/biff-property-name.d.ts +4 -0
- package/dist/spreadsheet-format-xls/biff-property-name.js +114 -0
- package/dist/spreadsheet-format-xls/biff-property-range.d.ts +17 -3
- package/dist/spreadsheet-format-xls/biff-property-range.js +178 -37
- package/dist/spreadsheet-format-xls/biff-property-text.d.ts +6 -0
- package/dist/spreadsheet-format-xls/biff-property-text.js +68 -0
- package/dist/spreadsheet-format-xls/biff-property-transcode.d.ts +5 -0
- package/dist/spreadsheet-format-xls/biff-property-transcode.js +45 -0
- package/package.json +8 -3
- package/dist/safe-bash/command-chunks/biff-YKPDH35C-MVQIWNKV.js +0 -4974
- package/dist/safe-bash/command-chunks/chunk-2VLAXKTS.js +0 -245
- package/dist/safe-bash/command-chunks/chunk-5Q22ZLNC.js +0 -127
- package/dist/safe-bash/command-chunks/chunk-JKLOBSMP.js +0 -56
- package/dist/safe-bash/command-chunks/chunk-JYTESTBS.js +0 -99
- package/dist/safe-bash/command-chunks/chunk-ZEGNRZV2.js +0 -333
- package/dist/safe-bash/command-chunks/paradox-ZWWXYY4J-JYOSWSBL.js +0 -362
- package/dist/spreadsheet-format-xls/biff-properties-layout.js +0 -56
- package/dist/safe-bash/command-chunks/{chunk-X2HVVMTW.js → chunk-AW4Q3GZW.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-JC2EV66U.js → chunk-BJXADHRT.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-XI2LETBJ.js → chunk-BXU5Y7I5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-PVLPWVRH.js → chunk-D3HW7R2N.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OLK3DCJD.js → chunk-DYERIXPU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WYBCSJFG.js → chunk-FWCUEZ3K.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FF2SQ2GP.js → chunk-GGH376XQ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-D66Q7QJ3.js → chunk-JRSZ5IGD.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-Z3YB4EVE.js → chunk-KSM5CCHT.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-NJ4NTTCR.js → chunk-LNLACEAN.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-NBTG6NF6.js → chunk-LTJRUMK6.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-XCYTG7CR.js → chunk-NJGL5JQ6.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-SZ66JC25.js → chunk-Q7J2NTH2.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-MDV7W5AS.js → chunk-SKNI2XQA.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-7ZWACKCG.js → chunk-T6OXG7QQ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-ECDEPKKW.js → chunk-W25EIKDJ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-4YSBUQPV.js → chunk-W2FKFEVY.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-2CIDPOUV.js → chunk-WSNHJZQ5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-4H3TYOVC.js → chunk-Y7AXMCFV.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-U6IEK2CI.js → chunk-YPG55QTP.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-252L5YC5.js → chunk-Z37OM247.js} +6 -6
- package/dist/safe-bash/command-chunks/{pln-DFS7VLVS-JATX6FS7.js → pln-DFS7VLVS-OVOBS4QX.js} +3 -3
- package/dist/safe-bash/command-chunks/{psion-YBI6JEQI-6OMC2PGC.js → psion-YBI6JEQI-GY4S6ZLC.js} +3 -3
|
@@ -7,22 +7,23 @@ import {
|
|
|
7
7
|
readProperties,
|
|
8
8
|
sanitizeProperties,
|
|
9
9
|
validatePropertyValue
|
|
10
|
-
} from "../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-
|
|
21
|
-
import "../safe-bash/command-chunks/chunk-
|
|
22
|
-
import "../safe-bash/command-chunks/chunk-
|
|
10
|
+
} from "../safe-bash/command-chunks/chunk-DBNJEXHK.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-ADHFF2IM.js";
|
|
12
|
+
import "../safe-bash/command-chunks/chunk-KBAQHE5Y.js";
|
|
13
|
+
import "../safe-bash/command-chunks/chunk-W3ZSWK76.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-IWHNRYER.js";
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-NFII726L.js";
|
|
16
|
+
import "../safe-bash/command-chunks/chunk-3GRMU7TM.js";
|
|
17
|
+
import "../safe-bash/command-chunks/chunk-AWPI4DZR.js";
|
|
18
|
+
import "../safe-bash/command-chunks/chunk-FWKLBDMK.js";
|
|
19
|
+
import "../safe-bash/command-chunks/chunk-XTEIT5CI.js";
|
|
20
|
+
import "../safe-bash/command-chunks/chunk-DBLQUZGN.js";
|
|
21
|
+
import "../safe-bash/command-chunks/chunk-ZQM37BGE.js";
|
|
22
|
+
import "../safe-bash/command-chunks/chunk-LNTEV56A.js";
|
|
23
|
+
import "../safe-bash/command-chunks/chunk-WTVJLHMG.js";
|
|
23
24
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
24
|
-
import "../safe-bash/command-chunks/chunk-
|
|
25
|
-
import "../safe-bash/command-chunks/chunk-
|
|
25
|
+
import "../safe-bash/command-chunks/chunk-JUHOL5KB.js";
|
|
26
|
+
import "../safe-bash/command-chunks/chunk-CXME4YHU.js";
|
|
26
27
|
import "../safe-bash/command-chunks/chunk-37XCUS43.js";
|
|
27
28
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
28
29
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
parseRelationships,
|
|
4
4
|
readRelationshipGraph,
|
|
5
5
|
relationshipGraph
|
|
6
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
+
} from "../safe-bash/command-chunks/chunk-LNTEV56A.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-WTVJLHMG.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
10
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-JUHOL5KB.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-CXME4YHU.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
12
12
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
13
13
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
2
2
|
import {
|
|
3
3
|
resolveOfficeResources
|
|
4
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
+
} from "../safe-bash/command-chunks/chunk-CXME4YHU.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ByteSource } from './contracts.js';
|
|
2
|
+
import type { RetainedPackageArchive, RetainedPackageContext } from './retained-package.js';
|
|
3
|
+
export interface RetainedMutationSource {
|
|
4
|
+
readonly size: number;
|
|
5
|
+
read(position: number, maximum: number, options: {
|
|
6
|
+
readonly signal: AbortSignal;
|
|
7
|
+
}): Promise<Uint8Array>;
|
|
8
|
+
stream(): ByteSource;
|
|
9
|
+
}
|
|
10
|
+
/** Borrow the admitted archive, replacement view and immutable input; own only output pages. */
|
|
11
|
+
export declare function stageRetainedArchive(input: RetainedMutationSource, originalFingerprint: string, archive: RetainedPackageArchive, mutation: {
|
|
12
|
+
readonly changed: boolean;
|
|
13
|
+
replacement(part: string): Promise<ByteSource | undefined>;
|
|
14
|
+
}, settings: RetainedPackageContext): Promise<Readonly<{
|
|
15
|
+
bytes: () => ByteSource;
|
|
16
|
+
size: number;
|
|
17
|
+
fingerprint: string;
|
|
18
|
+
close: () => Promise<void>;
|
|
19
|
+
}>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ByteSink } from './contracts.js';
|
|
2
|
+
import type { RetainedPackageContext } from './retained-package.js';
|
|
3
|
+
import type { RetainedPackageExtraction } from './retained-package-extraction.js';
|
|
4
|
+
/** Store manifest fragments and prefix boundaries before publication. Diagnostic
|
|
5
|
+
* storage survives publication cancellation so completed files can be reported. */
|
|
6
|
+
export declare function stageRetainedExtractionOutput(extraction: RetainedPackageExtraction, settings: RetainedPackageContext, output: {
|
|
7
|
+
readonly directory: string;
|
|
8
|
+
readonly json: boolean;
|
|
9
|
+
readonly maxOutputBytes: number;
|
|
10
|
+
readonly allowPartialOutput: boolean;
|
|
11
|
+
}): Promise<Readonly<{
|
|
12
|
+
close: () => Promise<void>;
|
|
13
|
+
path: (name: string) => string;
|
|
14
|
+
write(sink: ByteSink, failure?: {
|
|
15
|
+
readonly code: string;
|
|
16
|
+
readonly published: number;
|
|
17
|
+
}): Promise<void>;
|
|
18
|
+
}>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { RetainedXmlDocument, RetainedXmlNode } from './retained-xml-document.js';
|
|
2
|
+
/** Admit properties without materializing arbitrarily padded integer tokens. */
|
|
3
|
+
export declare function readRetainedFrameFormatting(document: RetainedXmlDocument, body: RetainedXmlNode): Promise<{
|
|
4
|
+
marginLeft: number | null;
|
|
5
|
+
marginRight: number | null;
|
|
6
|
+
marginTop: number | null;
|
|
7
|
+
marginBottom: number | null;
|
|
8
|
+
verticalAnchor: string | null;
|
|
9
|
+
columns: number | null;
|
|
10
|
+
wrap: boolean | null;
|
|
11
|
+
verticalText: string | null;
|
|
12
|
+
rotation: number | null;
|
|
13
|
+
autofit: "text" | "none" | "shape" | null;
|
|
14
|
+
}>;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openRetainedPresentationIndex,
|
|
3
3
|
stageRetainedInspection
|
|
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-
|
|
4
|
+
} from "../safe-bash/command-chunks/chunk-4EHY6J2Z.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-NQINS4XY.js";
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-W3ZSWK76.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-IWHNRYER.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-NFII726L.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-AWPI4DZR.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-FWKLBDMK.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-XTEIT5CI.js";
|
|
12
|
+
import "../safe-bash/command-chunks/chunk-DBLQUZGN.js";
|
|
13
|
+
import "../safe-bash/command-chunks/chunk-ZQM37BGE.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-LNTEV56A.js";
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-WTVJLHMG.js";
|
|
14
16
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
15
|
-
import "../safe-bash/command-chunks/chunk-
|
|
16
|
-
import "../safe-bash/command-chunks/chunk-
|
|
17
|
+
import "../safe-bash/command-chunks/chunk-JUHOL5KB.js";
|
|
18
|
+
import "../safe-bash/command-chunks/chunk-CXME4YHU.js";
|
|
17
19
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
18
20
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
19
21
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ByteSource } from './contracts.js';
|
|
2
|
+
import { type RetainedPackageContext } from './retained-package.js';
|
|
3
|
+
import type { RetainedMutationSource } from './retained-archive-staging.js';
|
|
4
|
+
export interface RetainedExtractedPackageMember {
|
|
5
|
+
readonly part: string;
|
|
6
|
+
readonly name: string;
|
|
7
|
+
readonly sha256: string;
|
|
8
|
+
readonly size: number;
|
|
9
|
+
contentType(): ByteSource;
|
|
10
|
+
bytes(): ByteSource;
|
|
11
|
+
}
|
|
12
|
+
export interface RetainedPackageExtraction {
|
|
13
|
+
readonly count: number;
|
|
14
|
+
members(): AsyncGenerator<RetainedExtractedPackageMember>;
|
|
15
|
+
close(): Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
/** Admit the complete selection before exposing members. Borrows immutable input,
|
|
18
|
+
* owns archive and descriptor storage; it never opens output paths. Selection
|
|
19
|
+
* arrays are borrowed until admission settles and must remain immutable. */
|
|
20
|
+
export declare function openRetainedPackageExtraction(input: RetainedMutationSource, settings: RetainedPackageContext, options?: {
|
|
21
|
+
readonly parts?: readonly string[];
|
|
22
|
+
}): Promise<RetainedPackageExtraction>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ByteSource } from './contracts.js';
|
|
2
|
+
import type { PresentationKind } from './content-types.js';
|
|
3
|
+
import { type RetainedPackageContext } from './retained-package.js';
|
|
4
|
+
export interface RetainedPackMember {
|
|
5
|
+
readonly part: string;
|
|
6
|
+
readonly sha256: string;
|
|
7
|
+
}
|
|
8
|
+
/** Persist and admit all descriptors before opening members. Each source is
|
|
9
|
+
* consumed once; neither the caller's descriptors nor its chunks are retained.
|
|
10
|
+
* The returned archive owns caller-backed pages and must be closed. */
|
|
11
|
+
export declare function stageRetainedPackage(members: AsyncIterable<RetainedPackMember>, openMember: (part: string) => ByteSource, settings: RetainedPackageContext, options?: {
|
|
12
|
+
readonly kind?: PresentationKind;
|
|
13
|
+
}): Promise<Readonly<{
|
|
14
|
+
count: number;
|
|
15
|
+
size: number;
|
|
16
|
+
fingerprint: string;
|
|
17
|
+
bytes: () => ByteSource;
|
|
18
|
+
close: () => Promise<void>;
|
|
19
|
+
}>>;
|
|
@@ -14,6 +14,8 @@ export interface RetainedPackageContext extends ResourceContext {
|
|
|
14
14
|
}
|
|
15
15
|
export interface PackageRewriteOptions {
|
|
16
16
|
readonly compression?: "store" | "auto";
|
|
17
|
+
/** Order existing members by JavaScript name comparison; additions follow them. */
|
|
18
|
+
readonly sourceOrder?: "name";
|
|
17
19
|
/** Undefined retains compressed bytes and ZIP metadata; null removes a part.
|
|
18
20
|
* Replacement sources are borrowed until rewrite settles. */
|
|
19
21
|
readonly replace?: (part: string, original: ByteSource) => Promise<ByteSource | null | undefined>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openPackageArchive
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-3ZRCL756.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-NQINS4XY.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-FWKLBDMK.js";
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-WTVJLHMG.js";
|
|
5
7
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
6
|
-
import "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-JUHOL5KB.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-CXME4YHU.js";
|
|
8
10
|
import "../safe-bash/command-chunks/chunk-37XCUS43.js";
|
|
9
11
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
10
12
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { readRetainedFrameFormatting } from './retained-frame-formatting.js';
|
|
1
2
|
import { type StagedOutput } from './retained-output.js';
|
|
2
3
|
import type { ByteSource, Location } from './contracts.js';
|
|
3
4
|
import type { RetainedPackageArchive, RetainedPackageContext } from './retained-package.js';
|
|
@@ -37,17 +38,23 @@ export interface RetainedField {
|
|
|
37
38
|
readonly fieldType: (() => ByteSource) | null;
|
|
38
39
|
cachedText(): ByteSource;
|
|
39
40
|
}
|
|
41
|
+
export interface RetainedTextFrame {
|
|
42
|
+
readonly location: Location;
|
|
43
|
+
readonly formatting: Awaited<ReturnType<typeof readRetainedFrameFormatting>>;
|
|
44
|
+
}
|
|
40
45
|
export interface RetainedPresentationText {
|
|
46
|
+
readonly frameCount: number;
|
|
47
|
+
frames(): AsyncGenerator<RetainedTextFrame>;
|
|
41
48
|
readonly fieldCount: number;
|
|
42
49
|
fields(): AsyncGenerator<RetainedField>;
|
|
43
50
|
text(): ByteSource;
|
|
44
51
|
segments(): AsyncGenerator<RetainedTextSegment>;
|
|
45
52
|
close(): Promise<void>;
|
|
46
53
|
}
|
|
47
|
-
export declare function openRetainedText(archive: Pick<RetainedPackageArchive, 'parts' | 'has' | 'read' | 'byteLength'>, fingerprint: string, options: ReadPresentationTextOptions, settings: RetainedPackageContext): Promise<RetainedPresentationText>;
|
|
54
|
+
export declare function openRetainedText(archive: Pick<RetainedPackageArchive, 'parts' | 'has' | 'read' | 'byteLength'>, fingerprint: string, options: ReadPresentationTextOptions, settings: RetainedPackageContext, readingMode?: 'text' | 'frames'): Promise<RetainedPresentationText>;
|
|
48
55
|
/** Stages both CLI formats after complete text admission. */
|
|
49
56
|
export declare function stageRetainedText(archive: Pick<RetainedPackageArchive, 'parts' | 'has' | 'read' | 'byteLength'>, fingerprint: string, options: ReadPresentationTextOptions, settings: RetainedPackageContext, output: {
|
|
50
57
|
readonly json: boolean;
|
|
51
58
|
readonly maxOutputBytes: number;
|
|
52
|
-
readonly operation?: 'text.get' | 'fields.list' | 'fields.get';
|
|
59
|
+
readonly operation?: 'text.get' | 'fields.list' | 'fields.get' | 'text.frames.list' | 'text.frames.get';
|
|
53
60
|
}): Promise<StagedOutput>;
|
|
@@ -1,35 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fieldTypeKinds
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-WZRFS5OY.js";
|
|
4
4
|
import {
|
|
5
5
|
openRetainedPresentationIndex,
|
|
6
6
|
stageRetainedOutput,
|
|
7
7
|
streamJson
|
|
8
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
8
|
+
} from "../safe-bash/command-chunks/chunk-4EHY6J2Z.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-NQINS4XY.js";
|
|
10
|
+
import {
|
|
11
|
+
readFramePropertyValues,
|
|
12
|
+
textVerticalModes
|
|
13
|
+
} from "../safe-bash/command-chunks/chunk-TKCUGMRZ.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-K2WOMJOQ.js";
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-XNGM3W5R.js";
|
|
16
|
+
import "../safe-bash/command-chunks/chunk-Q7TVCBU2.js";
|
|
17
|
+
import "../safe-bash/command-chunks/chunk-UJERQEJB.js";
|
|
18
|
+
import "../safe-bash/command-chunks/chunk-FYYFV6PW.js";
|
|
9
19
|
import {
|
|
10
20
|
validateTextReadingOptions
|
|
11
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
12
|
-
import "../safe-bash/command-chunks/chunk-
|
|
13
|
-
import "../safe-bash/command-chunks/chunk-
|
|
21
|
+
} from "../safe-bash/command-chunks/chunk-KSBNZTAZ.js";
|
|
22
|
+
import "../safe-bash/command-chunks/chunk-PLMF35XK.js";
|
|
23
|
+
import "../safe-bash/command-chunks/chunk-Z2WNYEPD.js";
|
|
24
|
+
import "../safe-bash/command-chunks/chunk-CCMAHM3I.js";
|
|
25
|
+
import "../safe-bash/command-chunks/chunk-TJLXSENN.js";
|
|
26
|
+
import "../safe-bash/command-chunks/chunk-2VVJRVYM.js";
|
|
27
|
+
import "../safe-bash/command-chunks/chunk-HR2Y6YEP.js";
|
|
28
|
+
import "../safe-bash/command-chunks/chunk-ADHFF2IM.js";
|
|
29
|
+
import "../safe-bash/command-chunks/chunk-KBAQHE5Y.js";
|
|
14
30
|
import {
|
|
15
31
|
SelectionError
|
|
16
|
-
} from "../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-
|
|
32
|
+
} from "../safe-bash/command-chunks/chunk-W3ZSWK76.js";
|
|
33
|
+
import "../safe-bash/command-chunks/chunk-IWHNRYER.js";
|
|
34
|
+
import "../safe-bash/command-chunks/chunk-NFII726L.js";
|
|
35
|
+
import "../safe-bash/command-chunks/chunk-3GRMU7TM.js";
|
|
20
36
|
import {
|
|
21
37
|
dialects,
|
|
22
38
|
openRetainedCompatibility
|
|
23
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
39
|
+
} from "../safe-bash/command-chunks/chunk-AWPI4DZR.js";
|
|
40
|
+
import "../safe-bash/command-chunks/chunk-FWKLBDMK.js";
|
|
24
41
|
import {
|
|
25
42
|
equationOpaqueElements
|
|
26
|
-
} from "../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-
|
|
43
|
+
} from "../safe-bash/command-chunks/chunk-XTEIT5CI.js";
|
|
44
|
+
import "../safe-bash/command-chunks/chunk-DBLQUZGN.js";
|
|
45
|
+
import "../safe-bash/command-chunks/chunk-ZQM37BGE.js";
|
|
46
|
+
import "../safe-bash/command-chunks/chunk-LNTEV56A.js";
|
|
47
|
+
import "../safe-bash/command-chunks/chunk-WTVJLHMG.js";
|
|
31
48
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
32
|
-
import "../safe-bash/command-chunks/chunk-
|
|
49
|
+
import "../safe-bash/command-chunks/chunk-JUHOL5KB.js";
|
|
33
50
|
import {
|
|
34
51
|
OfficeError,
|
|
35
52
|
RetainedValues,
|
|
@@ -39,15 +56,75 @@ import {
|
|
|
39
56
|
literal,
|
|
40
57
|
openRetainedXmlDocument,
|
|
41
58
|
resolveOfficeResources
|
|
42
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
59
|
+
} from "../safe-bash/command-chunks/chunk-CXME4YHU.js";
|
|
43
60
|
import "../safe-bash/command-chunks/chunk-37XCUS43.js";
|
|
44
61
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
45
62
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
46
63
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
47
64
|
|
|
65
|
+
// packages/safe-bash-presentation-engine/src/retained-frame-formatting.ts
|
|
66
|
+
async function readRetainedFrameFormatting(document, body) {
|
|
67
|
+
const malformed = () => {
|
|
68
|
+
throw new OfficeError("invalid-xml", "Invalid text frame properties.", "parse");
|
|
69
|
+
};
|
|
70
|
+
let properties;
|
|
71
|
+
for await (const node of document.children(body)) {
|
|
72
|
+
if (node.kind !== "element" || !await equal(document.raw(node.localName), literal("bodyPr"))) continue;
|
|
73
|
+
let drawing = false;
|
|
74
|
+
for (const dialect of dialects) if (await equal(document.namespace(node), literal(dialect.a))) drawing = true;
|
|
75
|
+
if (drawing) {
|
|
76
|
+
if (properties) malformed();
|
|
77
|
+
properties = node;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
const attributes = {};
|
|
81
|
+
const enums = { wrap: ["square", "none"], anchor: ["t", "ctr", "b", "just", "dist"], vert: textVerticalModes };
|
|
82
|
+
const numbers = ["lIns", "rIns", "tIns", "bIns", "numCol", "rot"];
|
|
83
|
+
if (properties) for await (const attribute of document.attributes(properties)) {
|
|
84
|
+
if (!await equal(document.namespace(attribute), literal(""))) continue;
|
|
85
|
+
for (const key of [...numbers, ...Object.keys(enums)]) {
|
|
86
|
+
if (!await equal(document.raw(attribute.localName), literal(key))) continue;
|
|
87
|
+
if (enums[key]) {
|
|
88
|
+
let value;
|
|
89
|
+
for (const token of enums[key]) if (await equal(document.text(attribute), literal(token))) value = token;
|
|
90
|
+
if (value === void 0) malformed();
|
|
91
|
+
attributes[key] = value;
|
|
92
|
+
} else {
|
|
93
|
+
let phase = "leading", negative = false, digits = false, value = 0;
|
|
94
|
+
for await (const character of characters(document.text(attribute))) {
|
|
95
|
+
if (character.trim() === "") {
|
|
96
|
+
if (phase === "sign") malformed();
|
|
97
|
+
if (phase === "digits") phase = "trailing";
|
|
98
|
+
} else if (phase === "leading" && (character === "+" || character === "-")) {
|
|
99
|
+
negative = character === "-";
|
|
100
|
+
phase = "sign";
|
|
101
|
+
} else if (phase !== "trailing" && character >= "0" && character <= "9") {
|
|
102
|
+
phase = "digits";
|
|
103
|
+
digits = true;
|
|
104
|
+
value = value * 10 + Number(character);
|
|
105
|
+
if (!Number.isSafeInteger(value)) malformed();
|
|
106
|
+
} else malformed();
|
|
107
|
+
}
|
|
108
|
+
if (!digits) malformed();
|
|
109
|
+
attributes[key] = `${negative ? "-" : ""}${value}`;
|
|
110
|
+
}
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
const fits = [];
|
|
115
|
+
if (properties) for await (const child of document.children(properties)) {
|
|
116
|
+
if (child.kind !== "element" || !await equal(document.namespace(child), document.namespace(properties))) continue;
|
|
117
|
+
for (const name of ["noAutofit", "normAutofit", "spAutoFit"]) if (await equal(document.raw(child.localName), literal(name))) {
|
|
118
|
+
if (fits.length) malformed();
|
|
119
|
+
fits.push(name);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
return readFramePropertyValues((key) => attributes[key] ?? null, fits);
|
|
123
|
+
}
|
|
124
|
+
|
|
48
125
|
// packages/safe-bash-presentation-engine/src/retained-text.ts
|
|
49
126
|
import { PagedStorage } from "@poe-platform/safe-fs/storage";
|
|
50
|
-
async function openRetainedText(archive, fingerprint, options, settings) {
|
|
127
|
+
async function openRetainedText(archive, fingerprint, options, settings, readingMode = "text") {
|
|
51
128
|
validateTextReadingOptions(options);
|
|
52
129
|
const selection = options.select === void 0 ? void 0 : { ...options.select, ...options.select.position ? { position: { ...options.select.position } } : {} };
|
|
53
130
|
const scope = options.scope ?? "slides", shape = options.shape;
|
|
@@ -55,7 +132,7 @@ async function openRetainedText(archive, fingerprint, options, settings) {
|
|
|
55
132
|
const index = await openRetainedPresentationIndex(archive, fingerprint, { ...context, workingStorage: working });
|
|
56
133
|
const pages = new PagedStorage({ fs: working.fs, cwd: working.directory, env: {}, signal }, (working.cacheBytes ?? 1024 * 1024) / 16384);
|
|
57
134
|
const traversal = new PagedStorage({ fs: working.fs, cwd: working.directory, env: {}, signal }, (working.cacheBytes ?? 1024 * 1024) / 16384);
|
|
58
|
-
let closed = false, closing, firstBody = 0, lastBody = 0, firstOwner = 0, lastOwner = 0, fieldCount = 0;
|
|
135
|
+
let closed = false, closing, firstBody = 0, lastBody = 0, firstOwner = 0, lastOwner = 0, fieldCount = 0, frameCount = 0;
|
|
59
136
|
const check = () => {
|
|
60
137
|
if (closed) throw new OfficeError("invalid-handle", "Text is closed.", "select");
|
|
61
138
|
if (signal.aborted) throw new OfficeError("cancelled", "Operation cancelled.", "select");
|
|
@@ -214,9 +291,13 @@ async function openRetainedText(archive, fingerprint, options, settings) {
|
|
|
214
291
|
}
|
|
215
292
|
}
|
|
216
293
|
async function body(node, id, cellRow = -1, cellColumn = -1) {
|
|
217
|
-
|
|
294
|
+
if (readingMode === "frames" && cellRow >= 0) return;
|
|
295
|
+
const formatting = readingMode === "frames" ? await values.store(literal(JSON.stringify(await readRetainedFrameFormatting(document, node), (_key, value) => Object.is(value, -0) ? "-0" : value))) : { start: 0, length: 0 };
|
|
296
|
+
if (readingMode === "frames") frameCount++;
|
|
297
|
+
const bodyPointer = pages.allocate(10 /* Count */ * 8), bodyRow = [0, ownerPart.start, ownerPart.length, id, 0, 0, cellRow, cellColumn, formatting.start, formatting.length];
|
|
218
298
|
let paragraphIndex = 0;
|
|
219
299
|
for await (const paragraph of children(node, "p", drawing)) {
|
|
300
|
+
if (readingMode === "frames") break;
|
|
220
301
|
const paragraphPointer = pages.allocate(4 /* Count */ * 8), paragraphRow = [0, 0, 0, paragraphIndex++];
|
|
221
302
|
let fieldInline = 0;
|
|
222
303
|
for await (const inline of view.children(paragraph)) {
|
|
@@ -335,14 +416,25 @@ async function openRetainedText(archive, fingerprint, options, settings) {
|
|
|
335
416
|
}
|
|
336
417
|
async function* segments() {
|
|
337
418
|
try {
|
|
338
|
-
for await (const body of rows(firstBody,
|
|
419
|
+
for await (const body of rows(firstBody, 10 /* Count */)) yield { location: { fingerprint, scope, owner: await name(range(body, 1 /* Owner */)), objectId: String(body[3 /* Id */]), coordinateSystem: "identity" }, text: () => bodyText(body[4 /* Paragraphs */]), paragraphs: paragraphs(body[4 /* Paragraphs */]), ...body[6 /* Row */] < 0 ? {} : { cell: { coordinateSystem: "zero-based", row: body[6 /* Row */], column: body[7 /* Column */] } } };
|
|
420
|
+
} catch (error) {
|
|
421
|
+
throw failure(error);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
async function* frames() {
|
|
425
|
+
try {
|
|
426
|
+
for await (const body of rows(firstBody, 10 /* Count */)) if (body[8 /* Format */]) yield {
|
|
427
|
+
location: { fingerprint, scope, owner: await name(range(body, 1 /* Owner */)), objectId: String(body[3 /* Id */]), coordinateSystem: "identity" },
|
|
428
|
+
// Fixed-schema scalars; the numeric -0 marker cannot collide with valid enums.
|
|
429
|
+
formatting: JSON.parse(await name(range(body, 8 /* Format */)), (_key, value) => value === "-0" ? -0 : value)
|
|
430
|
+
};
|
|
339
431
|
} catch (error) {
|
|
340
432
|
throw failure(error);
|
|
341
433
|
}
|
|
342
434
|
}
|
|
343
435
|
async function* fields() {
|
|
344
436
|
try {
|
|
345
|
-
for await (const body of rows(firstBody,
|
|
437
|
+
for await (const body of rows(firstBody, 10 /* Count */)) {
|
|
346
438
|
const location = { fingerprint, scope, owner: await name(range(body, 1 /* Owner */)), objectId: String(body[3 /* Id */]), coordinateSystem: "identity" };
|
|
347
439
|
for await (const paragraph of rows(body[4 /* Paragraphs */], 4 /* Count */)) for await (const inline of rows(paragraph[1 /* Inlines */], 11 /* Count */)) if (inline[1 /* Kind */] === 2 && inline[8 /* FieldIndex */] >= 0) {
|
|
348
440
|
const fieldType = inline[6 /* FieldType */] === -1 ? null : () => values.read(range(inline, 6 /* FieldType */));
|
|
@@ -369,7 +461,7 @@ async function openRetainedText(archive, fingerprint, options, settings) {
|
|
|
369
461
|
throw failure(error);
|
|
370
462
|
}
|
|
371
463
|
}
|
|
372
|
-
return Object.freeze({ close, segments, fields, fieldCount, async *text() {
|
|
464
|
+
return Object.freeze({ close, segments, fields, fieldCount, frames, frameCount, async *text() {
|
|
373
465
|
let separator = false;
|
|
374
466
|
for await (const segment of segments()) {
|
|
375
467
|
if (separator) yield* literal("\n");
|
|
@@ -385,11 +477,18 @@ async function openRetainedText(archive, fingerprint, options, settings) {
|
|
|
385
477
|
}
|
|
386
478
|
async function stageRetainedText(archive, fingerprint, options, settings, output) {
|
|
387
479
|
const format = { ...output }, operation = format.operation ?? "text.get";
|
|
388
|
-
if (!["text.get", "fields.list", "fields.get"].includes(operation)) throw new OfficeError("invalid-value", "Invalid retained text operation.", "usage");
|
|
389
|
-
const
|
|
480
|
+
if (!["text.get", "fields.list", "fields.get", "text.frames.list", "text.frames.get"].includes(operation)) throw new OfficeError("invalid-value", "Invalid retained text operation.", "usage");
|
|
481
|
+
const frames = operation.startsWith("text.frames."), fields = operation.startsWith("fields.");
|
|
482
|
+
const text = await openRetainedText(archive, fingerprint, options, settings, frames ? "frames" : "text").catch((error) => {
|
|
483
|
+
if (frames && error instanceof SelectionError && error.code === "missing-selection") return void 0;
|
|
484
|
+
throw error;
|
|
485
|
+
});
|
|
486
|
+
async function* frameRecords() {
|
|
487
|
+
if (text) yield* text.frames();
|
|
488
|
+
}
|
|
390
489
|
let staged;
|
|
391
490
|
async function* locations() {
|
|
392
|
-
for await (const item of fields ? text.fields() : text.segments()) yield item.location;
|
|
491
|
+
for await (const item of frames ? frameRecords() : fields ? text.fields() : text.segments()) yield item.location;
|
|
393
492
|
}
|
|
394
493
|
async function* items() {
|
|
395
494
|
for await (const field of text.fields()) yield {
|
|
@@ -407,18 +506,20 @@ async function stageRetainedText(archive, fingerprint, options, settings, output
|
|
|
407
506
|
}
|
|
408
507
|
async function* render() {
|
|
409
508
|
if (format.json) {
|
|
410
|
-
yield* streamJson({ version: 1, operation, ok: true, data: fields ? { items: items() } : { text: text.text, order: "structural", segments: text.segments() }, warnings: [], errors: [], affected: 0, locations: locations() });
|
|
509
|
+
yield* streamJson({ version: 1, operation, ok: true, data: frames ? { frames: frameRecords() } : fields ? { items: items() } : { text: text.text, order: "structural", segments: text.segments() }, warnings: [], errors: [], affected: 0, locations: locations() });
|
|
411
510
|
yield* literal("\n");
|
|
412
|
-
} else if (
|
|
511
|
+
} else if (frames) yield* streamJson(frameRecords());
|
|
512
|
+
else if (fields) yield* streamJson(text.fields());
|
|
413
513
|
else yield* text.text();
|
|
414
514
|
}
|
|
415
515
|
try {
|
|
416
516
|
if (operation === "fields.get" && text.fieldCount !== 1) throw new SelectionError(text.fieldCount ? "ambiguous-selection" : "missing-selection");
|
|
517
|
+
if (operation === "text.frames.get" && text?.frameCount !== 1) throw new SelectionError(text?.frameCount ? "ambiguous-selection" : "missing-selection");
|
|
417
518
|
staged = await stageRetainedOutput(render(), settings, format.maxOutputBytes);
|
|
418
|
-
await text
|
|
519
|
+
await text?.close();
|
|
419
520
|
return staged;
|
|
420
521
|
} catch (error) {
|
|
421
|
-
await Promise.allSettled([text
|
|
522
|
+
await Promise.allSettled([text?.close(), staged?.close()]);
|
|
422
523
|
throw error;
|
|
423
524
|
}
|
|
424
525
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../office-xml/retained-xml-document.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ValidationLimits } from './validation.js';
|
|
2
|
-
import type { ByteSource } from './contracts.js';
|
|
2
|
+
import type { ByteSource, Location } from './contracts.js';
|
|
3
3
|
import type { RetainedPackageArchive, RetainedPackageContext } from './retained-package.js';
|
|
4
4
|
import { type StagedOutput } from './retained-output.js';
|
|
5
5
|
import { type RetainedInspectionSelection } from './retained-inspection.js';
|
|
@@ -18,6 +18,10 @@ export interface RetainedXmlPart {
|
|
|
18
18
|
export declare function openRetainedXmlPart(archive: Archive, requested: string, settings: RetainedXmlPartContext, options?: {
|
|
19
19
|
readonly pretty?: boolean;
|
|
20
20
|
}): Promise<RetainedXmlPart>;
|
|
21
|
+
export declare function selectRetainedXmlPart(archive: Archive, fingerprint: string, selection: RetainedInspectionSelection, settings: RetainedXmlPartContext, allowMetadata?: boolean): Promise<{
|
|
22
|
+
part: string;
|
|
23
|
+
location: Location;
|
|
24
|
+
}>;
|
|
21
25
|
export declare function stageRetainedXmlPart(archive: Archive, fingerprint: string, selection: RetainedInspectionSelection, settings: RetainedXmlPartContext, output: {
|
|
22
26
|
readonly json: boolean;
|
|
23
27
|
readonly pretty?: boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ByteSource } from './contracts.js';
|
|
2
|
+
import { type RetainedMutationSource } from './retained-archive-staging.js';
|
|
3
|
+
import { type RetainedXmlPartContext } from './retained-xml-parts.js';
|
|
4
|
+
import type { RetainedInspectionSelection } from './retained-inspection.js';
|
|
5
|
+
import { type StagedOutput } from './retained-output.js';
|
|
6
|
+
/** Stage an admitted XML replacement and its response before publishing anything. Input sources are borrowed. */
|
|
7
|
+
export declare function stageRetainedXmlReplacement(input: RetainedMutationSource, replacement: ByteSource, selection: RetainedInspectionSelection, settings: RetainedXmlPartContext, output: {
|
|
8
|
+
readonly json: boolean;
|
|
9
|
+
readonly dryRun: boolean;
|
|
10
|
+
readonly destination?: string;
|
|
11
|
+
readonly maxOutputBytes: number;
|
|
12
|
+
}): Promise<Readonly<{
|
|
13
|
+
bytes: () => ByteSource;
|
|
14
|
+
size: number;
|
|
15
|
+
fingerprint: string;
|
|
16
|
+
output: StagedOutput;
|
|
17
|
+
close: () => Promise<void>;
|
|
18
|
+
}>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ByteSource } from './contracts.js';
|
|
2
|
+
import type { RetainedPackageArchive } from './retained-package.js';
|
|
3
|
+
import type { RetainedXmlPartContext } from './retained-xml-parts.js';
|
|
4
|
+
type Archive = Pick<RetainedPackageArchive, 'parts' | 'has' | 'read' | 'byteLength'>;
|
|
5
|
+
export interface RetainedXmlReplacement extends Archive {
|
|
6
|
+
readonly changed: boolean;
|
|
7
|
+
replacement(part: string): Promise<ByteSource | undefined>;
|
|
8
|
+
close(): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
/** Admits the complete existing XML replacement subset. Archive ownership stays
|
|
11
|
+
* with the caller; replacement bytes, comparison queues and maps use caller pages. */
|
|
12
|
+
export declare function openRetainedXmlReplacement(archive: Archive, requested: string, source: ByteSource, settings: RetainedXmlPartContext): Promise<RetainedXmlReplacement>;
|
|
13
|
+
export {};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sanitize
|
|
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-
|
|
16
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-4YLACJHE.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-DBNJEXHK.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-ADHFF2IM.js";
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-KBAQHE5Y.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-W3ZSWK76.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-IWHNRYER.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-NFII726L.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-3GRMU7TM.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-AWPI4DZR.js";
|
|
12
|
+
import "../safe-bash/command-chunks/chunk-FWKLBDMK.js";
|
|
13
|
+
import "../safe-bash/command-chunks/chunk-XTEIT5CI.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-DBLQUZGN.js";
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-ZQM37BGE.js";
|
|
16
|
+
import "../safe-bash/command-chunks/chunk-LNTEV56A.js";
|
|
17
|
+
import "../safe-bash/command-chunks/chunk-WTVJLHMG.js";
|
|
17
18
|
import "../safe-bash/command-chunks/chunk-ZITBS2EB.js";
|
|
18
|
-
import "../safe-bash/command-chunks/chunk-
|
|
19
|
-
import "../safe-bash/command-chunks/chunk-
|
|
19
|
+
import "../safe-bash/command-chunks/chunk-JUHOL5KB.js";
|
|
20
|
+
import "../safe-bash/command-chunks/chunk-CXME4YHU.js";
|
|
20
21
|
import "../safe-bash/command-chunks/chunk-37XCUS43.js";
|
|
21
22
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
22
23
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|