@hawkeyexl/manni 4.20.1 → 4.21.0
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/README.md +1 -1
- package/dist/{batch-J626LZ22.js → batch-C534YIAU.js} +14 -14
- package/dist/{build-AYLD6V6Y.js → build-SVKT7QFU.js} +15 -14
- package/dist/{calibrate-2HZFACIX.js → calibrate-AL3MH7TY.js} +15 -15
- package/dist/{capture-NMDIPC6S.js → capture-2F7B4DAD.js} +14 -14
- package/dist/check-BI7OGIVE.js +48 -0
- package/dist/{check-RCSQARQE.js → check-JZINDP3F.js} +13 -13
- package/dist/{check-PQ7S5I3I.js → check-LKPQPQWJ.js} +15 -15
- package/dist/check-OPUMZEVK.js +35 -0
- package/dist/{check-KNQV7GLU.js → check-OW7UD73D.js} +12 -12
- package/dist/{chunk-N3DYE6LJ.js → chunk-22WGKOQ7.js} +5 -5
- package/dist/{chunk-TAJYMXMM.js → chunk-2HOWRAWK.js} +2 -2
- package/dist/{chunk-ROZDHPKA.js → chunk-2NGFDLIM.js} +3 -3
- package/dist/{chunk-GGTCSMNX.js → chunk-2YKUSTHS.js} +4 -4
- package/dist/{chunk-S2HW3CBF.js → chunk-3SFAB75L.js} +5 -5
- package/dist/{chunk-E6JYRVR5.js → chunk-5LE4NH3Z.js} +24 -7
- package/dist/chunk-5LE4NH3Z.js.map +1 -0
- package/dist/{chunk-NDPQ2GQ4.js → chunk-5UJKXOAD.js} +5 -5
- package/dist/chunk-6XK3NTL5.js +706 -0
- package/dist/chunk-6XK3NTL5.js.map +1 -0
- package/dist/{chunk-XPO655IX.js → chunk-762MM6NA.js} +3 -3
- package/dist/{chunk-FIR2MAGS.js → chunk-A4QNKEX4.js} +2 -2
- package/dist/{chunk-YIHIRMXN.js → chunk-AE6KBAAU.js} +4 -4
- package/dist/{chunk-UVC3BUKU.js → chunk-APAF4VWW.js} +3 -3
- package/dist/{chunk-D54BQM5P.js → chunk-ARNI3SJT.js} +7 -7
- package/dist/{chunk-OXCWCEVV.js → chunk-BHGFLRXM.js} +5 -5
- package/dist/{chunk-WRWW6SGG.js → chunk-BJUEOC4G.js} +2 -2
- package/dist/{chunk-MPXMQGJI.js → chunk-BKY6GAFA.js} +8 -8
- package/dist/{chunk-ACJUZFRT.js → chunk-BLXRIAV2.js} +4 -4
- package/dist/{chunk-H3C3UXTA.js → chunk-BXCVOHEX.js} +7 -7
- package/dist/{chunk-ODSIHEIW.js → chunk-BXE4L52Q.js} +2 -2
- package/dist/{chunk-YM2W43DI.js → chunk-CLPC3LKX.js} +13 -9
- package/dist/chunk-CLPC3LKX.js.map +1 -0
- package/dist/{chunk-P6XZ44C2.js → chunk-CREFJCWZ.js} +4 -4
- package/dist/{chunk-OQR3VVAX.js → chunk-CZIO37J5.js} +3 -3
- package/dist/{chunk-OVUQNM7Y.js → chunk-D4QHRVDJ.js} +2 -2
- package/dist/{chunk-WI3PPQQX.js → chunk-D5GBYKDU.js} +2 -2
- package/dist/{chunk-A633WB3N.js → chunk-DENZLZ3Z.js} +22 -20
- package/dist/{chunk-A633WB3N.js.map → chunk-DENZLZ3Z.js.map} +1 -1
- package/dist/{chunk-P5DWBG6T.js → chunk-DMVBIIP3.js} +3 -3
- package/dist/{chunk-LPJ3IB26.js → chunk-DPDG3FHL.js} +17 -3
- package/dist/chunk-DPDG3FHL.js.map +1 -0
- package/dist/{chunk-MTMR65NM.js → chunk-E23KWEPL.js} +2 -2
- package/dist/{chunk-5E3ABFOQ.js → chunk-E7OG5F6S.js} +3 -3
- package/dist/{chunk-5CJ3P5O3.js → chunk-FHJIH6XP.js} +8 -98
- package/dist/chunk-FHJIH6XP.js.map +1 -0
- package/dist/{chunk-O4O6JOGD.js → chunk-GMLOAKOA.js} +16 -4
- package/dist/chunk-GMLOAKOA.js.map +1 -0
- package/dist/{chunk-YYWZ2MSL.js → chunk-H5YWCCBO.js} +16 -11
- package/dist/chunk-H5YWCCBO.js.map +1 -0
- package/dist/{chunk-2GTR24SA.js → chunk-HHJ2HFPP.js} +8 -8
- package/dist/{chunk-Z2T5U7HN.js → chunk-IN5T22FP.js} +2 -2
- package/dist/{chunk-RA2BER5P.js → chunk-IOJD2RFG.js} +2 -2
- package/dist/{chunk-MJZ5HYYL.js → chunk-JQA6RF4R.js} +2 -2
- package/dist/{chunk-MJZ5HYYL.js.map → chunk-JQA6RF4R.js.map} +1 -1
- package/dist/{chunk-ZB3OFSRB.js → chunk-JUUCCML3.js} +4 -4
- package/dist/{chunk-TDG2S5UE.js → chunk-KBSTXL6L.js} +3 -3
- package/dist/{chunk-MJZK7G4B.js → chunk-KCWNJMSS.js} +3 -3
- package/dist/{chunk-EOJEPEYY.js → chunk-KQDRO6N6.js} +2 -2
- package/dist/{chunk-ISDFYXLA.js → chunk-LWBNHK72.js} +15 -13
- package/dist/{chunk-ISDFYXLA.js.map → chunk-LWBNHK72.js.map} +1 -1
- package/dist/{chunk-HGUCJ3K3.js → chunk-MTCOBRCX.js} +4 -4
- package/dist/{chunk-N2VB6UUE.js → chunk-NLJ3XIKT.js} +7 -5
- package/dist/{chunk-N2VB6UUE.js.map → chunk-NLJ3XIKT.js.map} +1 -1
- package/dist/{chunk-FKELQCGN.js → chunk-OWJLB2AF.js} +2 -2
- package/dist/{chunk-D4XQX4W7.js → chunk-P7HAXMFN.js} +2 -2
- package/dist/{chunk-4F5WGZRP.js → chunk-PACZEDOH.js} +5 -5
- package/dist/{chunk-QSPH4F56.js → chunk-PTGXEZQD.js} +2 -2
- package/dist/chunk-PTGXEZQD.js.map +1 -0
- package/dist/{chunk-SUTY4VCZ.js → chunk-Q76T6Y6X.js} +6 -6
- package/dist/{chunk-CXL6ES7O.js → chunk-R2CR62JV.js} +4 -4
- package/dist/{chunk-RN7IA742.js → chunk-RKACUTY5.js} +7 -7
- package/dist/{chunk-JPXC62SD.js → chunk-RQPEKHZH.js} +8 -6
- package/dist/{chunk-JPXC62SD.js.map → chunk-RQPEKHZH.js.map} +1 -1
- package/dist/{chunk-CT5WSUUZ.js → chunk-RWXR3GJI.js} +2 -2
- package/dist/{chunk-4H3IOF52.js → chunk-S5G6T4VC.js} +3 -3
- package/dist/chunk-SHXPE4D4.js +100 -0
- package/dist/chunk-SHXPE4D4.js.map +1 -0
- package/dist/{chunk-6FY573GB.js → chunk-TFVNEPMF.js} +3 -3
- package/dist/{chunk-BM43RJIS.js → chunk-U4OJ7U45.js} +8 -8
- package/dist/{chunk-LXJ4FZ7Y.js → chunk-V2XJJEEF.js} +4 -4
- package/dist/{chunk-QGBNWEWS.js → chunk-VLRIP4BQ.js} +2 -2
- package/dist/{chunk-BY4THWAQ.js → chunk-WHVFHBL3.js} +3 -3
- package/dist/{chunk-KERICP5Y.js → chunk-XBJKYXOR.js} +6 -6
- package/dist/{chunk-C5BXSQDO.js → chunk-XI3BNZG4.js} +5 -5
- package/dist/{chunk-4DFBBU4A.js → chunk-YSZNJ2ID.js} +2 -2
- package/dist/{cli-IIFCE6GY.js → cli-3PBRPPMQ.js} +14 -14
- package/dist/{cli-ISKXSN3P.js → cli-6NKE6RMT.js} +18 -18
- package/dist/{cli-FTSJQSB4.js → cli-77A46SB2.js} +17 -17
- package/dist/{cli-PCZ7XNCO.js → cli-AVHLY2AI.js} +61 -45
- package/dist/cli-AVHLY2AI.js.map +1 -0
- package/dist/{cli-DQRFSU7U.js → cli-FDXU7CGZ.js} +15 -14
- package/dist/{cli-DQRFSU7U.js.map → cli-FDXU7CGZ.js.map} +1 -1
- package/dist/{cli-6J4P5MLU.js → cli-FSDJY5OC.js} +2 -2
- package/dist/{cli-K5635N25.js → cli-JNYL6LB7.js} +14 -14
- package/dist/{cli-TCHSYJLB.js → cli-K47XWDLJ.js} +21 -21
- package/dist/{cli-TM2JCTQT.js → cli-LP5OE3BL.js} +9 -9
- package/dist/{cli-4RTNEVVX.js → cli-MOKRUHZT.js} +9 -9
- package/dist/{cli-K5QWXB7H.js → cli-MQXOK64K.js} +26 -25
- package/dist/{cli-K5QWXB7H.js.map → cli-MQXOK64K.js.map} +1 -1
- package/dist/cli.js +15 -15
- package/dist/{config-7I5CHHRZ.js → config-BMWDC66C.js} +2 -2
- package/dist/docmeta.js +8 -8
- package/dist/github-6GYTPSGV.js +35 -0
- package/dist/{github-CMAZWS76.js → github-DJOLVNDD.js} +12 -12
- package/dist/{github-NXR4QMMM.js → github-ZF2TQ3RP.js} +14 -14
- package/dist/index.d.ts +2 -1
- package/dist/index.js +49 -47
- package/dist/index.js.map +1 -1
- package/dist/json-Y7625EFE.js +42 -0
- package/dist/{json-7Z2IFGB3.js → json-YIK72XAL.js} +12 -12
- package/dist/{labels-SE2WL7WD.js → labels-X633ZPK7.js} +11 -11
- package/dist/{lint-VUYM5PPM.js → lint-RF3B55W7.js} +12 -12
- package/dist/{list-WD3TZS5R.js → list-5DW4QZ7P.js} +12 -12
- package/dist/list-7CHWJ633.js +39 -0
- package/dist/{list-LTF25DQE.js → list-UNWG6NPD.js} +12 -12
- package/dist/{page-A2Y4ZMV4.js → page-OMPEACUN.js} +11 -11
- package/dist/{prepare-M2COBP5O.js → prepare-B4JVDVOV.js} +13 -13
- package/dist/{pretty-SFFOMSG5.js → pretty-PPNHHOEN.js} +13 -13
- package/dist/{pretty-D3DZFC5U.js → pretty-U7ATCFBN.js} +12 -12
- package/dist/pretty-XGYQ25PH.js +43 -0
- package/dist/{reporters-UTLJVSWX.js → reporters-FAIEOTC4.js} +11 -11
- package/dist/{reporters-TO7Q6JYF.js → reporters-KE7AZR6C.js} +4 -4
- package/dist/{run-BDGYRUXJ.js → run-MHJ3AYKG.js} +12 -12
- package/dist/{sarif-IAGMXA6C.js → sarif-DOGRSGTB.js} +10 -10
- package/dist/{sarif-GJYLRXLS.js → sarif-MIEMQOIK.js} +11 -11
- package/dist/{sarif-EHAMGCVR.js → sarif-RGRG7VFX.js} +15 -15
- package/dist/{strategy-UKRA6WO4.js → strategy-EK5VY5DG.js} +24 -23
- package/dist/{strategy-UKRA6WO4.js.map → strategy-EK5VY5DG.js.map} +1 -1
- package/dist/{term-AMORBEO7.js → term-MDN3NJDW.js} +17 -17
- package/dist/{validate-CDTKFZUV.js → validate-QDYQ642J.js} +5 -5
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +11 -3
- package/plugin/manni/hooks/hooks.json +4 -4
- package/plugin/manni/hooks/manni.mjs +18 -5
- package/plugin/manni/hooks/tracevals.mjs +7 -0
- package/plugin/manni/skills/fix/SKILL.md +5 -1
- package/dist/check-OH4KKXP3.js +0 -33
- package/dist/check-PRAMKQCI.js +0 -47
- package/dist/chunk-5CJ3P5O3.js.map +0 -1
- package/dist/chunk-DNF42MK7.js +0 -326
- package/dist/chunk-DNF42MK7.js.map +0 -1
- package/dist/chunk-E6JYRVR5.js.map +0 -1
- package/dist/chunk-LPJ3IB26.js.map +0 -1
- package/dist/chunk-O4O6JOGD.js.map +0 -1
- package/dist/chunk-QSPH4F56.js.map +0 -1
- package/dist/chunk-SIREOHLW.js +0 -233
- package/dist/chunk-SIREOHLW.js.map +0 -1
- package/dist/chunk-YM2W43DI.js.map +0 -1
- package/dist/chunk-YYWZ2MSL.js.map +0 -1
- package/dist/cli-PCZ7XNCO.js.map +0 -1
- package/dist/github-BUK5CVQW.js +0 -27
- package/dist/json-NZSGRYOE.js +0 -34
- package/dist/list-4JGOXLOZ.js +0 -33
- package/dist/pretty-R67YU6TU.js +0 -35
- /package/dist/{batch-J626LZ22.js.map → batch-C534YIAU.js.map} +0 -0
- /package/dist/{build-AYLD6V6Y.js.map → build-SVKT7QFU.js.map} +0 -0
- /package/dist/{calibrate-2HZFACIX.js.map → calibrate-AL3MH7TY.js.map} +0 -0
- /package/dist/{capture-NMDIPC6S.js.map → capture-2F7B4DAD.js.map} +0 -0
- /package/dist/{check-KNQV7GLU.js.map → check-BI7OGIVE.js.map} +0 -0
- /package/dist/{check-OH4KKXP3.js.map → check-JZINDP3F.js.map} +0 -0
- /package/dist/{check-PQ7S5I3I.js.map → check-LKPQPQWJ.js.map} +0 -0
- /package/dist/{check-PRAMKQCI.js.map → check-OPUMZEVK.js.map} +0 -0
- /package/dist/{check-RCSQARQE.js.map → check-OW7UD73D.js.map} +0 -0
- /package/dist/{chunk-N3DYE6LJ.js.map → chunk-22WGKOQ7.js.map} +0 -0
- /package/dist/{chunk-TAJYMXMM.js.map → chunk-2HOWRAWK.js.map} +0 -0
- /package/dist/{chunk-ROZDHPKA.js.map → chunk-2NGFDLIM.js.map} +0 -0
- /package/dist/{chunk-GGTCSMNX.js.map → chunk-2YKUSTHS.js.map} +0 -0
- /package/dist/{chunk-S2HW3CBF.js.map → chunk-3SFAB75L.js.map} +0 -0
- /package/dist/{chunk-NDPQ2GQ4.js.map → chunk-5UJKXOAD.js.map} +0 -0
- /package/dist/{chunk-XPO655IX.js.map → chunk-762MM6NA.js.map} +0 -0
- /package/dist/{chunk-FIR2MAGS.js.map → chunk-A4QNKEX4.js.map} +0 -0
- /package/dist/{chunk-YIHIRMXN.js.map → chunk-AE6KBAAU.js.map} +0 -0
- /package/dist/{chunk-UVC3BUKU.js.map → chunk-APAF4VWW.js.map} +0 -0
- /package/dist/{chunk-D54BQM5P.js.map → chunk-ARNI3SJT.js.map} +0 -0
- /package/dist/{chunk-OXCWCEVV.js.map → chunk-BHGFLRXM.js.map} +0 -0
- /package/dist/{chunk-WRWW6SGG.js.map → chunk-BJUEOC4G.js.map} +0 -0
- /package/dist/{chunk-MPXMQGJI.js.map → chunk-BKY6GAFA.js.map} +0 -0
- /package/dist/{chunk-ACJUZFRT.js.map → chunk-BLXRIAV2.js.map} +0 -0
- /package/dist/{chunk-H3C3UXTA.js.map → chunk-BXCVOHEX.js.map} +0 -0
- /package/dist/{chunk-ODSIHEIW.js.map → chunk-BXE4L52Q.js.map} +0 -0
- /package/dist/{chunk-P6XZ44C2.js.map → chunk-CREFJCWZ.js.map} +0 -0
- /package/dist/{chunk-OQR3VVAX.js.map → chunk-CZIO37J5.js.map} +0 -0
- /package/dist/{chunk-OVUQNM7Y.js.map → chunk-D4QHRVDJ.js.map} +0 -0
- /package/dist/{chunk-WI3PPQQX.js.map → chunk-D5GBYKDU.js.map} +0 -0
- /package/dist/{chunk-P5DWBG6T.js.map → chunk-DMVBIIP3.js.map} +0 -0
- /package/dist/{chunk-MTMR65NM.js.map → chunk-E23KWEPL.js.map} +0 -0
- /package/dist/{chunk-5E3ABFOQ.js.map → chunk-E7OG5F6S.js.map} +0 -0
- /package/dist/{chunk-2GTR24SA.js.map → chunk-HHJ2HFPP.js.map} +0 -0
- /package/dist/{chunk-Z2T5U7HN.js.map → chunk-IN5T22FP.js.map} +0 -0
- /package/dist/{chunk-RA2BER5P.js.map → chunk-IOJD2RFG.js.map} +0 -0
- /package/dist/{chunk-ZB3OFSRB.js.map → chunk-JUUCCML3.js.map} +0 -0
- /package/dist/{chunk-TDG2S5UE.js.map → chunk-KBSTXL6L.js.map} +0 -0
- /package/dist/{chunk-MJZK7G4B.js.map → chunk-KCWNJMSS.js.map} +0 -0
- /package/dist/{chunk-EOJEPEYY.js.map → chunk-KQDRO6N6.js.map} +0 -0
- /package/dist/{chunk-HGUCJ3K3.js.map → chunk-MTCOBRCX.js.map} +0 -0
- /package/dist/{chunk-FKELQCGN.js.map → chunk-OWJLB2AF.js.map} +0 -0
- /package/dist/{chunk-D4XQX4W7.js.map → chunk-P7HAXMFN.js.map} +0 -0
- /package/dist/{chunk-4F5WGZRP.js.map → chunk-PACZEDOH.js.map} +0 -0
- /package/dist/{chunk-SUTY4VCZ.js.map → chunk-Q76T6Y6X.js.map} +0 -0
- /package/dist/{chunk-CXL6ES7O.js.map → chunk-R2CR62JV.js.map} +0 -0
- /package/dist/{chunk-RN7IA742.js.map → chunk-RKACUTY5.js.map} +0 -0
- /package/dist/{chunk-CT5WSUUZ.js.map → chunk-RWXR3GJI.js.map} +0 -0
- /package/dist/{chunk-4H3IOF52.js.map → chunk-S5G6T4VC.js.map} +0 -0
- /package/dist/{chunk-6FY573GB.js.map → chunk-TFVNEPMF.js.map} +0 -0
- /package/dist/{chunk-BM43RJIS.js.map → chunk-U4OJ7U45.js.map} +0 -0
- /package/dist/{chunk-LXJ4FZ7Y.js.map → chunk-V2XJJEEF.js.map} +0 -0
- /package/dist/{chunk-QGBNWEWS.js.map → chunk-VLRIP4BQ.js.map} +0 -0
- /package/dist/{chunk-BY4THWAQ.js.map → chunk-WHVFHBL3.js.map} +0 -0
- /package/dist/{chunk-KERICP5Y.js.map → chunk-XBJKYXOR.js.map} +0 -0
- /package/dist/{chunk-C5BXSQDO.js.map → chunk-XI3BNZG4.js.map} +0 -0
- /package/dist/{chunk-4DFBBU4A.js.map → chunk-YSZNJ2ID.js.map} +0 -0
- /package/dist/{cli-IIFCE6GY.js.map → cli-3PBRPPMQ.js.map} +0 -0
- /package/dist/{cli-ISKXSN3P.js.map → cli-6NKE6RMT.js.map} +0 -0
- /package/dist/{cli-FTSJQSB4.js.map → cli-77A46SB2.js.map} +0 -0
- /package/dist/{cli-6J4P5MLU.js.map → cli-FSDJY5OC.js.map} +0 -0
- /package/dist/{cli-K5635N25.js.map → cli-JNYL6LB7.js.map} +0 -0
- /package/dist/{cli-TCHSYJLB.js.map → cli-K47XWDLJ.js.map} +0 -0
- /package/dist/{cli-TM2JCTQT.js.map → cli-LP5OE3BL.js.map} +0 -0
- /package/dist/{cli-4RTNEVVX.js.map → cli-MOKRUHZT.js.map} +0 -0
- /package/dist/{config-7I5CHHRZ.js.map → config-BMWDC66C.js.map} +0 -0
- /package/dist/{github-BUK5CVQW.js.map → github-6GYTPSGV.js.map} +0 -0
- /package/dist/{github-CMAZWS76.js.map → github-DJOLVNDD.js.map} +0 -0
- /package/dist/{github-NXR4QMMM.js.map → github-ZF2TQ3RP.js.map} +0 -0
- /package/dist/{json-7Z2IFGB3.js.map → json-Y7625EFE.js.map} +0 -0
- /package/dist/{json-NZSGRYOE.js.map → json-YIK72XAL.js.map} +0 -0
- /package/dist/{labels-SE2WL7WD.js.map → labels-X633ZPK7.js.map} +0 -0
- /package/dist/{lint-VUYM5PPM.js.map → lint-RF3B55W7.js.map} +0 -0
- /package/dist/{list-4JGOXLOZ.js.map → list-5DW4QZ7P.js.map} +0 -0
- /package/dist/{list-LTF25DQE.js.map → list-7CHWJ633.js.map} +0 -0
- /package/dist/{list-WD3TZS5R.js.map → list-UNWG6NPD.js.map} +0 -0
- /package/dist/{page-A2Y4ZMV4.js.map → page-OMPEACUN.js.map} +0 -0
- /package/dist/{prepare-M2COBP5O.js.map → prepare-B4JVDVOV.js.map} +0 -0
- /package/dist/{pretty-D3DZFC5U.js.map → pretty-PPNHHOEN.js.map} +0 -0
- /package/dist/{pretty-R67YU6TU.js.map → pretty-U7ATCFBN.js.map} +0 -0
- /package/dist/{pretty-SFFOMSG5.js.map → pretty-XGYQ25PH.js.map} +0 -0
- /package/dist/{reporters-TO7Q6JYF.js.map → reporters-FAIEOTC4.js.map} +0 -0
- /package/dist/{reporters-UTLJVSWX.js.map → reporters-KE7AZR6C.js.map} +0 -0
- /package/dist/{run-BDGYRUXJ.js.map → run-MHJ3AYKG.js.map} +0 -0
- /package/dist/{sarif-EHAMGCVR.js.map → sarif-DOGRSGTB.js.map} +0 -0
- /package/dist/{sarif-GJYLRXLS.js.map → sarif-MIEMQOIK.js.map} +0 -0
- /package/dist/{sarif-IAGMXA6C.js.map → sarif-RGRG7VFX.js.map} +0 -0
- /package/dist/{term-AMORBEO7.js.map → term-MDN3NJDW.js.map} +0 -0
- /package/dist/{validate-CDTKFZUV.js.map → validate-QDYQ642J.js.map} +0 -0
|
@@ -12,26 +12,26 @@ import {
|
|
|
12
12
|
rewriteLine,
|
|
13
13
|
splitBaselined,
|
|
14
14
|
staleFor
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-WHVFHBL3.js";
|
|
16
|
+
import "./chunk-R2CR62JV.js";
|
|
17
|
+
import "./chunk-TFVNEPMF.js";
|
|
18
|
+
import "./chunk-KCWNJMSS.js";
|
|
18
19
|
import "./chunk-UP6NBQ62.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-ODSIHEIW.js";
|
|
20
|
+
import "./chunk-2NGFDLIM.js";
|
|
21
|
+
import "./chunk-Q76T6Y6X.js";
|
|
22
|
+
import "./chunk-D5GBYKDU.js";
|
|
23
|
+
import "./chunk-762MM6NA.js";
|
|
24
|
+
import "./chunk-S5G6T4VC.js";
|
|
25
|
+
import "./chunk-BXE4L52Q.js";
|
|
26
26
|
import "./chunk-DSWKBZWW.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-BJUEOC4G.js";
|
|
28
28
|
import "./chunk-QK6VYJHV.js";
|
|
29
29
|
import "./chunk-RNVYGWIC.js";
|
|
30
30
|
import "./chunk-YEUYKR62.js";
|
|
31
31
|
import "./chunk-B2242FYO.js";
|
|
32
32
|
import "./chunk-HX44GB4Z.js";
|
|
33
33
|
import "./chunk-VM7VAFJW.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-JQA6RF4R.js";
|
|
35
35
|
import "./chunk-OWBRDNRZ.js";
|
|
36
36
|
import "./chunk-G3T47CFV.js";
|
|
37
37
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
splitBaselined,
|
|
50
50
|
staleFor
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=pretty-
|
|
52
|
+
//# sourceMappingURL=pretty-PPNHHOEN.js.map
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
renderListPretty,
|
|
7
7
|
renderValeWiring,
|
|
8
8
|
renderWritePretty
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-A4QNKEX4.js";
|
|
10
|
+
import "./chunk-2YKUSTHS.js";
|
|
11
11
|
import "./chunk-MC7U5IH4.js";
|
|
12
|
+
import "./chunk-KCWNJMSS.js";
|
|
12
13
|
import "./chunk-UP6NBQ62.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-ODSIHEIW.js";
|
|
14
|
+
import "./chunk-2NGFDLIM.js";
|
|
15
|
+
import "./chunk-Q76T6Y6X.js";
|
|
16
|
+
import "./chunk-D5GBYKDU.js";
|
|
17
|
+
import "./chunk-762MM6NA.js";
|
|
18
|
+
import "./chunk-S5G6T4VC.js";
|
|
19
|
+
import "./chunk-BXE4L52Q.js";
|
|
20
20
|
import "./chunk-DSWKBZWW.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-BJUEOC4G.js";
|
|
22
22
|
import "./chunk-77AINBYM.js";
|
|
23
23
|
import "./chunk-QK6VYJHV.js";
|
|
24
24
|
import "./chunk-RNVYGWIC.js";
|
|
@@ -26,7 +26,7 @@ import "./chunk-YEUYKR62.js";
|
|
|
26
26
|
import "./chunk-B2242FYO.js";
|
|
27
27
|
import "./chunk-HX44GB4Z.js";
|
|
28
28
|
import "./chunk-VM7VAFJW.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-JQA6RF4R.js";
|
|
30
30
|
import "./chunk-OWBRDNRZ.js";
|
|
31
31
|
import "./chunk-G3T47CFV.js";
|
|
32
32
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
renderValeWiring,
|
|
39
39
|
renderWritePretty
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=pretty-
|
|
41
|
+
//# sourceMappingURL=pretty-U7ATCFBN.js.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
countsLine,
|
|
4
|
+
renderFindingsPretty,
|
|
5
|
+
renderGetPretty,
|
|
6
|
+
renderListPretty,
|
|
7
|
+
titleOf
|
|
8
|
+
} from "./chunk-5LE4NH3Z.js";
|
|
9
|
+
import "./chunk-6XK3NTL5.js";
|
|
10
|
+
import "./chunk-GMLOAKOA.js";
|
|
11
|
+
import "./chunk-XTKJNRJ6.js";
|
|
12
|
+
import "./chunk-FHJIH6XP.js";
|
|
13
|
+
import "./chunk-VLRIP4BQ.js";
|
|
14
|
+
import "./chunk-TI4DA6DF.js";
|
|
15
|
+
import "./chunk-KCWNJMSS.js";
|
|
16
|
+
import "./chunk-UP6NBQ62.js";
|
|
17
|
+
import "./chunk-2NGFDLIM.js";
|
|
18
|
+
import "./chunk-Q76T6Y6X.js";
|
|
19
|
+
import "./chunk-D5GBYKDU.js";
|
|
20
|
+
import "./chunk-762MM6NA.js";
|
|
21
|
+
import "./chunk-S5G6T4VC.js";
|
|
22
|
+
import "./chunk-BXE4L52Q.js";
|
|
23
|
+
import "./chunk-DSWKBZWW.js";
|
|
24
|
+
import "./chunk-BJUEOC4G.js";
|
|
25
|
+
import "./chunk-77AINBYM.js";
|
|
26
|
+
import "./chunk-QK6VYJHV.js";
|
|
27
|
+
import "./chunk-RNVYGWIC.js";
|
|
28
|
+
import "./chunk-YEUYKR62.js";
|
|
29
|
+
import "./chunk-B2242FYO.js";
|
|
30
|
+
import "./chunk-HX44GB4Z.js";
|
|
31
|
+
import "./chunk-VM7VAFJW.js";
|
|
32
|
+
import "./chunk-JQA6RF4R.js";
|
|
33
|
+
import "./chunk-OWBRDNRZ.js";
|
|
34
|
+
import "./chunk-G3T47CFV.js";
|
|
35
|
+
import "./chunk-2H7UOFLK.js";
|
|
36
|
+
export {
|
|
37
|
+
countsLine,
|
|
38
|
+
renderFindingsPretty,
|
|
39
|
+
renderGetPretty,
|
|
40
|
+
renderListPretty,
|
|
41
|
+
titleOf
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=pretty-XGYQ25PH.js.map
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
renderTemplates,
|
|
10
10
|
renderTools,
|
|
11
11
|
toValidationResults
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-V2XJJEEF.js";
|
|
13
13
|
import "./chunk-GLP5PSXB.js";
|
|
14
14
|
import "./chunk-G5I2JTDK.js";
|
|
15
15
|
import "./chunk-TI4DA6DF.js";
|
|
16
|
+
import "./chunk-KCWNJMSS.js";
|
|
16
17
|
import "./chunk-UP6NBQ62.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-ODSIHEIW.js";
|
|
18
|
+
import "./chunk-2NGFDLIM.js";
|
|
19
|
+
import "./chunk-Q76T6Y6X.js";
|
|
20
|
+
import "./chunk-D5GBYKDU.js";
|
|
21
|
+
import "./chunk-762MM6NA.js";
|
|
22
|
+
import "./chunk-S5G6T4VC.js";
|
|
23
|
+
import "./chunk-BXE4L52Q.js";
|
|
24
24
|
import "./chunk-DSWKBZWW.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-BJUEOC4G.js";
|
|
26
26
|
import "./chunk-QK6VYJHV.js";
|
|
27
27
|
import "./chunk-RNVYGWIC.js";
|
|
28
28
|
import "./chunk-YEUYKR62.js";
|
|
29
29
|
import "./chunk-B2242FYO.js";
|
|
30
30
|
import "./chunk-HX44GB4Z.js";
|
|
31
31
|
import "./chunk-VM7VAFJW.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-JQA6RF4R.js";
|
|
33
33
|
import "./chunk-OWBRDNRZ.js";
|
|
34
34
|
import "./chunk-G3T47CFV.js";
|
|
35
35
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -44,4 +44,4 @@ export {
|
|
|
44
44
|
renderTools,
|
|
45
45
|
toValidationResults
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=reporters-
|
|
47
|
+
//# sourceMappingURL=reporters-FAIEOTC4.js.map
|
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
renderSarif,
|
|
27
27
|
ruleIdFor,
|
|
28
28
|
xmlEscape
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-762MM6NA.js";
|
|
30
|
+
import "./chunk-BJUEOC4G.js";
|
|
31
31
|
import {
|
|
32
32
|
escapeWorkflowCommandMessage,
|
|
33
33
|
escapeWorkflowCommandProperty
|
|
@@ -36,7 +36,7 @@ import "./chunk-RNVYGWIC.js";
|
|
|
36
36
|
import "./chunk-B2242FYO.js";
|
|
37
37
|
import "./chunk-HX44GB4Z.js";
|
|
38
38
|
import "./chunk-VM7VAFJW.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-JQA6RF4R.js";
|
|
40
40
|
import "./chunk-OWBRDNRZ.js";
|
|
41
41
|
import "./chunk-G3T47CFV.js";
|
|
42
42
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -70,4 +70,4 @@ export {
|
|
|
70
70
|
ruleIdFor,
|
|
71
71
|
xmlEscape
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=reporters-
|
|
73
|
+
//# sourceMappingURL=reporters-KE7AZR6C.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runRun
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-22WGKOQ7.js";
|
|
5
|
+
import "./chunk-PACZEDOH.js";
|
|
6
6
|
import "./chunk-SSQZB5SQ.js";
|
|
7
7
|
import "./chunk-YNHZHSSM.js";
|
|
8
8
|
import "./chunk-ZPLVANY2.js";
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
import "./chunk-QS2Z3SWL.js";
|
|
13
13
|
import "./chunk-N25KDXOV.js";
|
|
14
14
|
import "./chunk-MDZXRHIJ.js";
|
|
15
|
+
import "./chunk-KCWNJMSS.js";
|
|
15
16
|
import "./chunk-UP6NBQ62.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-ODSIHEIW.js";
|
|
17
|
+
import "./chunk-2NGFDLIM.js";
|
|
18
|
+
import "./chunk-Q76T6Y6X.js";
|
|
19
|
+
import "./chunk-D5GBYKDU.js";
|
|
20
|
+
import "./chunk-762MM6NA.js";
|
|
21
|
+
import "./chunk-S5G6T4VC.js";
|
|
22
|
+
import "./chunk-BXE4L52Q.js";
|
|
23
23
|
import "./chunk-DSWKBZWW.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-BJUEOC4G.js";
|
|
25
25
|
import "./chunk-QK6VYJHV.js";
|
|
26
26
|
import "./chunk-RNVYGWIC.js";
|
|
27
27
|
import "./chunk-YEUYKR62.js";
|
|
28
28
|
import "./chunk-B2242FYO.js";
|
|
29
29
|
import "./chunk-HX44GB4Z.js";
|
|
30
30
|
import "./chunk-VM7VAFJW.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-JQA6RF4R.js";
|
|
32
32
|
import "./chunk-OWBRDNRZ.js";
|
|
33
33
|
import "./chunk-G3T47CFV.js";
|
|
34
34
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
render,
|
|
37
37
|
runRun
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=run-
|
|
39
|
+
//# sourceMappingURL=run-MHJ3AYKG.js.map
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
import {
|
|
3
3
|
FIELD_LABEL,
|
|
4
4
|
renderFindingsSarif
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E23KWEPL.js";
|
|
6
6
|
import "./chunk-BREAC43H.js";
|
|
7
7
|
import "./chunk-MC7U5IH4.js";
|
|
8
8
|
import "./chunk-UP6NBQ62.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-2NGFDLIM.js";
|
|
10
|
+
import "./chunk-Q76T6Y6X.js";
|
|
11
|
+
import "./chunk-D5GBYKDU.js";
|
|
12
|
+
import "./chunk-762MM6NA.js";
|
|
13
|
+
import "./chunk-S5G6T4VC.js";
|
|
14
|
+
import "./chunk-BXE4L52Q.js";
|
|
15
15
|
import "./chunk-DSWKBZWW.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-BJUEOC4G.js";
|
|
17
17
|
import "./chunk-QK6VYJHV.js";
|
|
18
18
|
import "./chunk-RNVYGWIC.js";
|
|
19
19
|
import "./chunk-YEUYKR62.js";
|
|
20
20
|
import "./chunk-B2242FYO.js";
|
|
21
21
|
import "./chunk-HX44GB4Z.js";
|
|
22
22
|
import "./chunk-VM7VAFJW.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-JQA6RF4R.js";
|
|
24
24
|
import "./chunk-OWBRDNRZ.js";
|
|
25
25
|
import "./chunk-G3T47CFV.js";
|
|
26
26
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
FIELD_LABEL,
|
|
29
29
|
renderFindingsSarif
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=sarif-
|
|
31
|
+
//# sourceMappingURL=sarif-DOGRSGTB.js.map
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
import {
|
|
3
3
|
FIELD_LABEL,
|
|
4
4
|
renderFindingsSarif
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-DMVBIIP3.js";
|
|
6
|
+
import "./chunk-GMLOAKOA.js";
|
|
7
7
|
import "./chunk-UP6NBQ62.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-2NGFDLIM.js";
|
|
9
|
+
import "./chunk-Q76T6Y6X.js";
|
|
10
|
+
import "./chunk-D5GBYKDU.js";
|
|
11
|
+
import "./chunk-762MM6NA.js";
|
|
12
|
+
import "./chunk-S5G6T4VC.js";
|
|
13
|
+
import "./chunk-BXE4L52Q.js";
|
|
14
14
|
import "./chunk-DSWKBZWW.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-BJUEOC4G.js";
|
|
16
16
|
import "./chunk-QK6VYJHV.js";
|
|
17
17
|
import "./chunk-RNVYGWIC.js";
|
|
18
18
|
import "./chunk-YEUYKR62.js";
|
|
19
19
|
import "./chunk-B2242FYO.js";
|
|
20
20
|
import "./chunk-HX44GB4Z.js";
|
|
21
21
|
import "./chunk-VM7VAFJW.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JQA6RF4R.js";
|
|
23
23
|
import "./chunk-OWBRDNRZ.js";
|
|
24
24
|
import "./chunk-G3T47CFV.js";
|
|
25
25
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
FIELD_LABEL,
|
|
28
28
|
renderFindingsSarif
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=sarif-
|
|
30
|
+
//# sourceMappingURL=sarif-MIEMQOIK.js.map
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
ENTRY_LABEL,
|
|
4
4
|
renderCheckSarif,
|
|
5
5
|
withFindingMessages
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-BHGFLRXM.js";
|
|
7
|
+
import "./chunk-CZIO37J5.js";
|
|
8
|
+
import "./chunk-WHVFHBL3.js";
|
|
9
|
+
import "./chunk-R2CR62JV.js";
|
|
10
|
+
import "./chunk-TFVNEPMF.js";
|
|
11
|
+
import "./chunk-KCWNJMSS.js";
|
|
11
12
|
import "./chunk-UP6NBQ62.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-ODSIHEIW.js";
|
|
13
|
+
import "./chunk-2NGFDLIM.js";
|
|
14
|
+
import "./chunk-Q76T6Y6X.js";
|
|
15
|
+
import "./chunk-D5GBYKDU.js";
|
|
16
|
+
import "./chunk-762MM6NA.js";
|
|
17
|
+
import "./chunk-S5G6T4VC.js";
|
|
18
|
+
import "./chunk-BXE4L52Q.js";
|
|
19
19
|
import "./chunk-DSWKBZWW.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BJUEOC4G.js";
|
|
21
21
|
import "./chunk-QK6VYJHV.js";
|
|
22
22
|
import "./chunk-RNVYGWIC.js";
|
|
23
23
|
import "./chunk-YEUYKR62.js";
|
|
24
24
|
import "./chunk-B2242FYO.js";
|
|
25
25
|
import "./chunk-HX44GB4Z.js";
|
|
26
26
|
import "./chunk-VM7VAFJW.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-JQA6RF4R.js";
|
|
28
28
|
import "./chunk-OWBRDNRZ.js";
|
|
29
29
|
import "./chunk-G3T47CFV.js";
|
|
30
30
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
renderCheckSarif,
|
|
34
34
|
withFindingMessages
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=sarif-
|
|
36
|
+
//# sourceMappingURL=sarif-RGRG7VFX.js.map
|
|
@@ -1,66 +1,67 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
renderFindingsGithub
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OWJLB2AF.js";
|
|
5
5
|
import {
|
|
6
6
|
renderFindingsJson,
|
|
7
7
|
renderGetJson,
|
|
8
8
|
renderListJson
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DPDG3FHL.js";
|
|
10
10
|
import {
|
|
11
11
|
renderFindingsPretty,
|
|
12
12
|
renderGetPretty,
|
|
13
13
|
renderListPretty
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5LE4NH3Z.js";
|
|
15
15
|
import {
|
|
16
16
|
FIELD_LABEL,
|
|
17
17
|
renderFindingsSarif
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DMVBIIP3.js";
|
|
19
19
|
import {
|
|
20
20
|
FINDING_FORMATS,
|
|
21
21
|
JUNIT_CLASSNAME,
|
|
22
22
|
runCheck
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CLPC3LKX.js";
|
|
24
24
|
import {
|
|
25
25
|
LIST_FORMATS,
|
|
26
26
|
entriesOf,
|
|
27
27
|
runList
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
indexSet
|
|
31
|
-
} from "./chunk-SIREOHLW.js";
|
|
28
|
+
} from "./chunk-H5YWCCBO.js";
|
|
32
29
|
import {
|
|
33
30
|
StrategyError,
|
|
34
31
|
formatChoice,
|
|
32
|
+
indexSet,
|
|
35
33
|
loadStrategy,
|
|
36
34
|
plural
|
|
37
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6XK3NTL5.js";
|
|
38
36
|
import {
|
|
39
37
|
RECORD_TYPES,
|
|
40
38
|
STRATEGY_RULES
|
|
41
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GMLOAKOA.js";
|
|
42
40
|
import {
|
|
43
41
|
closestName
|
|
44
42
|
} from "./chunk-XTKJNRJ6.js";
|
|
43
|
+
import "./chunk-FHJIH6XP.js";
|
|
44
|
+
import "./chunk-VLRIP4BQ.js";
|
|
45
|
+
import "./chunk-TI4DA6DF.js";
|
|
46
|
+
import "./chunk-KCWNJMSS.js";
|
|
45
47
|
import "./chunk-UP6NBQ62.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-WI3PPQQX.js";
|
|
48
|
+
import "./chunk-2NGFDLIM.js";
|
|
49
|
+
import "./chunk-Q76T6Y6X.js";
|
|
50
|
+
import "./chunk-D5GBYKDU.js";
|
|
50
51
|
import {
|
|
51
52
|
OMITTED_WHEN_CLEAN,
|
|
52
53
|
renderJunit
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-762MM6NA.js";
|
|
55
|
+
import "./chunk-S5G6T4VC.js";
|
|
55
56
|
import {
|
|
56
57
|
readStdin,
|
|
57
58
|
splitList,
|
|
58
59
|
withInputs
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-BXE4L52Q.js";
|
|
60
61
|
import "./chunk-DSWKBZWW.js";
|
|
61
62
|
import {
|
|
62
63
|
STDIN_TOKEN
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-BJUEOC4G.js";
|
|
64
65
|
import "./chunk-77AINBYM.js";
|
|
65
66
|
import "./chunk-QK6VYJHV.js";
|
|
66
67
|
import {
|
|
@@ -76,7 +77,7 @@ import {
|
|
|
76
77
|
import "./chunk-VM7VAFJW.js";
|
|
77
78
|
import {
|
|
78
79
|
package_default
|
|
79
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-JQA6RF4R.js";
|
|
80
81
|
import "./chunk-OWBRDNRZ.js";
|
|
81
82
|
import "./chunk-G3T47CFV.js";
|
|
82
83
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -87,10 +88,10 @@ import { Command } from "commander";
|
|
|
87
88
|
// src/strategy/commands/get.ts
|
|
88
89
|
var GET_FORMATS = ["pretty", "json"];
|
|
89
90
|
async function runGet(opts) {
|
|
90
|
-
const { cwd, run, set } = await loadStrategy(opts);
|
|
91
|
+
const { cwd, run, set, steps } = await loadStrategy(opts);
|
|
91
92
|
const index = indexSet(set);
|
|
92
93
|
const found = index.anyWithId(opts.id);
|
|
93
|
-
const entry = found === void 0 ? void 0 : entriesOf(set, cwd, run.base, index).find((e) => e.record === found);
|
|
94
|
+
const entry = found === void 0 ? void 0 : entriesOf(set, cwd, run.base, index, steps).find((e) => e.record === found);
|
|
94
95
|
if (entry !== void 0) return entry;
|
|
95
96
|
const ids = set.records.map((r) => r.id);
|
|
96
97
|
const nearest = closestName(opts.id.toLowerCase(), ids.map((id) => id.toLowerCase()));
|
|
@@ -219,4 +220,4 @@ export {
|
|
|
219
220
|
StrategyError,
|
|
220
221
|
buildProgram
|
|
221
222
|
};
|
|
222
|
-
//# sourceMappingURL=strategy-
|
|
223
|
+
//# sourceMappingURL=strategy-EK5VY5DG.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/strategy/cli.ts","../src/strategy/commands/get.ts","../src/strategy/reporters/junit.ts"],"sourcesContent":["/**\n * The `strategy` domain's commander program. Mounted by `src/cli.ts` under\n * `manni strategy`; no entry point of its own. The verbs are `list`, `get` and\n * `check` (proposal 0102), and there is no default subcommand.\n *\n * Follows clig.dev as the family does: primary output to stdout, diagnostics\n * to stderr, colour only on a TTY and never under `NO_COLOR`/`--no-color`,\n * exit `0` clean, `1` an error-severity finding, `2` operational/usage.\n */\nimport { Command } from \"commander\";\nimport pkg from \"../../package.json\" with { type: \"json\" };\nimport { readStdin, splitList, withInputs } from \"../shared/cli-options.js\";\nimport { shouldColor } from \"../shared/color.js\";\nimport { fail } from \"../shared/run.js\";\nimport { notice } from \"../shared/warn.js\";\nimport { OMITTED_WHEN_CLEAN, STDIN_TOKEN } from \"../meta/internal.js\";\nimport { runCheck } from \"./commands/check.js\";\nimport { FINDING_FORMATS, type FindingFormat, type StrategyReport } from \"./commands/findings.js\";\nimport { GET_FORMATS, runGet } from \"./commands/get.js\";\nimport { LIST_FORMATS, runList } from \"./commands/list.js\";\nimport { formatChoice, type StrategyCommandOptions } from \"./commands/run.js\";\nimport { renderFindingsGithub } from \"./reporters/github.js\";\nimport { renderFindingsJson, renderGetJson, renderListJson } from \"./reporters/json.js\";\nimport { renderFindingsJunit } from \"./reporters/junit.js\";\nimport { renderFindingsPretty, renderGetPretty, renderListPretty } from \"./reporters/pretty.js\";\nimport { renderFindingsSarif } from \"./reporters/sarif.js\";\n\n/** What commander hands every verb. */\ninterface InputCliOptions {\n as?: string;\n /** `--ext <list>`, comma-separated and given once. */\n ext?: string;\n /** `--exclude <glob>`, repeatable; commander's default value is `[]`. */\n exclude: string[];\n allowEmpty?: boolean;\n /** `--no-gitignore`: `false` when given. */\n gitignore: boolean;\n /** `--collection <name>`, repeatable; commander's default value is `[]`. */\n collection: string[];\n config?: string;\n /** `--no-color`: `false` when given. */\n color: boolean;\n format: string;\n}\n\ninterface CheckCliOptions extends InputCliOptions {\n baseline?: boolean;\n}\n\nconst PATHS = \"files, directories, or globs to read (use - for stdin)\";\n\nfunction colorFor(options: InputCliOptions): boolean {\n return shouldColor({ noColor: !options.color, isTTY: process.stdout.isTTY });\n}\n\n/** The core's shared options from commander's, with stdin read once when `-` is among the paths. */\nasync function coreOptions(paths: string[], options: InputCliOptions): Promise<StrategyCommandOptions> {\n return {\n inputs: paths,\n ...(paths.includes(STDIN_TOKEN) ? { stdin: await readStdin() } : {}),\n ...(options.as === undefined ? {} : { as: options.as }),\n ...(options.ext === undefined ? {} : { exts: splitList(options.ext) }),\n exclude: options.exclude,\n collection: options.collection,\n ...(options.allowEmpty === true ? { allowEmpty: true } : {}),\n ...(options.gitignore ? {} : { noGitignore: true }),\n ...(options.config === undefined ? {} : { configPath: options.config }),\n onNotice: notice,\n };\n}\n\nfunction print(text: string): void {\n process.stdout.write(`${text}\\n`);\n}\n\nfunction renderFindings(report: StrategyReport, format: FindingFormat, options: InputCliOptions): void {\n let text: string;\n switch (format) {\n case \"pretty\":\n text = renderFindingsPretty(report, { color: colorFor(options) });\n break;\n case \"json\":\n text = renderFindingsJson(report);\n break;\n case \"github\":\n text = renderFindingsGithub(report);\n break;\n case \"sarif\":\n text = renderFindingsSarif(report, { onNotice: notice });\n break;\n case \"junit\":\n text = renderFindingsJunit(report);\n break;\n }\n if (text.length > 0 || !OMITTED_WHEN_CLEAN.has(format)) print(text);\n process.exitCode = report.summary.failed > 0 ? 1 : 0;\n}\n\nexport function buildProgram(): Command {\n const program = new Command();\n program\n .name(\"strategy\")\n .description(\"Check a docset's pages against its audiences, personas and journeys.\")\n .version(pkg.version, \"-V, --version\")\n .showHelpAfterError(\"(add --help for usage)\")\n // MUST come before the `.command()` calls below: commander copies the exit\n // callback into each subcommand by value when the subcommand is created.\n .exitOverride();\n\n withInputs(\n program.command(\"list\").description(\"List the records as a tree\").argument(\"[paths...]\", PATHS),\n \"no records\",\n )\n .option(\"-f, --format <format>\", `output: ${LIST_FORMATS.join(\" | \")}`, \"pretty\")\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni strategy list # every collection\",\n \" manni strategy list -f json # for a script\",\n ].join(\"\\n\"),\n )\n .action(async (paths: string[], options: InputCliOptions) => {\n try {\n const format = formatChoice(options.format, LIST_FORMATS);\n const { entries } = await runList(await coreOptions(paths, options));\n print(format === \"json\" ? renderListJson(entries) : renderListPretty(entries));\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n withInputs(\n program\n .command(\"get\")\n .description(\"Show one record, its parent, and what names it\")\n .argument(\"<id>\", \"the record's id, in any case\")\n .argument(\"[paths...]\", PATHS),\n \"no records\",\n )\n .option(\"-f, --format <format>\", `output: ${GET_FORMATS.join(\" | \")}`, \"pretty\")\n .addHelpText(\"after\", [\"\", \"Examples:\", \" manni strategy get m5\", \" manni strategy get maya -f json\"].join(\"\\n\"))\n .action(async (id: string, paths: string[], options: InputCliOptions) => {\n try {\n const format = formatChoice(options.format, GET_FORMATS);\n const entry = await runGet({ ...(await coreOptions(paths, options)), id });\n print(format === \"json\" ? renderGetJson(entry) : renderGetPretty(entry, { color: colorFor(options) }));\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n withInputs(\n program.command(\"check\").description(\"Check the pages against the records\").argument(\"[paths...]\", PATHS),\n \"no records\",\n )\n .option(\"-f, --format <format>\", `output: ${FINDING_FORMATS.join(\" | \")}`, \"pretty\")\n .option(\"--baseline\", \"record the findings on the first run; after that, fail only on new ones\")\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni strategy check # every collection\",\n \" manni strategy check -f github # CI annotations\",\n \" manni strategy check --baseline # ramp in on an existing docset\",\n ].join(\"\\n\"),\n )\n .action(async (paths: string[], options: CheckCliOptions) => {\n try {\n const format = formatChoice(options.format, FINDING_FORMATS);\n const report = await runCheck({\n ...(await coreOptions(paths, options)),\n ...(options.baseline === true ? { baseline: true } : {}),\n });\n renderFindings(report, format, options);\n } catch (err) {\n fail(err);\n }\n });\n\n return program;\n}\n","/**\n * `manni strategy get <id>`: one record, matched by id without case. A miss\n * is a usage error that says how big the set is and, when an id is a few\n * edits away, which one.\n */\nimport { closestName } from \"../../shared/closest-name.js\";\nimport { indexSet } from \"../core/check.js\";\nimport { StrategyError } from \"../errors.js\";\nimport { entriesOf, type RecordEntry } from \"./list.js\";\nimport { loadStrategy, plural, type StrategyCommandOptions } from \"./run.js\";\n\nexport const GET_FORMATS = [\"pretty\", \"json\"] as const;\nexport type GetFormat = (typeof GET_FORMATS)[number];\n\nexport interface GetOptions extends StrategyCommandOptions {\n /** The `<id>` argument, compared without case. */\n id: string;\n}\n\nexport async function runGet(opts: GetOptions): Promise<RecordEntry> {\n const { cwd, run, set } = await loadStrategy(opts);\n const index = indexSet(set);\n const found = index.anyWithId(opts.id);\n const entry = found === undefined ? undefined : entriesOf(set, cwd, run.base, index).find((e) => e.record === found);\n if (entry !== undefined) return entry;\n const ids = set.records.map((r) => r.id);\n const nearest = closestName(opts.id.toLowerCase(), ids.map((id) => id.toLowerCase()));\n const suggestion = ids.find((id) => id.toLowerCase() === nearest);\n const hint = suggestion === undefined ? \".\" : `; did you mean \"${suggestion}\"?`;\n throw new StrategyError(`no record \"${opts.id}\". ${plural(set.records.length, \"record\")}${hint}`);\n}\n","/**\n * JUnit for `check`: meta's renderer over the adapted results, under the\n * `manni.strategy` classname, with each failure's message the finding's own\n * rather than opened by the field's JSON Pointer.\n */\nimport { renderJunit } from \"../../meta/index.js\";\nimport { JUNIT_CLASSNAME, type StrategyReport } from \"../commands/findings.js\";\nimport { FIELD_LABEL } from \"./sarif.js\";\n\n/** A `message=\"` attribute's opening label. The value is escaped, so `message=\"` opens nothing else. */\nconst MESSAGE_LABEL = new RegExp(`message=\"${FIELD_LABEL.source.slice(1)}`, \"g\");\n\nexport function renderFindingsJunit(report: StrategyReport): string {\n return renderJunit(report.results, { frame: report.frame, classname: JUNIT_CLASSNAME }).replace(MESSAGE_LABEL, 'message=\"');\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,eAAe;;;ACEjB,IAAM,cAAc,CAAC,UAAU,MAAM;AAQ5C,eAAsB,OAAO,MAAwC;AACnE,QAAM,EAAE,KAAK,KAAK,IAAI,IAAI,MAAM,aAAa,IAAI;AACjD,QAAM,QAAQ,SAAS,GAAG;AAC1B,QAAM,QAAQ,MAAM,UAAU,KAAK,EAAE;AACrC,QAAM,QAAQ,UAAU,SAAY,SAAY,UAAU,KAAK,KAAK,IAAI,MAAM,KAAK,EAAE,KAAK,CAAC,MA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;AAAA,EACb,EACC,OAAO,OAAO,OAAiB,YAA6B;AAC3D,QAAI;AACF,YAAM,SAAS,aAAa,QAAQ,QAAQ,eAAe;AAC3D,YAAM,SAAS,MAAM,SAAS;AAAA,QAC5B,GAAI,MAAM,YAAY,OAAO,OAAO;AAAA,QACpC,GAAI,QAAQ,aAAa,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;AAAA,MACxD,CAAC;AACD,qBAAe,QAAQ,QAAQ,OAAO;AAAA,IACxC,SAAS,KAAK;AACZ,WAAK,GAAG;AAAA,IACV;AAAA,EACF,CAAC;AAEH,SAAO;AACT;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/strategy/cli.ts","../src/strategy/commands/get.ts","../src/strategy/reporters/junit.ts"],"sourcesContent":["/**\n * The `strategy` domain's commander program. Mounted by `src/cli.ts` under\n * `manni strategy`; no entry point of its own. The verbs are `list`, `get` and\n * `check` (proposal 0102), and there is no default subcommand.\n *\n * Follows clig.dev as the family does: primary output to stdout, diagnostics\n * to stderr, colour only on a TTY and never under `NO_COLOR`/`--no-color`,\n * exit `0` clean, `1` an error-severity finding, `2` operational/usage.\n */\nimport { Command } from \"commander\";\nimport pkg from \"../../package.json\" with { type: \"json\" };\nimport { readStdin, splitList, withInputs } from \"../shared/cli-options.js\";\nimport { shouldColor } from \"../shared/color.js\";\nimport { fail } from \"../shared/run.js\";\nimport { notice } from \"../shared/warn.js\";\nimport { OMITTED_WHEN_CLEAN, STDIN_TOKEN } from \"../meta/internal.js\";\nimport { runCheck } from \"./commands/check.js\";\nimport { FINDING_FORMATS, type FindingFormat, type StrategyReport } from \"./commands/findings.js\";\nimport { GET_FORMATS, runGet } from \"./commands/get.js\";\nimport { LIST_FORMATS, runList } from \"./commands/list.js\";\nimport { formatChoice, type StrategyCommandOptions } from \"./commands/run.js\";\nimport { renderFindingsGithub } from \"./reporters/github.js\";\nimport { renderFindingsJson, renderGetJson, renderListJson } from \"./reporters/json.js\";\nimport { renderFindingsJunit } from \"./reporters/junit.js\";\nimport { renderFindingsPretty, renderGetPretty, renderListPretty } from \"./reporters/pretty.js\";\nimport { renderFindingsSarif } from \"./reporters/sarif.js\";\n\n/** What commander hands every verb. */\ninterface InputCliOptions {\n as?: string;\n /** `--ext <list>`, comma-separated and given once. */\n ext?: string;\n /** `--exclude <glob>`, repeatable; commander's default value is `[]`. */\n exclude: string[];\n allowEmpty?: boolean;\n /** `--no-gitignore`: `false` when given. */\n gitignore: boolean;\n /** `--collection <name>`, repeatable; commander's default value is `[]`. */\n collection: string[];\n config?: string;\n /** `--no-color`: `false` when given. */\n color: boolean;\n format: string;\n}\n\ninterface CheckCliOptions extends InputCliOptions {\n baseline?: boolean;\n}\n\nconst PATHS = \"files, directories, or globs to read (use - for stdin)\";\n\nfunction colorFor(options: InputCliOptions): boolean {\n return shouldColor({ noColor: !options.color, isTTY: process.stdout.isTTY });\n}\n\n/** The core's shared options from commander's, with stdin read once when `-` is among the paths. */\nasync function coreOptions(paths: string[], options: InputCliOptions): Promise<StrategyCommandOptions> {\n return {\n inputs: paths,\n ...(paths.includes(STDIN_TOKEN) ? { stdin: await readStdin() } : {}),\n ...(options.as === undefined ? {} : { as: options.as }),\n ...(options.ext === undefined ? {} : { exts: splitList(options.ext) }),\n exclude: options.exclude,\n collection: options.collection,\n ...(options.allowEmpty === true ? { allowEmpty: true } : {}),\n ...(options.gitignore ? {} : { noGitignore: true }),\n ...(options.config === undefined ? {} : { configPath: options.config }),\n onNotice: notice,\n };\n}\n\nfunction print(text: string): void {\n process.stdout.write(`${text}\\n`);\n}\n\nfunction renderFindings(report: StrategyReport, format: FindingFormat, options: InputCliOptions): void {\n let text: string;\n switch (format) {\n case \"pretty\":\n text = renderFindingsPretty(report, { color: colorFor(options) });\n break;\n case \"json\":\n text = renderFindingsJson(report);\n break;\n case \"github\":\n text = renderFindingsGithub(report);\n break;\n case \"sarif\":\n text = renderFindingsSarif(report, { onNotice: notice });\n break;\n case \"junit\":\n text = renderFindingsJunit(report);\n break;\n }\n if (text.length > 0 || !OMITTED_WHEN_CLEAN.has(format)) print(text);\n process.exitCode = report.summary.failed > 0 ? 1 : 0;\n}\n\nexport function buildProgram(): Command {\n const program = new Command();\n program\n .name(\"strategy\")\n .description(\"Check a docset's pages against its audiences, personas and journeys.\")\n .version(pkg.version, \"-V, --version\")\n .showHelpAfterError(\"(add --help for usage)\")\n // MUST come before the `.command()` calls below: commander copies the exit\n // callback into each subcommand by value when the subcommand is created.\n .exitOverride();\n\n withInputs(\n program.command(\"list\").description(\"List the records as a tree\").argument(\"[paths...]\", PATHS),\n \"no records\",\n )\n .option(\"-f, --format <format>\", `output: ${LIST_FORMATS.join(\" | \")}`, \"pretty\")\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni strategy list # every collection\",\n \" manni strategy list -f json # for a script\",\n ].join(\"\\n\"),\n )\n .action(async (paths: string[], options: InputCliOptions) => {\n try {\n const format = formatChoice(options.format, LIST_FORMATS);\n const { entries } = await runList(await coreOptions(paths, options));\n print(format === \"json\" ? renderListJson(entries) : renderListPretty(entries));\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n withInputs(\n program\n .command(\"get\")\n .description(\"Show one record, its parent, and what names it\")\n .argument(\"<id>\", \"the record's id, in any case\")\n .argument(\"[paths...]\", PATHS),\n \"no records\",\n )\n .option(\"-f, --format <format>\", `output: ${GET_FORMATS.join(\" | \")}`, \"pretty\")\n .addHelpText(\"after\", [\"\", \"Examples:\", \" manni strategy get m5\", \" manni strategy get maya -f json\"].join(\"\\n\"))\n .action(async (id: string, paths: string[], options: InputCliOptions) => {\n try {\n const format = formatChoice(options.format, GET_FORMATS);\n const entry = await runGet({ ...(await coreOptions(paths, options)), id });\n print(format === \"json\" ? renderGetJson(entry) : renderGetPretty(entry, { color: colorFor(options) }));\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n withInputs(\n program.command(\"check\").description(\"Check the pages against the records\").argument(\"[paths...]\", PATHS),\n \"no records\",\n )\n .option(\"-f, --format <format>\", `output: ${FINDING_FORMATS.join(\" | \")}`, \"pretty\")\n .option(\"--baseline\", \"record the findings on the first run; after that, fail only on new ones\")\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni strategy check # every collection\",\n \" manni strategy check -f github # CI annotations\",\n \" manni strategy check --baseline # ramp in on an existing docset\",\n ].join(\"\\n\"),\n )\n .action(async (paths: string[], options: CheckCliOptions) => {\n try {\n const format = formatChoice(options.format, FINDING_FORMATS);\n const report = await runCheck({\n ...(await coreOptions(paths, options)),\n ...(options.baseline === true ? { baseline: true } : {}),\n });\n renderFindings(report, format, options);\n } catch (err) {\n fail(err);\n }\n });\n\n return program;\n}\n","/**\n * `manni strategy get <id>`: one record, matched by id without case. A miss\n * is a usage error that says how big the set is and, when an id is a few\n * edits away, which one.\n */\nimport { closestName } from \"../../shared/closest-name.js\";\nimport { indexSet } from \"../core/check.js\";\nimport { StrategyError } from \"../errors.js\";\nimport { entriesOf, type RecordEntry } from \"./list.js\";\nimport { loadStrategy, plural, type StrategyCommandOptions } from \"./run.js\";\n\nexport const GET_FORMATS = [\"pretty\", \"json\"] as const;\nexport type GetFormat = (typeof GET_FORMATS)[number];\n\nexport interface GetOptions extends StrategyCommandOptions {\n /** The `<id>` argument, compared without case. */\n id: string;\n}\n\nexport async function runGet(opts: GetOptions): Promise<RecordEntry> {\n const { cwd, run, set, steps } = await loadStrategy(opts);\n const index = indexSet(set);\n const found = index.anyWithId(opts.id);\n const entry = found === undefined ? undefined : entriesOf(set, cwd, run.base, index, steps).find((e) => e.record === found);\n if (entry !== undefined) return entry;\n const ids = set.records.map((r) => r.id);\n const nearest = closestName(opts.id.toLowerCase(), ids.map((id) => id.toLowerCase()));\n const suggestion = ids.find((id) => id.toLowerCase() === nearest);\n const hint = suggestion === undefined ? \".\" : `; did you mean \"${suggestion}\"?`;\n throw new StrategyError(`no record \"${opts.id}\". ${plural(set.records.length, \"record\")}${hint}`);\n}\n","/**\n * JUnit for `check`: meta's renderer over the adapted results, under the\n * `manni.strategy` classname, with each failure's message the finding's own\n * rather than opened by the field's JSON Pointer.\n */\nimport { renderJunit } from \"../../meta/index.js\";\nimport { JUNIT_CLASSNAME, type StrategyReport } from \"../commands/findings.js\";\nimport { FIELD_LABEL } from \"./sarif.js\";\n\n/** A `message=\"` attribute's opening label. The value is escaped, so `message=\"` opens nothing else. */\nconst MESSAGE_LABEL = new RegExp(`message=\"${FIELD_LABEL.source.slice(1)}`, \"g\");\n\nexport function renderFindingsJunit(report: StrategyReport): string {\n return renderJunit(report.results, { frame: report.frame, classname: JUNIT_CLASSNAME }).replace(MESSAGE_LABEL, 'message=\"');\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,eAAe;;;ACEjB,IAAM,cAAc,CAAC,UAAU,MAAM;AAQ5C,eAAsB,OAAO,MAAwC;AACnE,QAAM,EAAE,KAAK,KAAK,KAAK,MAAM,IAAI,MAAM,aAAa,IAAI;AACxD,QAAM,QAAQ,SAAS,GAAG;AAC1B,QAAM,QAAQ,MAAM,UAAU,KAAK,EAAE;AACrC,QAAM,QAAQ,UAAU,SAAY,SAAY,UAAU,KAAK,KAAK,IAAI,MAAM,OAAO,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,WAAW,KAAK;AAC1H,MAAI,UAAU,OAAW,QAAO;AAChC,QAAM,MAAM,IAAI,QAAQ,IAAI,CAAC,MAAM,EAAE,EAAE;AACvC,QAAM,UAAU,YAAY,KAAK,GAAG,YAAY,GAAG,IAAI,IAAI,CAAC,OAAO,GAAG,YAAY,CAAC,CAAC;AACpF,QAAM,aAAa,IAAI,KAAK,CAAC,OAAO,GAAG,YAAY,MAAM,OAAO;AAChE,QAAM,OAAO,eAAe,SAAY,MAAM,mBAAmB,UAAU;AAC3E,QAAM,IAAI,cAAc,cAAc,KAAK,EAA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