@hawkeyexl/manni 4.17.1 → 4.18.1
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-SAW4E46C.js → batch-XVUPHNWT.js} +13 -13
- package/dist/{build-F6S3W77I.js → build-GU7M5EC6.js} +14 -14
- package/dist/{calibrate-3DW2VV7F.js → calibrate-YODCJAEA.js} +14 -14
- package/dist/{capture-PKEYY2VO.js → capture-TZ42LHNK.js} +13 -13
- package/dist/{check-EZN7YNVF.js → check-AOGJBQR4.js} +15 -13
- package/dist/{check-LRX2YFDF.js → check-I72HPJNA.js} +12 -12
- package/dist/{check-7PUIHLFM.js → check-KBDIV35E.js} +14 -14
- package/dist/check-OIL3CZ4N.js +47 -0
- package/dist/{chunk-XWUIFSWK.js → chunk-2EAUZVO2.js} +3 -3
- package/dist/{chunk-WP5EKWTU.js → chunk-2G42VA4H.js} +5 -5
- package/dist/{chunk-WBXVQW57.js → chunk-34PGSNS5.js} +3 -3
- package/dist/{chunk-M6DNOHJO.js → chunk-3H7M5MXE.js} +3 -3
- package/dist/{chunk-KAWS7H4C.js → chunk-4CMNCP5O.js} +8 -8
- package/dist/{chunk-DU6CXY5R.js → chunk-4VQVJOIK.js} +6 -6
- package/dist/{chunk-OZL5M764.js → chunk-4VR2UFEO.js} +29 -13
- package/dist/chunk-4VR2UFEO.js.map +1 -0
- package/dist/{chunk-LDIUA4ZG.js → chunk-72OTCIYQ.js} +2 -2
- package/dist/{chunk-64EDFJ5S.js → chunk-7JDWLMOT.js} +5 -5
- package/dist/{chunk-ZIXU7A4C.js → chunk-7MU47MZM.js} +168 -80
- package/dist/chunk-7MU47MZM.js.map +1 -0
- package/dist/{chunk-6J2ED4ED.js → chunk-AL46P5H6.js} +6 -6
- package/dist/{chunk-3446DW4W.js → chunk-C4MNHJXP.js} +2 -2
- package/dist/{chunk-AIZBZYQM.js → chunk-CYMA4O2F.js} +77 -75
- package/dist/{chunk-AIZBZYQM.js.map → chunk-CYMA4O2F.js.map} +1 -1
- package/dist/{chunk-2LCJNH73.js → chunk-EEJFXYFO.js} +2 -2
- package/dist/{chunk-KB4MNUKC.js → chunk-ES7PJMHM.js} +2 -2
- package/dist/{chunk-XRWQQHBR.js → chunk-FGGDLZUU.js} +2 -2
- package/dist/{chunk-5D24C6WM.js → chunk-GMOAW2EG.js} +6 -2
- package/dist/chunk-GMOAW2EG.js.map +1 -0
- package/dist/{chunk-DSJTYRI5.js → chunk-GRRSOAAS.js} +3 -3
- package/dist/{chunk-KUXAHHDE.js → chunk-GSLXJSGT.js} +4 -4
- package/dist/{chunk-YJHHXM5B.js → chunk-GWCITMHN.js} +2 -2
- package/dist/{chunk-TNYIXIYV.js → chunk-HH327OEQ.js} +5 -5
- package/dist/{chunk-ZEYNLKOH.js → chunk-HUCZKEDF.js} +4 -4
- package/dist/{chunk-HEVYEI6O.js → chunk-J33NBVBX.js} +2 -2
- package/dist/{chunk-U5NSIZRS.js → chunk-J7MZRF3J.js} +3 -3
- package/dist/{chunk-MDXDTO7E.js → chunk-JBB22HPK.js} +6 -6
- package/dist/{chunk-W7IEP7IG.js → chunk-LFKYNDG4.js} +2 -2
- package/dist/{chunk-W7XOMNYC.js → chunk-MHLCZBW2.js} +2 -2
- package/dist/{chunk-WZSL7KF2.js → chunk-MQG4ONTU.js} +2 -2
- package/dist/{chunk-XPGK4ECA.js → chunk-N4KY3WLM.js} +7 -7
- package/dist/{chunk-ABAFKOQF.js → chunk-N74QH6XJ.js} +3 -3
- package/dist/{chunk-Q7E43SXN.js → chunk-O3PRYQCW.js} +5 -5
- package/dist/{chunk-FEURGKJC.js → chunk-O7OJWMP5.js} +2 -2
- package/dist/{chunk-D3AO2PMV.js → chunk-PJILKN4Z.js} +142 -23
- package/dist/chunk-PJILKN4Z.js.map +1 -0
- package/dist/{chunk-5QOTR53S.js → chunk-PRF44AAC.js} +4 -4
- package/dist/{chunk-VRMQSP7O.js → chunk-PZAHBJ56.js} +3 -3
- package/dist/{chunk-FAS3SRQB.js → chunk-QRQVOEAH.js} +379 -21
- package/dist/chunk-QRQVOEAH.js.map +1 -0
- package/dist/{chunk-QIKCIREY.js → chunk-RBNZI6YG.js} +4 -4
- package/dist/{chunk-XCEEJEVA.js → chunk-S5JFWUNK.js} +4 -4
- package/dist/{chunk-5VNFO2RT.js → chunk-SGV5U4NE.js} +23 -13
- package/dist/chunk-SGV5U4NE.js.map +1 -0
- package/dist/{chunk-B5R5BWMY.js → chunk-SJLEHQKY.js} +32 -11
- package/dist/chunk-SJLEHQKY.js.map +1 -0
- package/dist/{chunk-2TLNAGVJ.js → chunk-T363DMEJ.js} +5 -5
- package/dist/{chunk-FPPHEHPZ.js → chunk-UE6IYEKA.js} +2 -2
- package/dist/{chunk-WRSWZEVU.js → chunk-UT6SVXUQ.js} +5 -5
- package/dist/{chunk-2A5OIZHT.js → chunk-UVUMFFZ6.js} +7 -7
- package/dist/{chunk-4GGADKTU.js → chunk-UXEICZKX.js} +5 -5
- package/dist/{chunk-QIWSEKA6.js → chunk-W5STNXKP.js} +2 -2
- package/dist/{chunk-KCNBM42T.js → chunk-WIHQJSO3.js} +4 -4
- package/dist/{chunk-JK56UPNQ.js → chunk-WMOQXWHB.js} +10 -10
- package/dist/{chunk-PS4Y7EPP.js → chunk-WRWPOXVG.js} +3 -3
- package/dist/{chunk-TUMR35B3.js → chunk-YBWU4JGX.js} +3 -3
- package/dist/{chunk-3UYSONT4.js → chunk-YMDASDGR.js} +20 -10
- package/dist/chunk-YMDASDGR.js.map +1 -0
- package/dist/{chunk-IGE6CIKZ.js → chunk-Z2LHEYK5.js} +2 -2
- package/dist/{chunk-IGE6CIKZ.js.map → chunk-Z2LHEYK5.js.map} +1 -1
- package/dist/{chunk-MBLVLQWI.js → chunk-ZI5JHYPT.js} +2 -2
- package/dist/{cli-VC3BXCVR.js → cli-2JZEYVTI.js} +27 -19
- package/dist/cli-2JZEYVTI.js.map +1 -0
- package/dist/{cli-RKYIZ6KU.js → cli-4P4FWT6C.js} +26 -26
- package/dist/{cli-NJC3H3CW.js → cli-4YURODFH.js} +14 -14
- package/dist/{cli-5ZQXVWWC.js → cli-DK55ACQR.js} +41 -22
- package/dist/cli-DK55ACQR.js.map +1 -0
- package/dist/{cli-LRKBCQRS.js → cli-HGZ7XTDU.js} +9 -9
- package/dist/{cli-LQRHK23G.js → cli-MRH5QXW5.js} +9 -9
- package/dist/{cli-FCGGNZ5C.js → cli-NCJZTOWR.js} +2 -2
- package/dist/{cli-OHKWCJIJ.js → cli-NUP7KAW3.js} +20 -20
- package/dist/{cli-D5WYQVUF.js → cli-OD7SXNLX.js} +14 -14
- package/dist/{cli-TJDQ5GUW.js → cli-TDCMZ7HV.js} +14 -14
- package/dist/{cli-FNX4LXMI.js → cli-WQNWAMDL.js} +35 -35
- package/dist/cli.js +14 -14
- package/dist/docmeta.js +8 -8
- package/dist/{github-7ZT4KYQU.js → github-FX4WWY7N.js} +14 -14
- package/dist/{github-6PV2JTZ7.js → github-TOQ4AJIU.js} +12 -12
- package/dist/index.d.ts +185 -94
- package/dist/index.js +41 -41
- package/dist/{json-VWXLDTXR.js → json-SIPVIBNW.js} +12 -12
- package/dist/{json-5EQCGVCV.js → json-YTKUFNO3.js} +2 -2
- package/dist/{labels-ZJK27RL3.js → labels-UXKTDM5A.js} +11 -11
- package/dist/{lint-5OERIERT.js → lint-UUVMFRPB.js} +12 -12
- package/dist/{list-MANBRF7Z.js → list-6Q7VGKIG.js} +12 -12
- package/dist/{list-SEEANTU6.js → list-FLNHGIML.js} +12 -12
- package/dist/{page-O4M65KMJ.js → page-FPLKY53Q.js} +11 -11
- package/dist/{prepare-3WULLZER.js → prepare-VUHZQTJ4.js} +12 -12
- package/dist/{pretty-D3M366JD.js → pretty-JDZSGZCR.js} +13 -13
- package/dist/{pretty-5FRBLTXU.js → pretty-WKPQD3UU.js} +12 -12
- package/dist/{reporters-4WWZRHKI.js → reporters-E53V7UXY.js} +4 -4
- package/dist/{reporters-GDCZ5P7C.js → reporters-RAWZONQ3.js} +11 -11
- package/dist/{run-TZDLG6EN.js → run-2BDAM2LA.js} +12 -12
- package/dist/{sarif-PUZAMEFQ.js → sarif-7F6EJA3K.js} +15 -15
- package/dist/{sarif-SSSPOUCK.js → sarif-Q3FX4ODM.js} +10 -10
- package/dist/{term-DHWMUL5N.js → term-5CCU7VDU.js} +17 -17
- package/dist/{validate-4AW7KIIY.js → validate-A2R6KXAH.js} +5 -5
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/dist/check-NW7GHSX6.js +0 -47
- package/dist/chunk-3UYSONT4.js.map +0 -1
- package/dist/chunk-5D24C6WM.js.map +0 -1
- package/dist/chunk-5VNFO2RT.js.map +0 -1
- package/dist/chunk-B5R5BWMY.js.map +0 -1
- package/dist/chunk-D3AO2PMV.js.map +0 -1
- package/dist/chunk-FAS3SRQB.js.map +0 -1
- package/dist/chunk-OZL5M764.js.map +0 -1
- package/dist/chunk-ZIXU7A4C.js.map +0 -1
- package/dist/cli-5ZQXVWWC.js.map +0 -1
- package/dist/cli-VC3BXCVR.js.map +0 -1
- /package/dist/{batch-SAW4E46C.js.map → batch-XVUPHNWT.js.map} +0 -0
- /package/dist/{build-F6S3W77I.js.map → build-GU7M5EC6.js.map} +0 -0
- /package/dist/{calibrate-3DW2VV7F.js.map → calibrate-YODCJAEA.js.map} +0 -0
- /package/dist/{capture-PKEYY2VO.js.map → capture-TZ42LHNK.js.map} +0 -0
- /package/dist/{check-EZN7YNVF.js.map → check-AOGJBQR4.js.map} +0 -0
- /package/dist/{check-LRX2YFDF.js.map → check-I72HPJNA.js.map} +0 -0
- /package/dist/{check-7PUIHLFM.js.map → check-KBDIV35E.js.map} +0 -0
- /package/dist/{check-NW7GHSX6.js.map → check-OIL3CZ4N.js.map} +0 -0
- /package/dist/{chunk-XWUIFSWK.js.map → chunk-2EAUZVO2.js.map} +0 -0
- /package/dist/{chunk-WP5EKWTU.js.map → chunk-2G42VA4H.js.map} +0 -0
- /package/dist/{chunk-WBXVQW57.js.map → chunk-34PGSNS5.js.map} +0 -0
- /package/dist/{chunk-M6DNOHJO.js.map → chunk-3H7M5MXE.js.map} +0 -0
- /package/dist/{chunk-KAWS7H4C.js.map → chunk-4CMNCP5O.js.map} +0 -0
- /package/dist/{chunk-DU6CXY5R.js.map → chunk-4VQVJOIK.js.map} +0 -0
- /package/dist/{chunk-LDIUA4ZG.js.map → chunk-72OTCIYQ.js.map} +0 -0
- /package/dist/{chunk-64EDFJ5S.js.map → chunk-7JDWLMOT.js.map} +0 -0
- /package/dist/{chunk-6J2ED4ED.js.map → chunk-AL46P5H6.js.map} +0 -0
- /package/dist/{chunk-3446DW4W.js.map → chunk-C4MNHJXP.js.map} +0 -0
- /package/dist/{chunk-2LCJNH73.js.map → chunk-EEJFXYFO.js.map} +0 -0
- /package/dist/{chunk-KB4MNUKC.js.map → chunk-ES7PJMHM.js.map} +0 -0
- /package/dist/{chunk-XRWQQHBR.js.map → chunk-FGGDLZUU.js.map} +0 -0
- /package/dist/{chunk-DSJTYRI5.js.map → chunk-GRRSOAAS.js.map} +0 -0
- /package/dist/{chunk-KUXAHHDE.js.map → chunk-GSLXJSGT.js.map} +0 -0
- /package/dist/{chunk-YJHHXM5B.js.map → chunk-GWCITMHN.js.map} +0 -0
- /package/dist/{chunk-TNYIXIYV.js.map → chunk-HH327OEQ.js.map} +0 -0
- /package/dist/{chunk-ZEYNLKOH.js.map → chunk-HUCZKEDF.js.map} +0 -0
- /package/dist/{chunk-HEVYEI6O.js.map → chunk-J33NBVBX.js.map} +0 -0
- /package/dist/{chunk-U5NSIZRS.js.map → chunk-J7MZRF3J.js.map} +0 -0
- /package/dist/{chunk-MDXDTO7E.js.map → chunk-JBB22HPK.js.map} +0 -0
- /package/dist/{chunk-W7IEP7IG.js.map → chunk-LFKYNDG4.js.map} +0 -0
- /package/dist/{chunk-W7XOMNYC.js.map → chunk-MHLCZBW2.js.map} +0 -0
- /package/dist/{chunk-WZSL7KF2.js.map → chunk-MQG4ONTU.js.map} +0 -0
- /package/dist/{chunk-XPGK4ECA.js.map → chunk-N4KY3WLM.js.map} +0 -0
- /package/dist/{chunk-ABAFKOQF.js.map → chunk-N74QH6XJ.js.map} +0 -0
- /package/dist/{chunk-Q7E43SXN.js.map → chunk-O3PRYQCW.js.map} +0 -0
- /package/dist/{chunk-FEURGKJC.js.map → chunk-O7OJWMP5.js.map} +0 -0
- /package/dist/{chunk-5QOTR53S.js.map → chunk-PRF44AAC.js.map} +0 -0
- /package/dist/{chunk-VRMQSP7O.js.map → chunk-PZAHBJ56.js.map} +0 -0
- /package/dist/{chunk-QIKCIREY.js.map → chunk-RBNZI6YG.js.map} +0 -0
- /package/dist/{chunk-XCEEJEVA.js.map → chunk-S5JFWUNK.js.map} +0 -0
- /package/dist/{chunk-2TLNAGVJ.js.map → chunk-T363DMEJ.js.map} +0 -0
- /package/dist/{chunk-FPPHEHPZ.js.map → chunk-UE6IYEKA.js.map} +0 -0
- /package/dist/{chunk-WRSWZEVU.js.map → chunk-UT6SVXUQ.js.map} +0 -0
- /package/dist/{chunk-2A5OIZHT.js.map → chunk-UVUMFFZ6.js.map} +0 -0
- /package/dist/{chunk-4GGADKTU.js.map → chunk-UXEICZKX.js.map} +0 -0
- /package/dist/{chunk-QIWSEKA6.js.map → chunk-W5STNXKP.js.map} +0 -0
- /package/dist/{chunk-KCNBM42T.js.map → chunk-WIHQJSO3.js.map} +0 -0
- /package/dist/{chunk-JK56UPNQ.js.map → chunk-WMOQXWHB.js.map} +0 -0
- /package/dist/{chunk-PS4Y7EPP.js.map → chunk-WRWPOXVG.js.map} +0 -0
- /package/dist/{chunk-TUMR35B3.js.map → chunk-YBWU4JGX.js.map} +0 -0
- /package/dist/{chunk-MBLVLQWI.js.map → chunk-ZI5JHYPT.js.map} +0 -0
- /package/dist/{cli-RKYIZ6KU.js.map → cli-4P4FWT6C.js.map} +0 -0
- /package/dist/{cli-NJC3H3CW.js.map → cli-4YURODFH.js.map} +0 -0
- /package/dist/{cli-LRKBCQRS.js.map → cli-HGZ7XTDU.js.map} +0 -0
- /package/dist/{cli-LQRHK23G.js.map → cli-MRH5QXW5.js.map} +0 -0
- /package/dist/{cli-FCGGNZ5C.js.map → cli-NCJZTOWR.js.map} +0 -0
- /package/dist/{cli-OHKWCJIJ.js.map → cli-NUP7KAW3.js.map} +0 -0
- /package/dist/{cli-D5WYQVUF.js.map → cli-OD7SXNLX.js.map} +0 -0
- /package/dist/{cli-TJDQ5GUW.js.map → cli-TDCMZ7HV.js.map} +0 -0
- /package/dist/{cli-FNX4LXMI.js.map → cli-WQNWAMDL.js.map} +0 -0
- /package/dist/{github-6PV2JTZ7.js.map → github-FX4WWY7N.js.map} +0 -0
- /package/dist/{github-7ZT4KYQU.js.map → github-TOQ4AJIU.js.map} +0 -0
- /package/dist/{json-5EQCGVCV.js.map → json-SIPVIBNW.js.map} +0 -0
- /package/dist/{json-VWXLDTXR.js.map → json-YTKUFNO3.js.map} +0 -0
- /package/dist/{labels-ZJK27RL3.js.map → labels-UXKTDM5A.js.map} +0 -0
- /package/dist/{lint-5OERIERT.js.map → lint-UUVMFRPB.js.map} +0 -0
- /package/dist/{list-MANBRF7Z.js.map → list-6Q7VGKIG.js.map} +0 -0
- /package/dist/{list-SEEANTU6.js.map → list-FLNHGIML.js.map} +0 -0
- /package/dist/{page-O4M65KMJ.js.map → page-FPLKY53Q.js.map} +0 -0
- /package/dist/{prepare-3WULLZER.js.map → prepare-VUHZQTJ4.js.map} +0 -0
- /package/dist/{pretty-5FRBLTXU.js.map → pretty-JDZSGZCR.js.map} +0 -0
- /package/dist/{pretty-D3M366JD.js.map → pretty-WKPQD3UU.js.map} +0 -0
- /package/dist/{reporters-4WWZRHKI.js.map → reporters-E53V7UXY.js.map} +0 -0
- /package/dist/{reporters-GDCZ5P7C.js.map → reporters-RAWZONQ3.js.map} +0 -0
- /package/dist/{run-TZDLG6EN.js.map → run-2BDAM2LA.js.map} +0 -0
- /package/dist/{sarif-PUZAMEFQ.js.map → sarif-7F6EJA3K.js.map} +0 -0
- /package/dist/{sarif-SSSPOUCK.js.map → sarif-Q3FX4ODM.js.map} +0 -0
- /package/dist/{term-DHWMUL5N.js.map → term-5CCU7VDU.js.map} +0 -0
- /package/dist/{validate-4AW7KIIY.js.map → validate-A2R6KXAH.js.map} +0 -0
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
spliceEntryField,
|
|
18
18
|
unifiedDiff,
|
|
19
19
|
withClaimLines
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7MU47MZM.js";
|
|
21
21
|
import {
|
|
22
22
|
CITATIONS_KEY,
|
|
23
23
|
CITE_SECTION,
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
SOURCE_HISTORY_UNAVAILABLE,
|
|
30
30
|
buildSourceIndex,
|
|
31
31
|
checkCitations,
|
|
32
|
+
checkoutResolver,
|
|
32
33
|
claimDiff,
|
|
33
34
|
claimHistory,
|
|
34
35
|
claimWords,
|
|
@@ -44,6 +45,7 @@ import {
|
|
|
44
45
|
noGit,
|
|
45
46
|
orphanRefusal,
|
|
46
47
|
parseCiteConfig,
|
|
48
|
+
parseRepoFlags,
|
|
47
49
|
readCiteConfigFile,
|
|
48
50
|
readSource,
|
|
49
51
|
refineClaim,
|
|
@@ -57,16 +59,16 @@ import {
|
|
|
57
59
|
stripMarkers,
|
|
58
60
|
twoManifestsRefusal,
|
|
59
61
|
urlManifestRefusal
|
|
60
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PJILKN4Z.js";
|
|
61
63
|
import {
|
|
62
64
|
renderCheckJson,
|
|
63
65
|
renderHistoryJson,
|
|
64
66
|
renderRemoveJson,
|
|
65
67
|
renderUpdateJson
|
|
66
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-GMOAW2EG.js";
|
|
67
69
|
import {
|
|
68
70
|
renderCheckGithub
|
|
69
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-PZAHBJ56.js";
|
|
70
72
|
import {
|
|
71
73
|
refusalLine,
|
|
72
74
|
removalLine,
|
|
@@ -75,7 +77,7 @@ import {
|
|
|
75
77
|
renderRemovePretty,
|
|
76
78
|
renderUpdatePretty,
|
|
77
79
|
rewriteLine
|
|
78
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-WRWPOXVG.js";
|
|
79
81
|
import {
|
|
80
82
|
blockMatches,
|
|
81
83
|
claimEnd,
|
|
@@ -101,7 +103,7 @@ import {
|
|
|
101
103
|
toValidationResult,
|
|
102
104
|
unitAt,
|
|
103
105
|
unitText
|
|
104
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-SGV5U4NE.js";
|
|
105
107
|
import {
|
|
106
108
|
CITE_RULES,
|
|
107
109
|
CiteError,
|
|
@@ -127,7 +129,7 @@ import {
|
|
|
127
129
|
sourceRange,
|
|
128
130
|
spellSource,
|
|
129
131
|
validateEntry
|
|
130
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-YMDASDGR.js";
|
|
131
133
|
import {
|
|
132
134
|
MAX_RANGE_LINES,
|
|
133
135
|
MOVE_BUDGET_BYTES,
|
|
@@ -161,7 +163,7 @@ import {
|
|
|
161
163
|
statementForms,
|
|
162
164
|
toBodyLines,
|
|
163
165
|
toFileLines
|
|
164
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-CYMA4O2F.js";
|
|
165
167
|
import {
|
|
166
168
|
__export
|
|
167
169
|
} from "./chunk-2H7UOFLK.js";
|
|
@@ -195,6 +197,7 @@ __export(cite_exports, {
|
|
|
195
197
|
bodyLineOf: () => bodyLineOf,
|
|
196
198
|
buildSourceIndex: () => buildSourceIndex,
|
|
197
199
|
checkCitations: () => checkCitations,
|
|
200
|
+
checkoutResolver: () => checkoutResolver,
|
|
198
201
|
citationInputs: () => citationInputs,
|
|
199
202
|
claimDiff: () => claimDiff,
|
|
200
203
|
claimEnd: () => claimEnd,
|
|
@@ -251,6 +254,7 @@ __export(cite_exports, {
|
|
|
251
254
|
paragraphAfter: () => paragraphAfter,
|
|
252
255
|
parseCiteConfig: () => parseCiteConfig,
|
|
253
256
|
parseLines: () => parseLines,
|
|
257
|
+
parseRepoFlags: () => parseRepoFlags,
|
|
254
258
|
parseSrc: () => parseSrc,
|
|
255
259
|
parseStatements: () => parseStatements,
|
|
256
260
|
pickExtractor: () => pickExtractor,
|
|
@@ -321,6 +325,7 @@ __export(cite_exports, {
|
|
|
321
325
|
var UNDECRYPTABLE = "does not decrypt under the current key";
|
|
322
326
|
var MISSING = "missing (no tracked file matches)";
|
|
323
327
|
var CHANGED = "changed; run `manni cite update --accept` before rotating";
|
|
328
|
+
var undeclared = (repo) => `missing (no repo named ${repo} is declared)`;
|
|
324
329
|
function whereOf(citation, origin) {
|
|
325
330
|
const where = { index: origin.index };
|
|
326
331
|
if (citation.id !== void 0) where.id = citation.id;
|
|
@@ -369,17 +374,28 @@ async function contextFor(opts) {
|
|
|
369
374
|
const index = opts.sourceIndex ?? await buildSourceIndex(opts.root, { gitClient: git });
|
|
370
375
|
return { root: opts.root, index, git };
|
|
371
376
|
}
|
|
377
|
+
function contextsFor(opts) {
|
|
378
|
+
if (opts.checkouts !== void 0) return opts.checkouts;
|
|
379
|
+
let root;
|
|
380
|
+
return (repo) => repo === void 0 ? root ??= contextFor(opts) : Promise.resolve(void 0);
|
|
381
|
+
}
|
|
382
|
+
async function verdictIn(contexts, citation, opts) {
|
|
383
|
+
const repo = citation.source.repo;
|
|
384
|
+
const ctx = await contexts(repo);
|
|
385
|
+
if (ctx === void 0) return { kind: "skip", message: undeclared(repo ?? "") };
|
|
386
|
+
return verdictFor(ctx, citation, opts);
|
|
387
|
+
}
|
|
372
388
|
async function reencryptCitations(page, opts) {
|
|
373
389
|
const read = readPage(page.file, page.content, page.format === void 0 ? void 0 : { format: page.format });
|
|
374
390
|
const result = { content: page.content, rewritten: [], skipped: [] };
|
|
375
391
|
const encrypted = read.citations.filter(({ citation }) => sourceRange(citation.source).encrypted);
|
|
376
392
|
if (encrypted.length === 0) return result;
|
|
377
|
-
const
|
|
393
|
+
const contexts = contextsFor(opts);
|
|
378
394
|
let after = page.content;
|
|
379
395
|
for (const { citation, origin } of encrypted) {
|
|
380
396
|
const range = sourceRange(citation.source);
|
|
381
397
|
const where = whereOf(citation, origin);
|
|
382
|
-
const verdict = await
|
|
398
|
+
const verdict = await verdictIn(contexts, citation, opts);
|
|
383
399
|
if (verdict.kind === "done") continue;
|
|
384
400
|
if (verdict.kind === "skip") {
|
|
385
401
|
result.skipped.push({ ...where, message: verdict.message });
|
|
@@ -411,10 +427,10 @@ async function reencryptCitationEntries(page, opts) {
|
|
|
411
427
|
});
|
|
412
428
|
const encrypted = read.citations.filter(({ citation }) => sourceRange(citation.source).encrypted);
|
|
413
429
|
if (encrypted.length === 0) return out;
|
|
414
|
-
const
|
|
430
|
+
const contexts = contextsFor(opts);
|
|
415
431
|
for (const { citation, origin } of encrypted) {
|
|
416
432
|
const where = whereOf(citation, origin);
|
|
417
|
-
const verdict = await
|
|
433
|
+
const verdict = await verdictIn(contexts, citation, opts);
|
|
418
434
|
if (verdict.kind === "done") continue;
|
|
419
435
|
if (verdict.kind === "skip") {
|
|
420
436
|
out.skipped.push({ ...where, message: verdict.message });
|
|
@@ -440,4 +456,4 @@ export {
|
|
|
440
456
|
reencryptCitationEntries,
|
|
441
457
|
cite_exports
|
|
442
458
|
};
|
|
443
|
-
//# sourceMappingURL=chunk-
|
|
459
|
+
//# sourceMappingURL=chunk-4VR2UFEO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cite/index.ts","../src/cite/core/reencrypt.ts"],"sourcesContent":["/**\n * The citation tool's programmatic API, exported from the package as the\n * `cite` namespace: `import { cite } from \"@hawkeyexl/manni\"`.\n */\nexport * from \"./types.js\";\nexport { CiteError } from \"./errors.js\";\nexport { DEFAULT_SEVERITY, RULE_ID_PREFIX, isCiteRule, resolveSeverity, ruleId } from \"./core/severity.js\";\nexport {\n FILE_PATTERN,\n SRC_PATTERN,\n formatSrc,\n lineSpec,\n parseLines,\n parseSrc,\n rangeLines,\n sourceRange,\n spellLines,\n spellSource,\n} from \"./core/range.js\";\nexport { hashLines, hashRange, isKeyedPin, normalizeText, sliceLines, splitLines } from \"./core/hash.js\";\nexport { shortCommit, shortLine, shortPin, shortSrc, spellAt } from \"./core/spell.js\";\nexport { buildSourceIndex, readSource } from \"./core/sources.js\";\nexport type { BuildIndexOptions, ReadSourceResult } from \"./core/sources.js\";\nexport {\n isUnitText,\n markerClaimEnd,\n markerRunAt,\n misplacedMarkerAt,\n misplacedMarkers,\n movedUnit,\n pre43Span,\n splitUnit,\n unitText,\n} from \"./core/reanchor.js\";\nexport type { MisplacedMarker } from \"./core/reanchor.js\";\nexport {\n anchoredLines,\n detectEol,\n fenceSpanAt,\n fencedBlockAfter,\n fencedBlockAt,\n fencedBlocks,\n formatStatement,\n insideFence,\n isBoundLine,\n isTableRow,\n lineAt,\n offsetOfLine,\n paragraphAfter,\n parseStatements,\n statementForms,\n} from \"./core/statements.js\";\nexport type { StatementForm } from \"./core/statements.js\";\nexport {\n blockMatches,\n claimEnd,\n claimLine,\n markerUnit,\n noUnitAt,\n normalizeWhitespace,\n pinOfLines,\n toBodyLines,\n toFileLines,\n unitAt,\n} from \"./core/claims.js\";\nexport type { ClaimUnit, NoUnit } from \"./core/claims.js\";\nexport {\n GIT_UNAVAILABLE_COMMIT,\n GIT_UNAVAILABLE_HISTORY,\n PAGE_HISTORY_UNAVAILABLE,\n SOURCE_HISTORY_UNAVAILABLE,\n gitClient,\n noGit,\n} from \"./core/git.js\";\nexport {\n MAX_PAGE_COMMITS,\n claimDiff,\n claimHistory,\n claimWords,\n holdsWords,\n refineClaim,\n runsHolding,\n sentencesOf,\n sharesSentence,\n stripMarkers,\n} from \"./core/history.js\";\nexport type { ClaimHistory, ClaimHistoryInput, RefineClaimInput } from \"./core/history.js\";\nexport { MAX_RANGE_LINES, MOVE_BUDGET_BYTES, MOVE_WINDOW_LINES, classifyCitation, findWindows, historyOf } from \"./core/classify.js\";\nexport type { ClassifyOptions, FindWindowsOptions, History } from \"./core/classify.js\";\nexport {\n MARKER_JSON,\n MAX_MARKERS_PER_PAGE,\n bodyLineOf,\n citationInputs,\n ownedMessage,\n pickExtractor,\n readPage,\n validateEntry,\n} from \"./core/page.js\";\nexport { shiftedEntries, withClaimLines } from \"./core/shift.js\";\nexport type { ShiftOptions, Shifted } from \"./core/shift.js\";\nexport {\n CITATIONS_KEY,\n duplicateJoinRefusal,\n loadCitationSidecars,\n orphanRefusal,\n sidecarsFor,\n twoManifestsRefusal,\n urlManifestRefusal,\n} from \"./core/sidecar.js\";\nexport type {\n CitationManifest,\n CitationSidecars,\n LoadSidecarOptions,\n PageSidecar,\n} from \"./core/sidecar.js\";\nexport { ManifestSet, itemLine, splice } from \"./core/manifest.js\";\nexport type { HeldManifest } from \"./core/manifest.js\";\nexport type { ReadPageOptions } from \"./core/page.js\";\nexport { checkCitations } from \"./core/check-page.js\";\nexport {\n claimMessageFor,\n errorSite,\n findingsFor,\n messageFor,\n misplacedMessageFor,\n toValidationResult,\n} from \"./core/adapt.js\";\nexport {\n appendFrontmatterCitation,\n entryObject,\n insertStatementBefore,\n removeFrontmatterCitations,\n removeLine,\n spliceEntryField,\n unifiedDiff,\n} from \"./core/write.js\";\nexport type { EntryPath } from \"./core/write.js\";\nexport { mintCitation } from \"./core/mint.js\";\nexport {\n CITE_SECTION,\n DEFAULT_CITE_BASELINE_PATH,\n loadCiteConfig,\n parseCiteConfig,\n parseRepoFlags,\n readCiteConfigFile,\n resolveCiteRun,\n} from \"./core/config.js\";\nexport type { CiteRunOptions } from \"./core/config.js\";\n\nexport { checkoutResolver, runCheck } from \"./commands/check.js\";\nexport { runAdd } from \"./commands/add.js\";\nexport { runRemove } from \"./commands/remove.js\";\nexport { runUpdate } from \"./commands/update.js\";\nexport { runHistory } from \"./commands/history.js\";\nexport { reencryptCitationEntries, reencryptCitations } from \"./core/reencrypt.js\";\nexport type { ReencryptEntriesResult, ReencryptOptions } from \"./core/reencrypt.js\";\nexport {\n refusalLine,\n removalLine,\n renderCheckPretty,\n renderHistoryPretty,\n renderRemovePretty,\n renderUpdatePretty,\n rewriteLine,\n} from \"./reporters/pretty.js\";\nexport type { PrettyOptions } from \"./reporters/pretty.js\";\nexport { renderCheckJson, renderHistoryJson, renderRemoveJson, renderUpdateJson } from \"./reporters/json.js\";\nexport { renderCheckGithub } from \"./reporters/github.js\";\n","/**\n * `reencryptCitations`: re-encrypt one page's encrypted citations under a new\n * key, for `manni key rotate` (proposal 0045). It reads sources and never\n * writes: the caller gets the rewritten page back, and writes it only once\n * every page in the run could be re-encrypted.\n *\n * A citation counts as done only when its `source.file` decrypts under the\n * new key *and* its pin holds under the new key. Either alone is a half\n * rotation, and a rerun has to finish it rather than declare it done. Meta's\n * walker cannot leave one today, because it skips the whole `citations` key\n * and cite encrypts in its own `cite-src` context; an interrupted run, a hand\n * edit, or a second writer of the same manifest can.\n *\n * The path must be tracked, and the pin must hold under the old key, over the\n * lines as they are today or, with git, as they were at the baseline the\n * classifier derives from the source's history (proposal 0097). Then `file` becomes the\n * path's ciphertext under the new key, its lines kept, and `integrity` the\n * keyed pin under it, so a `changed` citation stays exactly as changed. A pin\n * that holds nowhere is skipped, with `update --accept` named as the repair.\n * No message names a path.\n */\nimport type {\n CheckoutResolver,\n Citation,\n CitationInput,\n CitationOrigin,\n GitClient,\n ReencryptCitationsResult,\n ReencryptedCitation,\n SourceIndex,\n SourceRange,\n} from \"../types.js\";\nimport { sourceBaseline } from \"./classify.js\";\nimport { gitClient } from \"./git.js\";\nimport { hashLines, sliceLines, splitLines } from \"./hash.js\";\nimport { readPage } from \"./page.js\";\nimport { formatSrc, sourceRange, spellSource } from \"./range.js\";\nimport { buildSourceIndex, decryptSourcePath, encryptSourcePath, readSource } from \"./sources.js\";\nimport { spliceEntryField } from \"./write.js\";\n\nconst UNDECRYPTABLE = \"does not decrypt under the current key\";\nconst MISSING = \"missing (no tracked file matches)\";\nconst CHANGED = \"changed; run `manni cite update --accept` before rotating\";\nconst undeclared = (repo: string): string => `missing (no repo named ${repo} is declared)`;\n\ntype Where = Pick<ReencryptedCitation, \"id\" | \"index\" | \"line\">;\n\n/** The fields a report row carries to name the entry: its id, or where it sits. */\nfunction whereOf(citation: Citation, origin: CitationOrigin): Where {\n const where: Where = { index: origin.index };\n if (citation.id !== undefined) where.id = citation.id;\n if (origin.line !== undefined) where.line = origin.line;\n return where;\n}\n\ninterface Context {\n root: string;\n index: SourceIndex;\n git: GitClient;\n}\n\n/**\n * The lines the pin was taken over, joined: today's when the pin holds there\n * under `key`, else the lines at the derived baseline when git finds one;\n * else why neither.\n */\nasync function pinnedLines(\n ctx: Context,\n citation: Citation,\n range: SourceRange,\n path: string,\n key: string,\n): Promise<{ joined: string } | { skip: string }> {\n const source = await readSource(ctx.root, ctx.index, { ...range, path, encrypted: false });\n if (source.kind === \"missing\") return { skip: MISSING };\n const pin = citation.source.integrity;\n let joined: string | undefined;\n try {\n joined = sliceLines(splitLines(source.text), range);\n } catch {\n // The range runs past the end of the file as it is now.\n joined = undefined;\n }\n if (joined !== undefined && hashLines(joined, key) === pin) return { joined };\n\n // The baseline the classifier derives (0097): the recorded commit when it\n // holds, else the newest commit in the source's history that does.\n if (await ctx.git.available()) {\n const recorded = citation.source[\"commit-sha\"];\n const { history } = await sourceBaseline(ctx.git, recorded, path, range, pin, key, undefined);\n if (history.kind === \"original\") return { joined: history.lines.join(\"\\n\") };\n }\n return { skip: CHANGED };\n}\n\n/** What one citation needs: nothing, a new pair of values, or a reason it cannot be done. */\ntype Verdict =\n | { kind: \"done\" }\n | { kind: \"skip\"; message: string }\n | { kind: \"write\"; file: string; integrity: string; to: string };\n\n/** Options every re-encryption takes, whichever channel the entry lives in. */\nexport interface ReencryptOptions {\n root: string;\n fromKey: string;\n toKey: string;\n /** History and the source index are read through it; defaults to one over the root. */\n gitClient?: GitClient;\n sourceIndex?: SourceIndex;\n /**\n * The checkouts an entry's `source.repo` may name (proposal 0100). Given,\n * it answers for the root too. Absent, an entry with no repo resolves under\n * `root` and every repo is undeclared.\n */\n checkouts?: CheckoutResolver;\n}\n\n/**\n * One citation's verdict: whether it is already under the new key, what its\n * `source.file` and `source.integrity` become, or why neither. The rule is\n * the same wherever the entry is kept, so the page splicer and the manifest\n * writer both go through here.\n */\nasync function verdictFor(\n ctx: Context,\n citation: Citation,\n opts: Pick<ReencryptOptions, \"fromKey\" | \"toKey\">,\n): Promise<Verdict> {\n const range = sourceRange(citation.source);\n const underNew = decryptSourcePath(range.path, opts.toKey);\n // Done only when both halves are under the new key; a file that is and a\n // pin that is not is the half rotation this finishes.\n if (underNew !== undefined) {\n const held = await pinnedLines(ctx, citation, range, underNew, opts.toKey);\n if (\"joined\" in held) return { kind: \"done\" };\n }\n const path = underNew ?? decryptSourcePath(range.path, opts.fromKey);\n if (path === undefined) return { kind: \"skip\", message: UNDECRYPTABLE };\n const lines = await pinnedLines(ctx, citation, range, path, opts.fromKey);\n if (\"skip\" in lines) return { kind: \"skip\", message: lines.skip };\n const file = underNew === undefined ? encryptSourcePath(path, opts.toKey) : range.path;\n return {\n kind: \"write\",\n file,\n integrity: hashLines(lines.joined, opts.toKey),\n to: formatSrc({ ...range, path: file }),\n };\n}\n\n/** The git client and source index a run shares, built once per page at most. */\nasync function contextFor(opts: ReencryptOptions): Promise<Context> {\n const git = opts.gitClient ?? gitClient(opts.root);\n const index = opts.sourceIndex ?? (await buildSourceIndex(opts.root, { gitClient: git }));\n return { root: opts.root, index, git };\n}\n\n/** The context each citation is judged in, by its `source.repo`; `undefined` for an undeclared repo. */\nfunction contextsFor(opts: ReencryptOptions): CheckoutResolver {\n if (opts.checkouts !== undefined) return opts.checkouts;\n let root: Promise<Context> | undefined;\n return (repo) => (repo === undefined ? (root ??= contextFor(opts)) : Promise.resolve(undefined));\n}\n\n/** One citation's verdict in the checkout it names. */\nasync function verdictIn(\n contexts: CheckoutResolver,\n citation: Citation,\n opts: Pick<ReencryptOptions, \"fromKey\" | \"toKey\">,\n): Promise<Verdict> {\n const repo = citation.source.repo;\n const ctx = await contexts(repo);\n if (ctx === undefined) return { kind: \"skip\", message: undeclared(repo ?? \"\") };\n return verdictFor(ctx, citation, opts);\n}\n\nexport async function reencryptCitations(\n page: { file: string; content: string; format?: string },\n opts: ReencryptOptions,\n): Promise<ReencryptCitationsResult> {\n const read = readPage(page.file, page.content, page.format === undefined ? undefined : { format: page.format });\n const result: ReencryptCitationsResult = { content: page.content, rewritten: [], skipped: [] };\n const encrypted = read.citations.filter(({ citation }) => sourceRange(citation.source).encrypted);\n // A page with nothing encrypted costs no index and no git.\n if (encrypted.length === 0) return result;\n\n const contexts = contextsFor(opts);\n let after = page.content;\n for (const { citation, origin } of encrypted) {\n const range = sourceRange(citation.source);\n const where = whereOf(citation, origin);\n const verdict = await verdictIn(contexts, citation, opts);\n if (verdict.kind === \"done\") continue;\n if (verdict.kind === \"skip\") {\n result.skipped.push({ ...where, message: verdict.message });\n continue;\n }\n if (verdict.file !== range.path) {\n after = spliceEntryField(after, read.format, origin.index, [\"source\", \"file\"], verdict.file);\n }\n after = spliceEntryField(\n after,\n read.format,\n origin.index,\n [\"source\", \"integrity\"],\n verdict.integrity,\n );\n result.rewritten.push({ ...where, from: spellSource(citation.source), to: verdict.to });\n }\n result.content = after;\n return result;\n}\n\n/** What `reencryptCitationEntries` did to one page's manifest entries. */\nexport interface ReencryptEntriesResult {\n /** The entries as they should now be written, a copy of what came in. */\n entries: unknown[];\n /** Whether any of them changed. */\n changed: boolean;\n rewritten: ReencryptedCitation[];\n skipped: { id?: string; index?: number; line?: number; message: string }[];\n}\n\n/**\n * The same rotation, for a page whose citations live in a manifest.\n *\n * The entries come from meta's merge, so they are plain values; each one is\n * validated as `readPage` validates a frontmatter entry, and an encrypted\n * source's `file` and `integrity` are rewritten in place. The caller writes\n * the whole list back with one splice, once every page of the run could be\n * re-encrypted.\n */\nexport async function reencryptCitationEntries(\n page: { file: string; content: string; format?: string; citations: readonly CitationInput[] },\n opts: ReencryptOptions,\n): Promise<ReencryptEntriesResult> {\n const entries: unknown[] = JSON.parse(\n JSON.stringify(page.citations.map((input) => input.entry)),\n ) as unknown[];\n const out: ReencryptEntriesResult = { entries, changed: false, rewritten: [], skipped: [] };\n\n const read = readPage(page.file, page.content, {\n ...(page.format === undefined ? {} : { format: page.format }),\n citations: page.citations,\n });\n const encrypted = read.citations.filter(({ citation }) => sourceRange(citation.source).encrypted);\n if (encrypted.length === 0) return out;\n\n const contexts = contextsFor(opts);\n for (const { citation, origin } of encrypted) {\n const where = whereOf(citation, origin);\n const verdict = await verdictIn(contexts, citation, opts);\n if (verdict.kind === \"done\") continue;\n if (verdict.kind === \"skip\") {\n out.skipped.push({ ...where, message: verdict.message });\n continue;\n }\n const entry: unknown = entries[origin.index];\n const source =\n typeof entry === \"object\" && entry !== null && !Array.isArray(entry)\n ? (entry as Record<string, unknown>).source\n : undefined;\n if (typeof source !== \"object\" || source === null || Array.isArray(source)) {\n out.skipped.push({ ...where, message: UNDECRYPTABLE });\n continue;\n }\n const fields = source as Record<string, unknown>;\n fields.file = verdict.file;\n fields.integrity = verdict.integrity;\n out.changed = true;\n out.rewritten.push({ ...where, from: spellSource(citation.source), to: verdict.to });\n }\n return out;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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SAAS,QAAQ;AAC3B,UAAI,QAAQ,KAAK,EAAE,GAAG,OAAO,SAAS,QAAQ,QAAQ,CAAC;AACvD;AAAA,IACF;AACA,UAAM,QAAiB,QAAQ,OAAO,KAAK;AAC3C,UAAM,SACJ,OAAO,UAAU,YAAY,UAAU,QAAQ,CAAC,MAAM,QAAQ,KAAK,IAC9D,MAAkC,SACnC;AACN,QAAI,OAAO,WAAW,YAAY,WAAW,QAAQ,MAAM,QAAQ,MAAM,GAAG;AAC1E,UAAI,QAAQ,KAAK,EAAE,GAAG,OAAO,SAAS,cAAc,CAAC;AACrD;AAAA,IACF;AACA,UAAM,SAAS;AACf,WAAO,OAAO,QAAQ;AACtB,WAAO,YAAY,QAAQ;AAC3B,QAAI,UAAU;AACd,QAAI,UAAU,KAAK,EAAE,GAAG,OAAO,MAAM,YAAY,SAAS,MAAM,GAAG,IAAI,QAAQ,GAAG,CAAC;AAAA,EACrF;AACA,SAAO;AACT;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
displayPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PRF44AAC.js";
|
|
5
5
|
import {
|
|
6
6
|
TERM_FIELDS
|
|
7
7
|
} from "./chunk-MC7U5IH4.js";
|
|
@@ -55,4 +55,4 @@ export {
|
|
|
55
55
|
renderFindingsJson,
|
|
56
56
|
renderFormatsJson
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-72OTCIYQ.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
findingMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PZAHBJ56.js";
|
|
5
5
|
import {
|
|
6
6
|
errorSite
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SGV5U4NE.js";
|
|
8
8
|
import {
|
|
9
9
|
RULE_ID_PREFIX,
|
|
10
10
|
guidanceFor,
|
|
11
11
|
isCiteRule
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YMDASDGR.js";
|
|
13
13
|
import {
|
|
14
14
|
renderSarif
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-34PGSNS5.js";
|
|
16
16
|
import {
|
|
17
17
|
guidanceLines
|
|
18
18
|
} from "./chunk-QK6VYJHV.js";
|
|
@@ -78,4 +78,4 @@ export {
|
|
|
78
78
|
withFindingMessages,
|
|
79
79
|
renderCheckSarif
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=chunk-
|
|
81
|
+
//# sourceMappingURL=chunk-7JDWLMOT.js.map
|