@usefragments/core 1.8.0 → 1.9.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/dist/{chunk-UUREQ4HD.js → chunk-DGHZQTLH.js} +7 -1
- package/dist/{chunk-UUREQ4HD.js.map → chunk-DGHZQTLH.js.map} +1 -1
- package/dist/codes/index.d.ts +1 -1
- package/dist/codes/index.js +1 -1
- package/dist/{index-Cxk3SOQP.d.ts → index-DtHxs0Pf.d.ts} +90 -0
- package/dist/index.d.ts +10 -2
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +1 -1
- package/package.json +1 -1
- package/src/rules/finding.ts +22 -0
- package/src/rules/jsx-preferred-import-path.ts +18 -0
- package/src/rules/rules.test.ts +114 -0
- package/src/schemas/index.ts +6 -0
|
@@ -2497,6 +2497,12 @@ var findingSchema = z3.object({
|
|
|
2497
2497
|
helpUrl: z3.string().url().optional(),
|
|
2498
2498
|
message: z3.string(),
|
|
2499
2499
|
fingerprint: z3.string(),
|
|
2500
|
+
/**
|
|
2501
|
+
* Fingerprint this finding carried before a fingerprint-identity migration.
|
|
2502
|
+
* Emitted only by migrated rules during the grace window so baseline
|
|
2503
|
+
* records keyed on the legacy hash keep matching instead of churning.
|
|
2504
|
+
*/
|
|
2505
|
+
previousFingerprint: z3.string().optional(),
|
|
2500
2506
|
location: factLocationSchema,
|
|
2501
2507
|
evidence: z3.array(factEvidenceSchema).min(1),
|
|
2502
2508
|
evidenceGrade: evidenceGradeSchema.optional(),
|
|
@@ -2905,4 +2911,4 @@ export {
|
|
|
2905
2911
|
normalizeFinding,
|
|
2906
2912
|
normalizeViolation
|
|
2907
2913
|
};
|
|
2908
|
-
//# sourceMappingURL=chunk-
|
|
2914
|
+
//# sourceMappingURL=chunk-DGHZQTLH.js.map
|