@poe-platform/safe-bash 0.1.816 → 0.1.818
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/image-ast/index.js +2 -2
- package/dist/mp4-ast/index.d.ts +2 -1
- package/dist/mp4-ast/mp4-metadata-source.d.ts +10 -0
- package/dist/mp4-ast/mp4-packets-source.d.ts +8 -1
- package/dist/mp4-ast/types.d.ts +21 -3
- package/dist/pdf-ast/ast.d.ts +2 -0
- package/dist/pdf-ast/content/evaluator.d.ts +11 -0
- package/dist/pdf-ast/content/retained-evaluator.d.ts +2 -2
- package/dist/pdf-ast/content/retained-page.d.ts +2 -2
- package/dist/pdf-ast/cos/value-parser.d.ts +2 -0
- package/dist/pdf-ast/extract/html-text-stream.d.ts +14 -0
- package/dist/pdf-ast/extract/logical-text-stream.d.ts +14 -0
- package/dist/pdf-ast/extract/raw-text-index.d.ts +18 -4
- package/dist/pdf-ast/extract/retained-color.d.ts +6 -6
- package/dist/pdf-ast/extract/retained-decoded-image.d.ts +2 -2
- package/dist/pdf-ast/extract/stored-text-glyphs.d.ts +8 -0
- package/dist/pdf-ast/fonts/resolve.d.ts +5 -1
- package/dist/pdf-ast/fonts/retained.d.ts +2 -2
- package/dist/pdf-ast/image.d.ts +2 -0
- package/dist/pdf-ast/image.js +19 -0
- package/dist/pdf-ast/index.d.ts +3 -0
- package/dist/pdf-ast/index.js +264 -66845
- package/dist/pdf-ast/render/postscript.d.ts +6 -0
- package/dist/pdf-ast/render/raster.d.ts +21 -1
- package/dist/pdf-ast/retained-document.d.ts +16 -95
- package/dist/pdf-ast/retained-reader.d.ts +109 -0
- package/dist/safe-bash/command-chunks/biff-AYJZR2YV-JPESBEOO.js +5741 -0
- package/dist/safe-bash/command-chunks/{chunk-SL4LD25A.js → chunk-232N24HE.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-ALD53QFL.js → chunk-2C4QMQQD.js} +42 -12
- package/dist/safe-bash/command-chunks/{chunk-3PM46VWH.js → chunk-2FEMMALH.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-2J4OQT3F.js +153 -0
- package/dist/safe-bash/command-chunks/{chunk-QDV2NIFR.js → chunk-2TMTGVJR.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ARE267HR.js → chunk-2WTDP3TP.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-GEDO5V32.js → chunk-2XR7B6DY.js} +602 -211
- package/dist/safe-bash/command-chunks/{chunk-EY3UE26F.js → chunk-2YC6MWQB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-UPWLHHZ2.js → chunk-37KBCKDF.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-DOVWHVHI.js → chunk-3B6554G6.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-FB2WPI3M.js → chunk-3ZGO24WG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-GR4ONCQ5.js → chunk-424NYO35.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-MQE77MEQ.js → chunk-45GTHPL5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-AF2IO57Q.js → chunk-4OHTYYNU.js} +8 -136
- package/dist/safe-bash/command-chunks/{chunk-ICJH6A73.js → chunk-4PMMJ45F.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-57PK2QFX.js → chunk-4SFX6YGC.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-G3LUT475.js → chunk-4WHTTCKY.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-DBZCTL7C.js → chunk-4Z7PBIMP.js} +20 -18
- package/dist/safe-bash/command-chunks/{chunk-A4P37F3P.js → chunk-57SKL76U.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-J6FNSVHT.js → chunk-5GP4A3TD.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-OFONWWEZ.js → chunk-5IHJWBDR.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-A2L3U7DW.js → chunk-5OS4Q3AX.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-FUYZUETI.js → chunk-5PMLTSQ5.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-TXU7MMHN.js → chunk-5RDS6CNQ.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-FR63MJSO.js → chunk-5UGQGB5Y.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-UKAGRRLZ.js → chunk-5VY5O37W.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-5WS6DXYE.js +68444 -0
- package/dist/safe-bash/command-chunks/{chunk-2ALHVXEM.js → chunk-6EK76ERE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-4772DJKS.js → chunk-6GCK2KSL.js} +61 -26
- package/dist/safe-bash/command-chunks/{chunk-T5OQ53XS.js → chunk-6IID5HTY.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-EZDWPTYB.js → chunk-6LOAJOWK.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-WMBELKPP.js → chunk-6PE2L522.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-ZAYTFXUX.js → chunk-73KY3MZ3.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-BOVDUJ3A.js → chunk-77WBFVZQ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-3DWFXESW.js → chunk-7GJJDM2F.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-WIW3KDBS.js → chunk-7NFICYRU.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-35DU6I2M.js → chunk-7ZEGARPB.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-A5SPMSKD.js → chunk-A32PUWYE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-KYIGYYEY.js → chunk-A32ZROH5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-IOXMGD2H.js → chunk-ADVQZLLE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CGJ7GMHO.js → chunk-AEZU6NZE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-KDDXLHN7.js → chunk-ATHU53C2.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-R7LF4XQV.js → chunk-B6T2526I.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-PPN53PX3.js → chunk-BB7HBO56.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ZM7HMBAJ.js → chunk-BDGNKRY4.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-VMZIAFVJ.js → chunk-BFRSYJUC.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-X42MJT2J.js → chunk-BJL7AGA5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-VZTVR3JI.js → chunk-C2QUG7IP.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-IVKAFEPO.js → chunk-C34RLMAC.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-5O45KGW5.js → chunk-C5VUJOUQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LQDANF2B.js → chunk-CCNOZKAK.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-FEBTT5NH.js → chunk-CEHICGP6.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-SICTBSLW.js → chunk-CODJMTSA.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-LJ3UYESS.js → chunk-CP5EO5TT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-45DKGZYO.js → chunk-CSS5KXQC.js} +329 -152
- package/dist/safe-bash/command-chunks/{chunk-6RLWPB44.js → chunk-CZSLXQU2.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3ZWFE4CK.js → chunk-D2ZT2UUT.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WH624PKJ.js → chunk-D5XSGHXN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-NDALIHKK.js → chunk-D7UFAIBS.js} +18 -18
- package/dist/safe-bash/command-chunks/{chunk-ISFGPCED.js → chunk-DCKAY6HV.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-LNAZ3E4Q.js → chunk-DGCJVZW6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LFSWLJPR.js → chunk-DJB5RB6U.js} +288 -32
- package/dist/safe-bash/command-chunks/{chunk-FGHSE3RZ.js → chunk-DZ4ELL34.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LQX7RAF7.js → chunk-EBKKYRQJ.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-QNETPOMH.js → chunk-EDBNI7WE.js} +14 -14
- package/dist/safe-bash/command-chunks/{chunk-5GDF5FAS.js → chunk-EEJ3YXVO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-RTHYAGKI.js → chunk-ETN25WCR.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ET6LMDEX.js → chunk-EV3DPRWE.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-3MUFXGA2.js → chunk-F2JUB7JI.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-345YBIHP.js → chunk-F42WV2YO.js} +19 -19
- package/dist/safe-bash/command-chunks/{chunk-FTZFCMVI.js → chunk-FAVWWMFW.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-XBWD6SI3.js → chunk-FDRE535F.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-WMV5224N.js → chunk-FILE5PBI.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-XPQUUFQD.js → chunk-FPOM47UA.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-QMBMZSJF.js → chunk-FQ2WRT4Q.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-H56BSMFQ.js → chunk-FVAFISPY.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-2QZUAZTH.js → chunk-GIQUIF6E.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-2TWXRJPB.js → chunk-GNORF6RY.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-K7VDCBXW.js → chunk-GPLN6JV2.js} +24 -24
- package/dist/safe-bash/command-chunks/{chunk-DZOKH5BL.js → chunk-GQ7BD75U.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-N4HWOLGZ.js → chunk-GY2C555A.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-N32AP43V.js → chunk-GZNX5SS4.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-YPG55QTP.js → chunk-HCJWEB6P.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4ABR3KGK.js → chunk-HNY7LZ5P.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-P462JTNT.js → chunk-HOBXZX23.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-5KZMR6AJ.js → chunk-HW3IOXT6.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-3VGQTLO6.js → chunk-HX7QQNWS.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-TXWDR2P4.js → chunk-IBT3OWXB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-OHEZQ4QA.js → chunk-IFBLXBBM.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-HOJ7WDTS.js → chunk-IJZUUXLL.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-BZRWZ6GO.js → chunk-IKU7ZBF3.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CKIXC7AO.js → chunk-IPKYPADE.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-IWVANZWH.js → chunk-JLPBGKVC.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-6M3JTPKE.js → chunk-JNRX5EFF.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-5YL453ZF.js → chunk-JSX5CFZY.js} +36 -36
- package/dist/safe-bash/command-chunks/{chunk-V6JPIZUW.js → chunk-JT656DKZ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-DM5WURQL.js → chunk-JY2T3KV2.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-IZ3SD5S2.js → chunk-K2NV6H7E.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-62RG3GHF.js → chunk-K6E56LND.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-FLSXHLJG.js → chunk-KADQKXZE.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-URQSUMMJ.js → chunk-KFFV7HBL.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-ONQP4FNV.js → chunk-KZICRCQ7.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-N35IJXBK.js → chunk-L6X4EEN6.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-SHLT5R64.js → chunk-LF7YJ5VQ.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-GMBUOYTN.js → chunk-LNHTLWIL.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-A6OTPNNI.js → chunk-LPKMNCC5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-MUTARE5I.js → chunk-LSKA4IR4.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-N3ZH4YYH.js → chunk-LTWX23FS.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-JA36YOZI.js → chunk-LUJUYUOG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4X2MPZXW.js → chunk-M42GCI5F.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-AYQPJQJR.js → chunk-M5BFAMXD.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-OFDJJRAD.js → chunk-M7DZ7COK.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-RINR7XPR.js → chunk-MMSKDYK6.js} +234 -8
- package/dist/safe-bash/command-chunks/{chunk-NKK76B4V.js → chunk-MN7EEK6Y.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-OBIXFO25.js → chunk-MOJQT6RW.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-HOKPYTHQ.js → chunk-MPRUGL4W.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CORUUCS2.js → chunk-MRBX4KEP.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-MTWFSBNG.js +137 -0
- package/dist/safe-bash/command-chunks/{chunk-RRAQII52.js → chunk-MURNTGDL.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-KDBU5Q2N.js → chunk-MWVELMXZ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-PRO7JOIH.js → chunk-N3MAYM6Y.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-E22EAYJN.js → chunk-NFWLZDMY.js} +177 -34
- package/dist/safe-bash/command-chunks/{chunk-GAROGIVU.js → chunk-NP2QXF2X.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-SNA2LVBX.js → chunk-NPVOYY2A.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ENMJHB2C.js → chunk-NTXRKJPZ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-3K5CVXUV.js → chunk-NZF56C25.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-5MNQTHED.js → chunk-OA4MEWTN.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-SWIF6BBY.js → chunk-OL75SBZL.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-LT2YCGC5.js → chunk-OVQSILY3.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-WDVPHDBH.js → chunk-P57V45F2.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-OWCBX5M2.js → chunk-PAY4ULWY.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-CHZE6FNT.js → chunk-PFUZPAXQ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-NLCUQD7Y.js → chunk-PX6E5MHY.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-POGVOCOB.js → chunk-QCN7MRRU.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-ZZERSKAR.js → chunk-QLE6JUR7.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-LZY46GYY.js → chunk-QMWBKR4C.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-BIJW6QWB.js → chunk-QNLX3CZH.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-MDFNUNK5.js → chunk-QWX5IERU.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-WOL3LBXE.js → chunk-R2N3E267.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ZNCPIZCN.js → chunk-R6X63VAO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-FGARVKAX.js → chunk-RNIFPFGC.js} +13 -11
- package/dist/safe-bash/command-chunks/{chunk-OIHQXURE.js → chunk-ROE6KD4C.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-BKK4MS3V.js → chunk-RR6XG2I6.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-RYOHOS2I.js +398 -0
- package/dist/safe-bash/command-chunks/{chunk-4QEJPP3K.js → chunk-S5X7PBO4.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IHLZ6HNQ.js → chunk-TSKJNCKD.js} +3 -2
- package/dist/safe-bash/command-chunks/{chunk-U42WHQRH.js → chunk-TTTNFKT6.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-EWC56JNI.js → chunk-TTVJJZOM.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-TY7JXEWI.js → chunk-UBX5I5HY.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-QOKFSYD5.js → chunk-UE34SQET.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-DXOXUKQB.js → chunk-UH4CQIU3.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-VNNNVT4C.js → chunk-UZZ2WJQV.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-QNX5LZBK.js → chunk-V6NZVM7C.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-KLAC2MIZ.js → chunk-VEZULAIA.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-OCV5ZU35.js → chunk-VSTAHYCV.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-UFLMOU3B.js → chunk-VUJCVXD4.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-5V7WIQ2D.js → chunk-VW67MA53.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-B2C3UPJS.js → chunk-W42SUPD6.js} +13 -1
- package/dist/safe-bash/command-chunks/{chunk-2IMIKROX.js → chunk-WI5NEHPD.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-SBXS4S6Y.js → chunk-WJSU2UVG.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-VVWHFNHD.js → chunk-WPEIOUJN.js} +415 -25
- package/dist/safe-bash/command-chunks/{chunk-YKODRSGT.js → chunk-WRCYZJNO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-TID5TSQW.js → chunk-WRJV7OVO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-T4SEQU66.js → chunk-X4TWJNW7.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-CKA7ZROU.js → chunk-X6KFCAWZ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-ROQ3VNVX.js → chunk-X6KO7D6R.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-S5ER73EA.js → chunk-XB5ZZHFD.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FHQOFEQK.js → chunk-XLFOLLUZ.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-UJYXSLM6.js → chunk-XLPEPCQC.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-UT5X6QRU.js → chunk-XQFEP43Y.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-Y7XL6CWB.js +771 -0
- package/dist/safe-bash/command-chunks/{chunk-RVWIEXR7.js → chunk-YKEMSPJZ.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-ERWIJYCS.js → chunk-YN3OEJAZ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-6YF2QADH.js → chunk-YOYK2I4N.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-26JE5JEB.js → chunk-YS5ZKMRJ.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-LMLBQSAM.js → chunk-YW7WU7W2.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-YXR4JE4U.js → chunk-Z33YS3DW.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-T2FRXSQT.js → chunk-ZBXUAM34.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-VVV45NLY.js → chunk-ZJUU5IAS.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-7OCTMVYJ.js → chunk-ZNABMTV3.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-6JGICYHP.js → chunk-ZSF2T5D4.js} +1 -1
- package/dist/safe-bash/command-chunks/{command-engine-GHE6QUHU.js → command-engine-PFYHL7GS.js} +14 -4
- package/dist/safe-bash/command-chunks/{engine-RG6HQCCB-FXYZS264.js → engine-5AVSKFBI-D7Q5VPUN.js} +1 -1
- package/dist/safe-bash/command-chunks/model-store-IIWQHSEZ.js +54 -0
- package/dist/safe-bash/command-chunks/odf-SL5TG4B3-XI3FNOTN.js +3041 -0
- package/dist/safe-bash/command-chunks/{xlsx-RE54MFCS-IQ6OXXKK.js → xlsx-RE54MFCS-4UZ5W3U7.js} +1 -1
- package/dist/safe-bash-command-apply-patch/apply.js +1 -1
- package/dist/safe-bash-command-apply-patch/index.js +1 -1
- package/dist/safe-bash-command-awk/awk-inspection.js +2 -2
- package/dist/safe-bash-command-awk/awk.js +5 -5
- package/dist/safe-bash-command-awk/index.js +5 -5
- package/dist/safe-bash-command-cp/index.js +4 -4
- package/dist/safe-bash-command-csvkit/index.js +1 -1
- package/dist/safe-bash-command-diff/diff.js +2 -2
- package/dist/safe-bash-command-diff/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.js +2 -2
- package/dist/safe-bash-command-node/commands/node/browser.js +6 -6
- package/dist/safe-bash-command-node/commands/node/default-runtime.js +6 -6
- package/dist/safe-bash-command-node/commands/node/filesystem.js +2 -2
- package/dist/safe-bash-command-node/commands/node/safejs.js +6 -6
- package/dist/safe-bash-command-node/commands/node/timers.js +2 -2
- package/dist/safe-bash-command-patch/index.js +3 -3
- package/dist/safe-bash-command-patch/patch-formats.js +2 -2
- package/dist/safe-bash-command-patch/patch.js +3 -3
- package/dist/safe-bash-command-patch/unified.js +1 -1
- package/dist/safe-bash-command-pdftoppm/index.js +89 -124
- package/dist/safe-bash-command-pdftotext/index.d.ts +1 -1
- package/dist/safe-bash-command-pdftotext/index.js +538 -379
- package/dist/safe-bash-command-playwright-cli/index.js +19 -19
- package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +6 -6
- package/dist/safe-bash-command-playwright-cli/playwright/adapter.js +3 -3
- package/dist/safe-bash-command-playwright-cli/playwright/controller.js +13 -13
- package/dist/safe-bash-command-playwright-cli/playwright/index.js +19 -19
- package/dist/safe-bash-command-playwright-cli/playwright/native-storage-replacement.js +2 -2
- package/dist/safe-bash-command-playwright-cli/playwright/open-options.js +2 -2
- package/dist/safe-bash-command-playwright-cli/playwright/profile.js +5 -5
- package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +4 -4
- package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +3 -3
- package/dist/safe-bash-command-pptx/engine.js +1 -1
- package/dist/safe-bash-command-python/executor.js +10 -10
- package/dist/safe-bash-command-python/index.js +10 -10
- package/dist/safe-bash-command-python/jspi.js +2 -2
- package/dist/safe-bash-command-safejs/index.js +2 -2
- package/dist/safe-bash-command-safejs/runtime.js +2 -2
- package/dist/safe-bash-command-ssconvert/index.js +16 -16
- package/dist/safe-bash-command-unzip/index.js +4 -4
- package/dist/safe-bash-docx-engine/ancillary-resources.js +10 -10
- package/dist/safe-bash-docx-engine/batch-operations.js +67 -67
- package/dist/safe-bash-docx-engine/batch-result-schema.js +79 -79
- package/dist/safe-bash-docx-engine/batch.js +78 -78
- package/dist/safe-bash-docx-engine/bookmarks.js +18 -18
- package/dist/safe-bash-docx-engine/charts.js +11 -11
- package/dist/safe-bash-docx-engine/command-option-rules.js +6 -6
- package/dist/safe-bash-docx-engine/command-properties.js +3 -3
- package/dist/safe-bash-docx-engine/comments.js +26 -26
- package/dist/safe-bash-docx-engine/control-bindings.js +21 -21
- package/dist/safe-bash-docx-engine/control-repeat.js +21 -21
- package/dist/safe-bash-docx-engine/controls.js +19 -19
- package/dist/safe-bash-docx-engine/create.js +11 -11
- package/dist/safe-bash-docx-engine/diagrams.js +11 -11
- package/dist/safe-bash-docx-engine/diff.js +13 -13
- package/dist/safe-bash-docx-engine/document-properties.js +16 -16
- package/dist/safe-bash-docx-engine/equations.js +17 -17
- package/dist/safe-bash-docx-engine/extract.js +14 -14
- package/dist/safe-bash-docx-engine/fields.js +23 -23
- package/dist/safe-bash-docx-engine/font-inventory.js +18 -18
- package/dist/safe-bash-docx-engine/font-resources.js +6 -6
- package/dist/safe-bash-docx-engine/image-batch-operations.js +14 -14
- package/dist/safe-bash-docx-engine/image-insertion.js +21 -21
- package/dist/safe-bash-docx-engine/image-layout.js +19 -19
- package/dist/safe-bash-docx-engine/image-replacement.js +22 -22
- package/dist/safe-bash-docx-engine/images.js +19 -19
- package/dist/safe-bash-docx-engine/index.js +111 -111
- package/dist/safe-bash-docx-engine/inspection.js +20 -20
- package/dist/safe-bash-docx-engine/invocation.js +9 -9
- package/dist/safe-bash-docx-engine/io.js +9 -9
- package/dist/safe-bash-docx-engine/links.js +21 -21
- package/dist/safe-bash-docx-engine/lists.js +20 -20
- package/dist/safe-bash-docx-engine/locations.js +15 -15
- package/dist/safe-bash-docx-engine/notes.js +22 -22
- package/dist/safe-bash-docx-engine/objects.js +19 -19
- package/dist/safe-bash-docx-engine/operation-json-schema.js +3 -3
- package/dist/safe-bash-docx-engine/operation-schema.js +2 -2
- package/dist/safe-bash-docx-engine/pack.js +14 -14
- package/dist/safe-bash-docx-engine/package-view-batch-operations.js +22 -22
- package/dist/safe-bash-docx-engine/pandoc-adapter.js +29 -29
- package/dist/safe-bash-docx-engine/paragraph-edit.js +25 -25
- package/dist/safe-bash-docx-engine/part-provider.js +3 -3
- package/dist/safe-bash-docx-engine/property-values.js +3 -3
- package/dist/safe-bash-docx-engine/publication.js +9 -9
- package/dist/safe-bash-docx-engine/removal.js +21 -21
- package/dist/safe-bash-docx-engine/revision-decisions.js +22 -22
- package/dist/safe-bash-docx-engine/revision-edit.js +20 -20
- package/dist/safe-bash-docx-engine/revisions.js +18 -18
- package/dist/safe-bash-docx-engine/run-format.js +20 -20
- package/dist/safe-bash-docx-engine/sanitize.js +34 -34
- package/dist/safe-bash-docx-engine/sections.js +19 -19
- package/dist/safe-bash-docx-engine/settings.js +11 -11
- package/dist/safe-bash-docx-engine/shape-edit.js +21 -21
- package/dist/safe-bash-docx-engine/signatures.js +15 -15
- package/dist/safe-bash-docx-engine/stories.js +22 -22
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +38 -38
- package/dist/safe-bash-docx-engine/style-model-batch-operations.js +27 -27
- package/dist/safe-bash-docx-engine/style-model-result-schema.js +44 -44
- package/dist/safe-bash-docx-engine/styles.js +18 -18
- package/dist/safe-bash-docx-engine/table-edit.js +27 -27
- package/dist/safe-bash-docx-engine/table-read.js +16 -16
- package/dist/safe-bash-docx-engine/template.js +22 -22
- package/dist/safe-bash-docx-engine/text-replace.js +20 -20
- package/dist/safe-bash-docx-engine/text-resource-read.js +16 -16
- package/dist/safe-bash-docx-engine/text.js +16 -16
- package/dist/safe-bash-docx-engine/validation.js +7 -7
- package/dist/safe-bash-docx-engine/xml-parts.js +22 -22
- package/dist/safe-bash-network-engine/index.js +4 -4
- package/dist/safe-bash-network-engine/transfer.js +12 -12
- package/dist/safe-bash-presentation-engine/accessibility.js +15 -15
- package/dist/safe-bash-presentation-engine/animation-editing.js +5 -5
- package/dist/safe-bash-presentation-engine/animations.js +5 -5
- package/dist/safe-bash-presentation-engine/backgrounds.js +6 -6
- package/dist/safe-bash-presentation-engine/chart-editing.js +18 -18
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +12 -12
- package/dist/safe-bash-presentation-engine/charts.js +15 -15
- package/dist/safe-bash-presentation-engine/command-placeholder.js +39 -38
- package/dist/safe-bash-presentation-engine/comments.js +6 -6
- package/dist/safe-bash-presentation-engine/connector-operations.js +16 -16
- package/dist/safe-bash-presentation-engine/connectors.js +13 -13
- package/dist/safe-bash-presentation-engine/diff.js +21 -20
- package/dist/safe-bash-presentation-engine/drawing-format.js +7 -7
- package/dist/safe-bash-presentation-engine/drawing-operations.js +15 -15
- package/dist/safe-bash-presentation-engine/drawing-schema.js +8 -8
- package/dist/safe-bash-presentation-engine/equations.js +6 -6
- package/dist/safe-bash-presentation-engine/fields.js +6 -6
- package/dist/safe-bash-presentation-engine/image-extraction.js +7 -7
- package/dist/safe-bash-presentation-engine/image-formatting.js +16 -16
- package/dist/safe-bash-presentation-engine/image-insertion.js +6 -6
- package/dist/safe-bash-presentation-engine/image-replacement.js +7 -7
- package/dist/safe-bash-presentation-engine/images.js +6 -6
- package/dist/safe-bash-presentation-engine/index.js +96 -95
- package/dist/safe-bash-presentation-engine/layouts.js +5 -5
- package/dist/safe-bash-presentation-engine/links.js +5 -5
- package/dist/safe-bash-presentation-engine/masters.js +4 -4
- package/dist/safe-bash-presentation-engine/media-editing.js +10 -10
- package/dist/safe-bash-presentation-engine/media-extraction.js +6 -6
- package/dist/safe-bash-presentation-engine/media.js +5 -5
- package/dist/safe-bash-presentation-engine/memberships.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/memberships.js +12 -6
- package/dist/safe-bash-presentation-engine/notes.js +6 -6
- package/dist/safe-bash-presentation-engine/ole-insertion.js +6 -6
- package/dist/safe-bash-presentation-engine/opaque-objects.js +2 -2
- package/dist/safe-bash-presentation-engine/package-tools.js +6 -6
- package/dist/safe-bash-presentation-engine/presentation-model.js +38 -37
- package/dist/safe-bash-presentation-engine/presentation-settings.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/presentation-settings.js +12 -5
- package/dist/safe-bash-presentation-engine/properties.js +7 -6
- package/dist/safe-bash-presentation-engine/retained-inspection.js +3 -3
- package/dist/safe-bash-presentation-engine/retained-memberships.d.ts +25 -0
- package/dist/safe-bash-presentation-engine/retained-presentation-settings.d.ts +25 -0
- package/dist/safe-bash-presentation-engine/retained-tags.d.ts +20 -0
- package/dist/safe-bash-presentation-engine/retained-text.d.ts +24 -4
- package/dist/safe-bash-presentation-engine/retained-text.js +17 -15
- package/dist/safe-bash-presentation-engine/sanitize.js +8 -7
- package/dist/safe-bash-presentation-engine/selectors.js +2 -2
- package/dist/safe-bash-presentation-engine/shape-groups.js +15 -15
- package/dist/safe-bash-presentation-engine/shape-operations.js +14 -14
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +16 -16
- package/dist/safe-bash-presentation-engine/shape-paths.js +5 -5
- package/dist/safe-bash-presentation-engine/shape-selection.js +15 -15
- package/dist/safe-bash-presentation-engine/shape-transforms.js +5 -5
- package/dist/safe-bash-presentation-engine/shapes.js +11 -11
- package/dist/safe-bash-presentation-engine/slide-copy.js +7 -5
- package/dist/safe-bash-presentation-engine/slide-import.js +6 -6
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +8 -8
- package/dist/safe-bash-presentation-engine/slide-model.js +24 -24
- package/dist/safe-bash-presentation-engine/slide-removal.js +7 -7
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +2 -2
- package/dist/safe-bash-presentation-engine/slides.js +5 -5
- package/dist/safe-bash-presentation-engine/table-operations.js +17 -17
- package/dist/safe-bash-presentation-engine/table-spans.js +16 -16
- package/dist/safe-bash-presentation-engine/tables.js +15 -15
- package/dist/safe-bash-presentation-engine/tags.d.ts +2 -0
- package/dist/safe-bash-presentation-engine/tags.js +15 -7
- package/dist/safe-bash-presentation-engine/template-bindings.js +16 -16
- package/dist/safe-bash-presentation-engine/template-repeat.js +24 -22
- package/dist/safe-bash-presentation-engine/text-fitting.js +11 -11
- package/dist/safe-bash-presentation-engine/text-frames.js +11 -11
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +11 -11
- package/dist/safe-bash-presentation-engine/text-reading.js +3 -3
- package/dist/safe-bash-presentation-engine/text-replacement.js +6 -6
- package/dist/safe-bash-presentation-engine/text-runs.js +8 -8
- package/dist/safe-bash-presentation-engine/themes.js +5 -5
- package/dist/safe-bash-presentation-engine/transitions.js +5 -5
- package/dist/safe-bash-presentation-engine/validation.js +2 -2
- package/dist/safe-bash-presentation-engine/xml-parts.js +5 -5
- package/dist/safe-bash-xml-engine/document.js +2 -2
- package/dist/safe-bash-xml-engine/index.js +2 -2
- package/dist/safe-bash-xml-engine/recovery.d.ts +6 -2
- package/dist/safe-bash-xml-engine/stored-document.d.ts +3 -0
- package/dist/safe-bash-xml-engine/stored-document.js +1 -1
- package/dist/safe-bash-xml-engine/stored-evaluate.js +2 -2
- package/dist/safe-bash-xml-engine/stored-map.d.ts +21 -0
- package/dist/safe-bash-zip-engine/index.js +3 -3
- package/dist/safe-bash-zip-engine/zip/repair.js +3 -3
- package/dist/safe-bash-zip-engine/zip/safety.js +1 -1
- package/dist/safe-bash-zip-engine/zip/sfx.js +3 -3
- package/dist/safe-bash-zip-engine/zip/volumes.js +1 -1
- package/dist/safe-bash-zip-engine/zip-format.js +3 -3
- package/dist/spreadsheet-engine/formatting/cell-text.js +1 -1
- package/dist/spreadsheet-engine/{rendering/print → formatting}/general-number.js +3 -3
- package/dist/spreadsheet-engine/formulas/functions/python-printf.js +9 -7
- package/dist/spreadsheet-engine/solver/program.js +3 -2
- package/dist/spreadsheet-engine/solver/run.js +8 -2
- package/dist/spreadsheet-engine/solver/sensitivity.d.ts +4 -2
- package/dist/spreadsheet-engine/solver/sensitivity.js +80 -42
- package/dist/spreadsheet-format-xls/biff-properties-merge.d.ts +2 -1
- package/dist/spreadsheet-format-xls/biff-properties-merge.js +36 -30
- package/dist/spreadsheet-format-xls/biff-properties-write.js +16 -7
- package/dist/spreadsheet-format-xls/biff-properties.d.ts +4 -2
- package/dist/spreadsheet-format-xls/biff-properties.js +141 -122
- package/dist/spreadsheet-format-xls/biff-property-names.d.ts +27 -0
- package/dist/spreadsheet-format-xls/biff-property-names.js +210 -0
- package/dist/spreadsheet-format-xls/biff-property-observations.d.ts +33 -0
- package/dist/spreadsheet-format-xls/biff-property-observations.js +160 -0
- package/dist/xlsx-ast/comment-geometry.js +1 -1
- package/package.json +7 -4
- package/third-party/pdf-ast/THIRD_PARTY_NOTICES.md +15 -0
- package/third-party/pdf-ast/licenses/PYTHON-PSF.txt +254 -0
- package/third-party/pdf-ast/licenses/V8-BSD.txt +61 -0
- package/dist/safe-bash/command-chunks/biff-UBP2BZLK-JPODPKS3.js +0 -5448
- package/dist/safe-bash/command-chunks/chunk-6EZWG56T.js +0 -455
- package/dist/safe-bash/command-chunks/chunk-O2HNOQQG.js +0 -161
- package/dist/safe-bash/command-chunks/chunk-ZUP5TBRG.js +0 -99
- package/dist/safe-bash/command-chunks/model-store-I7YAWL5V.js +0 -54
- package/dist/safe-bash/command-chunks/odf-3EA3EVSD-7B5GVNTC.js +0 -3097
- package/dist/safe-bash/command-chunks/{chunk-SRXARACJ.js → chunk-3TP4SSPS.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-NCNHJRIY.js → chunk-3W3HLPCX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-P4OWVKMD.js → chunk-BQXKO3X7.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OCOJMKDP.js → chunk-CVMHDJ7J.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-AV6N7DDA.js → chunk-DDYPQAXN.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FEKECRJP.js → chunk-EBTKM7KX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WVD5WZXD.js → chunk-FPNUGKCX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-6W4RMBFH.js → chunk-N6VNHC3B.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-M3OXQXCU.js → chunk-NBRXQUK7.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-LECGQSQW.js → chunk-SF56V6QK.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-2ANW3FXH.js → chunk-U33GIOUY.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-5QXRIZSS.js → chunk-V3NKL42J.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OEKLEUUW.js → chunk-YZE7BKHC.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WXW665TV.js → chunk-ZSHXZ3XG.js} +6 -6
- package/dist/safe-bash/command-chunks/{dif-BXKPQOCO-4KB3RC6G.js → dif-BXKPQOCO-FVJYYGYB.js} +4 -4
- package/dist/safe-bash/command-chunks/{pln-DFS7VLVS-OVOBS4QX.js → pln-DFS7VLVS-JATX6FS7.js} +3 -3
- package/dist/safe-bash/command-chunks/{psion-YBI6JEQI-GY4S6ZLC.js → psion-YBI6JEQI-6OMC2PGC.js} +3 -3
- package/dist/safe-bash/command-chunks/{sylk-25D7TL2Y-RU6ANKGT.js → sylk-25D7TL2Y-NJKBZZTF.js} +4 -4
- /package/dist/spreadsheet-engine/{rendering/print → formatting}/general-number.d.ts +0 -0
package/dist/image-ast/index.js
CHANGED
|
@@ -297,7 +297,7 @@ function checkLimitInputPixels(width, height, options) {
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
// src/image-pdf.ts
|
|
300
|
-
import { PdfFileSource as PdfFileSource2,
|
|
300
|
+
import { PdfFileSource as PdfFileSource2, PdfRetainedReader, PdfError, renderRetainedPagePixels } from "../pdf-ast/image.js";
|
|
301
301
|
import { normalizePath } from "@poe-platform/safe-fs/contracts";
|
|
302
302
|
|
|
303
303
|
// src/codecs/svg-transform.ts
|
|
@@ -1890,7 +1890,7 @@ async function openPdfImage(source, fs, directory, signal, options, storage) {
|
|
|
1890
1890
|
if (failure) throw failure.error;
|
|
1891
1891
|
};
|
|
1892
1892
|
try {
|
|
1893
|
-
document = await
|
|
1893
|
+
document = await PdfRetainedReader.open(retained, { fs, directory }, { signal, recovery: "repair", compactNumbers: !0, compactKeywords: !0, chunkBytes: 16384, maxNodes: 1 / 0, maxTokenBytes: 1 / 0, maxRecursionDepth: 1 / 0, maxPageTreeDepth: 1 / 0, xref: { arrayStorage: values, storedArrayKeys: ["Index"] }, valueArrays: { dictionaryStorage: values, deferDictionaryValues: !0, storedDictionaryKeys: ["Font", "XObject", "Properties"], storedDictionaryPaths: [["Resources", "*"]], containerStorage: values, stringStorage: values, storedStringKeys: ["ActualText"], arrayStorage: values, storedArrayKeys: ["Contents", "Annots", "Kids", "Widths", "W", "Differences", "ON", "OFF", "OCGs"], storedArrayPaths: [["ExtGState", "*", "D"]] } });
|
|
1894
1894
|
let pages = 0, selected;
|
|
1895
1895
|
for await (let page of document.pages())
|
|
1896
1896
|
pages++, page.index <= Math.max(0, settings.page ?? 0) && (selected = page);
|
package/dist/mp4-ast/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from "./containers/streaming.js";
|
|
|
12
12
|
export { decodeH264Samples } from "./h264.js";
|
|
13
13
|
export { scanMp4SampleTable, type Mp4SampleTables, type Mp4TableRange, type Mp4SampleSpan, type Mp4SampleScanOptions } from "./mp4-sample-source.js";
|
|
14
14
|
export { scanMp4Fragment, type Mp4FragmentDefaults, type Mp4FragmentState, type Mp4FragmentScanOptions } from "./mp4-fragment-source.js";
|
|
15
|
-
export { scanMp4Packets, scanMp4Frames, type Mp4PacketScanOptions } from './mp4-packets-source.js';
|
|
15
|
+
export { scanMp4Packets, scanMp4Frames, probeMp4Source, type Mp4SourceProbeOptions, type Mp4PacketScanOptions } from './mp4-packets-source.js';
|
|
16
16
|
export { scanMp4CodecDescriptions } from './mp4-codec-source.js';
|
|
17
17
|
export type { Mp4CodecMetadata } from './mp4-codec-metadata.js';
|
|
18
|
+
export { probeMp4MetadataSource } from './mp4-metadata-source.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Mp4BoxScanOptions } from './mp4-source.js';
|
|
2
|
+
import { type MediaProbeSource, type MediaProbeSourceTags, type MediaProbeText, type MediaProbeSourceChapter } from './types.js';
|
|
3
|
+
type MetadataOptions = Pick<Mp4BoxScanOptions, 'budget' | 'signal' | 'checkpoint'>;
|
|
4
|
+
/** Probe-only tags and chapters. Caller retains the source until all field/row reads finish. */
|
|
5
|
+
export declare function probeMp4MetadataSource(source: MediaProbeSource, durationSeconds: number, options?: MetadataOptions): Promise<{
|
|
6
|
+
tags: MediaProbeSourceTags;
|
|
7
|
+
chapters: AsyncIterable<MediaProbeSourceChapter>;
|
|
8
|
+
}>;
|
|
9
|
+
export declare function mp4SourceText(source: MediaProbeSource, offset: number, length: number, work: MetadataOptions, latin1?: boolean): MediaProbeText;
|
|
10
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Mp4SampleScanOptions } from './mp4-sample-source.js';
|
|
2
|
-
import { type MediaProbePacket, type MediaProbeFrame, type MediaProbeSource, type MediaResourceLimits } from './types.js';
|
|
2
|
+
import { type MediaProbePacket, type MediaProbeFrame, type MediaProbeSource, type MediaResourceLimits, type MediaProbeSourceRecords } from './types.js';
|
|
3
3
|
export interface Mp4PacketScanOptions extends Omit<Mp4SampleScanOptions, 'type' | 'syncSamples'> {
|
|
4
4
|
readonly limits?: MediaResourceLimits;
|
|
5
5
|
/** A fresh caller-owned membership index for each track; its lifetime belongs to the caller. */
|
|
@@ -9,3 +9,10 @@ export interface Mp4PacketScanOptions extends Omit<Mp4SampleScanOptions, 'type'
|
|
|
9
9
|
export declare function scanMp4Packets(source: MediaProbeSource, options?: Mp4PacketScanOptions): AsyncGenerator<MediaProbePacket, void>;
|
|
10
10
|
/** Replay frame descriptors with bounded scalar codec metadata; no media decoding. */
|
|
11
11
|
export declare function scanMp4Frames(source: MediaProbeSource, options?: Mp4PacketScanOptions): AsyncGenerator<MediaProbeFrame, void>;
|
|
12
|
+
export interface Mp4SourceProbeOptions extends Mp4PacketScanOptions {
|
|
13
|
+
readonly filename?: string;
|
|
14
|
+
readonly showPackets?: boolean;
|
|
15
|
+
readonly showFrames?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/** Bounded native metadata and replayable record sources. The caller owns input and indexes. */
|
|
18
|
+
export declare function probeMp4Source(source: MediaProbeSource, options?: Mp4SourceProbeOptions): Promise<MediaProbeSourceRecords>;
|
package/dist/mp4-ast/types.d.ts
CHANGED
|
@@ -375,12 +375,30 @@ export type MediaProbeRecords = Omit<MediaProbeResult, "packets" | "frames"> & {
|
|
|
375
375
|
readonly packets?: Iterable<MediaProbePacket> | undefined;
|
|
376
376
|
readonly frames?: Iterable<MediaProbeFrame> | undefined;
|
|
377
377
|
};
|
|
378
|
+
/** Replayable bounded string chunks. The caller keeps backing alive through all reads.
|
|
379
|
+
* CSV quoting may read a field twice. Each invocation must return the same text.
|
|
380
|
+
*/
|
|
381
|
+
export interface MediaProbeText {
|
|
382
|
+
readonly kind: 'text';
|
|
383
|
+
chunks(): Iterable<string> | AsyncIterable<string>;
|
|
384
|
+
}
|
|
385
|
+
export type MediaProbeSourceTags = Readonly<Record<string, string | MediaProbeText>>;
|
|
386
|
+
export type MediaProbeSourceStream = Omit<MediaProbeStream, 'tags'> & {
|
|
387
|
+
readonly tags?: MediaProbeSourceTags | undefined;
|
|
388
|
+
};
|
|
389
|
+
export type MediaProbeSourceFormat = Omit<MediaProbeFormat, 'tags'> & {
|
|
390
|
+
readonly tags?: MediaProbeSourceTags | undefined;
|
|
391
|
+
};
|
|
392
|
+
export type MediaProbeSourceChapter = Omit<MediaProbeResult['chapters'][number], 'tags'> & {
|
|
393
|
+
readonly tags: MediaProbeSourceTags;
|
|
394
|
+
};
|
|
378
395
|
/** Caller-backed, one-shot record sources. Consume before retiring the input source. */
|
|
379
|
-
export type MediaProbeSourceRecords = Omit<MediaProbeResult, "streams" | "chapters" | "packets" | "frames"> & {
|
|
396
|
+
export type MediaProbeSourceRecords = Omit<MediaProbeResult, "format" | "streams" | "chapters" | "packets" | "frames"> & {
|
|
380
397
|
/** Retire plugin-owned backing after all requested records, including unselected sections. */
|
|
381
398
|
readonly close?: () => Promise<void>;
|
|
382
|
-
readonly
|
|
383
|
-
readonly
|
|
399
|
+
readonly format: MediaProbeSourceFormat;
|
|
400
|
+
readonly streams: Iterable<MediaProbeSourceStream> | AsyncIterable<MediaProbeSourceStream>;
|
|
401
|
+
readonly chapters: Iterable<MediaProbeSourceChapter> | AsyncIterable<MediaProbeSourceChapter>;
|
|
384
402
|
readonly packets?: Iterable<MediaProbePacket> | AsyncIterable<MediaProbePacket> | undefined;
|
|
385
403
|
readonly frames?: Iterable<MediaProbeFrame> | AsyncIterable<MediaProbeFrame> | undefined;
|
|
386
404
|
};
|
package/dist/pdf-ast/ast.d.ts
CHANGED
|
@@ -253,6 +253,8 @@ export interface PdfStoredOperations {
|
|
|
253
253
|
}
|
|
254
254
|
/** A transparency-group mask evaluated in page coordinates at the gs operator. */
|
|
255
255
|
export interface PdfSoftMask {
|
|
256
|
+
/** Identity within one retained page evaluation, preserved across capture records. */
|
|
257
|
+
readonly retainedId?: number;
|
|
256
258
|
readonly subtype: "Alpha" | "Luminosity";
|
|
257
259
|
readonly operations: readonly PdfPaintOperation[];
|
|
258
260
|
readonly storedOperations?: PdfStoredOperations | undefined;
|
|
@@ -60,6 +60,7 @@ export declare function evalShadingFunctionSteps(doc: ParsedCosDocument, fnNode:
|
|
|
60
60
|
export type PdfColorRequest = PdfResourceRequest | {
|
|
61
61
|
readonly kind: "resolve";
|
|
62
62
|
readonly node: PdfCosNode | undefined;
|
|
63
|
+
readonly storeRootDictionary?: boolean;
|
|
63
64
|
} | {
|
|
64
65
|
readonly kind: "decode";
|
|
65
66
|
readonly stream: PdfCosStream;
|
|
@@ -76,6 +77,16 @@ export type PdfColorRequest = PdfResourceRequest | {
|
|
|
76
77
|
};
|
|
77
78
|
type ColorWork<T> = Generator<PdfColorRequest, T, unknown>;
|
|
78
79
|
export type PdfMaskParameterRequest = PdfColorRequest | {
|
|
80
|
+
readonly kind: "numeric-array";
|
|
81
|
+
readonly node: PdfCosNode | undefined;
|
|
82
|
+
readonly owner: PdfCosDict;
|
|
83
|
+
readonly count: number;
|
|
84
|
+
} | {
|
|
85
|
+
readonly kind: "dictionary-value";
|
|
86
|
+
readonly dict: PdfCosDict;
|
|
87
|
+
readonly key: string;
|
|
88
|
+
readonly preserveDeferred?: boolean;
|
|
89
|
+
} | {
|
|
79
90
|
readonly kind: "transfer";
|
|
80
91
|
readonly node: PdfCosNode;
|
|
81
92
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PdfIndexStorage } from "../cos/object-index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { PdfRetainedReader } from "../retained-reader.js";
|
|
3
3
|
import { type PdfContentEvaluationOptions, type PdfEvaluationOperation } from "./evaluator.js";
|
|
4
4
|
import type { PdfContentEvent } from "./parser.js";
|
|
5
5
|
import type { ParseContentRangeOptions } from "./range-operator-parser.js";
|
|
@@ -21,4 +21,4 @@ export type PdfRetainedEvaluationParameters = Omit<PdfContentEvaluationOptions,
|
|
|
21
21
|
/** Drive shared evaluation using retained input and caller-backed staging.
|
|
22
22
|
* Paint operations are pulled on demand. With imageStorage, paths and images
|
|
23
23
|
* use caller backing. Composite captures store replayable operation records there. */
|
|
24
|
-
export declare function evaluateRetainedContentSteps(document:
|
|
24
|
+
export declare function evaluateRetainedContentSteps(document: PdfRetainedReader, content: AsyncIterable<Uint8Array> | Iterable<Uint8Array> | PdfRetainedContentEvents, params: PdfRetainedEvaluationParameters, storage: PdfIndexStorage, options?: PdfRetainedEvaluationOptions): AsyncGenerator<PdfEvaluationOperation, void, void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PdfCosDict } from "../ast.js";
|
|
2
2
|
import type { PdfIndexStorage } from "../cos/object-index.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { PdfRetainedReader, PdfRetainedPage } from "../retained-reader.js";
|
|
4
4
|
import type { PdfContentEvent } from "./parser.js";
|
|
5
5
|
import type { PdfRetainedEvaluationOptions } from "./retained-evaluator.js";
|
|
6
6
|
export interface PdfRetainedPageEvaluationOptions extends PdfRetainedEvaluationOptions {
|
|
@@ -9,7 +9,7 @@ export interface PdfRetainedPageEvaluationOptions extends PdfRetainedEvaluationO
|
|
|
9
9
|
/** Resources from all nonempty appearances precede base-page evaluation, just
|
|
10
10
|
* as in the buffered API. A prepass avoids retaining an appearance plan or its
|
|
11
11
|
* content: each cursor closes before the next annotation. */
|
|
12
|
-
export declare function prepareRetainedPageContent(document:
|
|
12
|
+
export declare function prepareRetainedPageContent(document: PdfRetainedReader, page: PdfRetainedPage, pageResources: PdfCosDict, storage: PdfIndexStorage, options: PdfRetainedPageEvaluationOptions): Promise<{
|
|
13
13
|
resources: PdfCosDict;
|
|
14
14
|
events: AsyncGenerator<PdfContentEvent, void, void>;
|
|
15
15
|
}>;
|
|
@@ -4,6 +4,8 @@ export interface ValueArrayStorage {
|
|
|
4
4
|
readonly dictionaryStorage?: PdfPixelStorage;
|
|
5
5
|
/** Defer unused resource values; all value and container stores must share backing. */
|
|
6
6
|
readonly deferDictionaryValues?: boolean;
|
|
7
|
+
/** Also defer children of backed arrays; requires deferDictionaryValues. */
|
|
8
|
+
readonly deferArrayValues?: boolean;
|
|
7
9
|
/** Select resource maps; their entry names are data, not nested map selectors. */
|
|
8
10
|
readonly storedDictionaryKeys?: readonly string[];
|
|
9
11
|
/** Select dictionary path suffixes; entry names of backed maps remain opaque. */
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PdfIndexStorage } from "../cos/object-index.js";
|
|
2
|
+
import type { PdfRetainedDocument, PdfRetainedPage } from "../retained-document.js";
|
|
3
|
+
import type { PdfRawTextIndex } from "./raw-text-index.js";
|
|
4
|
+
export interface PdfHtmlPageTextOptions {
|
|
5
|
+
readonly xml?: boolean;
|
|
6
|
+
readonly zoom?: number;
|
|
7
|
+
readonly height: number;
|
|
8
|
+
readonly signal?: AbortSignal;
|
|
9
|
+
/** Image markup belongs after XML font definitions and before page text. */
|
|
10
|
+
readonly images?: () => AsyncIterable<string>;
|
|
11
|
+
}
|
|
12
|
+
/** Format styled text with replayable caller-backed word and font indexes.
|
|
13
|
+
* The caller owns the document and text index throughout consumption. */
|
|
14
|
+
export declare function streamHtmlPageText(document: PdfRetainedDocument, page: PdfRetainedPage, index: PdfRawTextIndex, storage: PdfIndexStorage, options: PdfHtmlPageTextOptions): AsyncGenerator<string, void, void>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PdfStoredTextBlock } from './raw-text-index.js';
|
|
2
|
+
export interface PdfLogicalTextOptions {
|
|
3
|
+
readonly crop?: readonly [number, number, number, number];
|
|
4
|
+
readonly rejoinHyphens?: boolean;
|
|
5
|
+
readonly chunkBytes?: number;
|
|
6
|
+
/** Formatter scratch only; the caller retains ownership of its text index. */
|
|
7
|
+
readonly maxWorkingBytes?: number;
|
|
8
|
+
readonly signal?: AbortSignal;
|
|
9
|
+
}
|
|
10
|
+
/** Stream an indexed hierarchy without retaining a line or word string. One
|
|
11
|
+
* trailing hyphen is delayed until the next surviving line determines joining. */
|
|
12
|
+
export declare function streamLogicalTextChunks(index: {
|
|
13
|
+
blocks(): AsyncIterable<PdfStoredTextBlock>;
|
|
14
|
+
}, options?: PdfLogicalTextOptions): AsyncGenerator<Uint8Array, void, void>;
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type PdfTextGlyph } from "./stored-text-glyphs.js";
|
|
2
|
+
import type { PdfRect } from "../ast.js";
|
|
2
3
|
import type { PdfIndexStorage } from "../cos/object-index.js";
|
|
3
4
|
import type { ExtractTextOptions } from "./text.js";
|
|
4
5
|
/** Retained extraction may borrow replacement text from caller-owned storage.
|
|
5
6
|
* An explicit actualText string takes precedence. Keep storage alive until create completes. */
|
|
6
|
-
export type PdfRawTextGlyph =
|
|
7
|
-
export interface PdfRawTextIndexOptions extends Pick<ExtractTextOptions, "discardDiagonal" | "clipText"> {
|
|
7
|
+
export type PdfRawTextGlyph = PdfTextGlyph;
|
|
8
|
+
export interface PdfRawTextIndexOptions extends Pick<ExtractTextOptions, "discardDiagonal" | "clipText" | "mode" | "colSpacing"> {
|
|
8
9
|
/** Page-rounded high-water allocation, including records and UTF-16 text. */
|
|
9
10
|
readonly maxStorageBytes?: number;
|
|
11
|
+
/** Required page geometry for logical column classification. */
|
|
12
|
+
readonly pageWidth?: number;
|
|
13
|
+
/** Retain first-glyph font names on each word for styled extraction. */
|
|
14
|
+
readonly retainFontNames?: boolean;
|
|
10
15
|
/** Fixed scratch: 81920 bytes for string inputs, 131072 when decoding stored
|
|
11
|
-
* replacements. Caller-owned glyph strings are not included. */
|
|
16
|
+
* replacements, 327680 for geometric order, 409600 for logical column order (three caches and normalization). Caller-owned glyph strings are not included. */
|
|
12
17
|
readonly maxWorkingBytes?: number;
|
|
13
18
|
readonly maxWords?: number;
|
|
14
19
|
readonly maxLines?: number;
|
|
@@ -16,6 +21,7 @@ export interface PdfRawTextIndexOptions extends Pick<ExtractTextOptions, "discar
|
|
|
16
21
|
readonly signal?: AbortSignal;
|
|
17
22
|
}
|
|
18
23
|
export interface PdfStoredTextWord {
|
|
24
|
+
fontName?(): AsyncGenerator<string, void, void>;
|
|
19
25
|
readonly bbox: PdfRect;
|
|
20
26
|
readonly fontSize: number;
|
|
21
27
|
text(): AsyncGenerator<string, void, void>;
|
|
@@ -33,11 +39,13 @@ export interface PdfStoredTextBlock {
|
|
|
33
39
|
/** A raw-order text hierarchy whose records and strings live on caller storage.
|
|
34
40
|
* Iterators borrow the index lifetime; close after their final consumption. */
|
|
35
41
|
export declare class PdfRawTextIndex {
|
|
42
|
+
private readonly storage;
|
|
36
43
|
private readonly options;
|
|
37
44
|
private readonly backing;
|
|
38
45
|
private readonly signal;
|
|
39
46
|
private readonly textBuffer;
|
|
40
47
|
private allocated;
|
|
48
|
+
private orderStorage;
|
|
41
49
|
private firstBlock;
|
|
42
50
|
private blockCount;
|
|
43
51
|
private closed;
|
|
@@ -55,5 +63,11 @@ export declare class PdfRawTextIndex {
|
|
|
55
63
|
private words;
|
|
56
64
|
private lines;
|
|
57
65
|
blocks(): AsyncGenerator<PdfStoredTextBlock, void, void>;
|
|
66
|
+
/** Stream physical rows; sorting and merge arrays stay in caller backing.
|
|
67
|
+
* Replaying a row twice trims an arbitrarily long whitespace suffix without
|
|
68
|
+
* retaining it, while preserving all interior whitespace and fixed spacing. */
|
|
69
|
+
layoutText(options?: Pick<ExtractTextOptions, "fixedPitch" | "lineSpacing"> & {
|
|
70
|
+
readonly crop?: PdfRect;
|
|
71
|
+
}): AsyncGenerator<string, void, void>;
|
|
58
72
|
close(): Promise<void>;
|
|
59
73
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PdfCosDict, type PdfCosNode, type PdfCosStream, type PdfEvaluatedImage } from "../ast.js";
|
|
2
2
|
import { type PdfEvaluationShadingRequest } from "../content/evaluator.js";
|
|
3
3
|
import type { PdfIndexStorage } from "../cos/object-index.js";
|
|
4
|
-
import type {
|
|
4
|
+
import type { PdfRetainedReader } from "../retained-reader.js";
|
|
5
5
|
import { type ResolvedColorSpace } from "./images.js";
|
|
6
6
|
export interface PdfRetainedColorOptions {
|
|
7
7
|
/** Admission for retained color metadata, palette/function bytes and palette
|
|
@@ -17,19 +17,19 @@ export interface PdfRetainedColorOptions {
|
|
|
17
17
|
readonly chunkBytes?: number;
|
|
18
18
|
readonly signal?: AbortSignal;
|
|
19
19
|
}
|
|
20
|
-
export declare function resolveRetainedImageColor(document:
|
|
20
|
+
export declare function resolveRetainedImageColor(document: PdfRetainedReader, node: PdfCosNode | undefined, resources: PdfCosDict | undefined, storage: PdfIndexStorage, options?: PdfRetainedColorOptions): Promise<ResolvedColorSpace>;
|
|
21
21
|
/** Keeps range-backed tint resources alive until the image owner closes. */
|
|
22
|
-
export declare function openRetainedImageColor(document:
|
|
22
|
+
export declare function openRetainedImageColor(document: PdfRetainedReader, node: PdfCosNode | undefined, resources: PdfCosDict | undefined, storage: PdfIndexStorage, options?: PdfRetainedColorOptions): Promise<{
|
|
23
23
|
color: ResolvedColorSpace;
|
|
24
24
|
close: () => Promise<void>;
|
|
25
25
|
}>;
|
|
26
26
|
/** Resolve the same vector colors as buffered evaluation using retained reads.
|
|
27
27
|
* Palette/function state is admitted; unrelated resources and ICC payloads are
|
|
28
28
|
* not read. The returned RGB value has no retained source lifetime. */
|
|
29
|
-
export declare function convertRetainedContentColor(document:
|
|
29
|
+
export declare function convertRetainedContentColor(document: PdfRetainedReader, node: PdfCosNode | undefined, name: string, components: readonly number[], resources: PdfCosDict | undefined, storage: PdfIndexStorage, options?: PdfRetainedColorOptions): Promise<[number, number, number]>;
|
|
30
30
|
/** Resolve only mask backdrop and transfer state, without decoding the Form. */
|
|
31
|
-
export declare function resolveRetainedMaskParameters(document:
|
|
31
|
+
export declare function resolveRetainedMaskParameters(document: PdfRetainedReader, mask: PdfCosDict, form: PdfCosStream, resources: PdfCosDict | undefined, storage: PdfIndexStorage, options?: PdfRetainedColorOptions): Promise<Pick<import("../ast.js").PdfSoftMask, "backdrop" | "transferMap">>;
|
|
32
32
|
export type PdfRetainedShadingSettings = Omit<PdfEvaluationShadingRequest, "kind" | "dict" | "stream">;
|
|
33
33
|
/** Read only selected shading resources through retained access. Resource
|
|
34
34
|
* snapshots, mesh geometry and the result surface are admitted to one owner. */
|
|
35
|
-
export declare function renderRetainedShading(document:
|
|
35
|
+
export declare function renderRetainedShading(document: PdfRetainedReader, node: PdfCosNode, settings: PdfRetainedShadingSettings, storage: PdfIndexStorage, options?: PdfRetainedColorOptions): Promise<PdfEvaluatedImage | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PdfIndexStorage } from "../cos/object-index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { PdfRetainedReader } from "../retained-reader.js";
|
|
3
3
|
import type { ResolvedColorSpace } from "./images.js";
|
|
4
4
|
import type { PdfRetainedImage } from "./retained-images.js";
|
|
5
5
|
type Input = Pick<PdfRetainedImage, "dict" | "resources" | "contents">;
|
|
@@ -39,7 +39,7 @@ export declare class PdfRetainedDecodedImage {
|
|
|
39
39
|
get globalsByteLength(): number | undefined;
|
|
40
40
|
/** Read before rows finish or close releases this owner's staging. */
|
|
41
41
|
nativeContents(kind?: "image" | "globals"): AsyncGenerator<Uint8Array, void, void>;
|
|
42
|
-
static open(document:
|
|
42
|
+
static open(document: PdfRetainedReader, image: Input, storage: PdfIndexStorage, options?: PdfRetainedImageDecodeOptions): Promise<PdfRetainedDecodedImage>;
|
|
43
43
|
private static decode;
|
|
44
44
|
rows(): AsyncGenerator<Uint8Array, void, void>;
|
|
45
45
|
private consume;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type PdfStoredBytes, type PdfPlacedGlyph } from "../ast.js";
|
|
2
|
+
export type PdfTextGlyph = PdfPlacedGlyph & {
|
|
3
|
+
readonly storedUnicode?: PdfStoredBytes;
|
|
4
|
+
readonly storedFontName?: PdfStoredBytes;
|
|
5
|
+
};
|
|
6
|
+
export declare function glyphText(glyph: PdfTextGlyph, signal: AbortSignal): AsyncGenerator<string, void, void>;
|
|
7
|
+
export declare function glyphFontName(glyph: PdfTextGlyph, signal: AbortSignal): AsyncGenerator<string, void, void>;
|
|
8
|
+
export declare function sameReplacement(a: PdfPlacedGlyph, b: PdfPlacedGlyph, signal: AbortSignal): Promise<boolean>;
|
|
@@ -14,7 +14,11 @@ import type { ParsedCosDocument } from "../cos/parser.js";
|
|
|
14
14
|
import { type ParsedToUnicodeCMap } from "./cmap.js";
|
|
15
15
|
import { type ParsedTrueTypeFont } from "./truetype.js";
|
|
16
16
|
type Matrix6 = [number, number, number, number, number, number];
|
|
17
|
-
export type FontResolutionRequest =
|
|
17
|
+
export type FontResolutionRequest = {
|
|
18
|
+
kind: "dictionary-value";
|
|
19
|
+
dict: PdfCosDict;
|
|
20
|
+
key: string;
|
|
21
|
+
} | PdfDictionaryEntryRequest | {
|
|
18
22
|
kind: "font-encoding";
|
|
19
23
|
array: PdfCosArray;
|
|
20
24
|
} | {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PdfCosDict, PdfPixelStorage } from "../ast.js";
|
|
2
2
|
import type { PdfIndexStorage } from "../cos/object-index.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { PdfRetainedReader } from "../retained-reader.js";
|
|
4
4
|
import { type PdfFontAllocationOptions } from "./memory.js";
|
|
5
5
|
import { type ResolvedPageFont } from "./resolve.js";
|
|
6
6
|
export interface PdfRetainedFontOptions extends PdfFontAllocationOptions {
|
|
@@ -13,4 +13,4 @@ export interface PdfRetainedFontOptions extends PdfFontAllocationOptions {
|
|
|
13
13
|
/** Resolve one font without loading the document or unrelated font programs.
|
|
14
14
|
* Font programs and glyph scratch retain caller resource backing.
|
|
15
15
|
* The caller owns font lifetime. */
|
|
16
|
-
export declare function resolveRetainedFont(document:
|
|
16
|
+
export declare function resolveRetainedFont(document: PdfRetainedReader, storage: PdfIndexStorage, resources: PdfCosDict | undefined, name: string, options?: PdfRetainedFontOptions): Promise<ResolvedPageFont | undefined>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PdfDocument,
|
|
3
|
+
PdfError,
|
|
4
|
+
PdfFileSource,
|
|
5
|
+
PdfRetainedReader,
|
|
6
|
+
renderPdfPageToPng,
|
|
7
|
+
renderRetainedPagePixels
|
|
8
|
+
} from "../safe-bash/command-chunks/chunk-5WS6DXYE.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-NUGQQDGE.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
12
|
+
export {
|
|
13
|
+
PdfDocument,
|
|
14
|
+
PdfError,
|
|
15
|
+
PdfFileSource,
|
|
16
|
+
PdfRetainedReader,
|
|
17
|
+
renderPdfPageToPng,
|
|
18
|
+
renderRetainedPagePixels
|
|
19
|
+
};
|
package/dist/pdf-ast/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { streamHtmlPageText, type PdfHtmlPageTextOptions } from "./extract/html-text-stream.js";
|
|
1
2
|
export type { PdfRetainedPageLabel } from "./extract/retained-page-labels.js";
|
|
2
3
|
export { renderRetainedPagePixels, type PdfRetainedPixelOptions, type PdfRetainedPixels } from "./render/retained-page-pixels.js";
|
|
3
4
|
export * from "./ast.js";
|
|
@@ -82,3 +83,5 @@ export { QpdfJsonValues } from "./cos/qpdf-json-values.js";
|
|
|
82
83
|
export { QpdfJsonDocument, type ApplyQpdfJsonOptions } from "./cos/qpdf-json-document.js";
|
|
83
84
|
export type { RetainedAppendAttachment } from "./edit/retained-append-attachments.js";
|
|
84
85
|
export { parseRetainedFormData } from "./edit/retained-form-data.js";
|
|
86
|
+
export { streamLogicalTextChunks, type PdfLogicalTextOptions } from "./extract/logical-text-stream.js";
|
|
87
|
+
export { encodePostscriptPageChunks } from "./render/postscript.js";
|