slopbrick 0.15.0 → 0.17.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 +12 -13
- package/dist/engine/worker.cjs +1427 -22
- package/dist/engine/worker.js +1427 -22
- package/dist/index.cjs +19738 -18784
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +19740 -18786
- package/package.json +5 -3
package/dist/index.d.cts
CHANGED
|
@@ -260,7 +260,7 @@ interface ScanFactsV2 {
|
|
|
260
260
|
*/
|
|
261
261
|
type Bucket = 'ai' | 'hygiene' | 'suppressed';
|
|
262
262
|
|
|
263
|
-
declare const VERSION
|
|
263
|
+
declare const VERSION: string;
|
|
264
264
|
/**
|
|
265
265
|
* Runtime shape of `.slopbrick/health.json`. The on-disk JSON
|
|
266
266
|
* matches `packages/core/schemas/v1/health.schema.json` (v3); this
|
|
@@ -544,6 +544,15 @@ interface Issue {
|
|
|
544
544
|
fix?: FixSuggestion;
|
|
545
545
|
fixes?: FixSuggestion[];
|
|
546
546
|
signalStrength?: SignalStrengthEntry;
|
|
547
|
+
/**
|
|
548
|
+
* v0.17.0 — Optional rule-specific structured data that the
|
|
549
|
+
* orchestration layer promotes to typed finding fields (e.g.
|
|
550
|
+
* `DbFinding.table`, `DocFinding.package`). Conventions:
|
|
551
|
+
* - db/* rules: `{ table?: string, columnName?: string }`
|
|
552
|
+
* - docs/* rules: `{ package?: string, identifier?: string, link?: string }`
|
|
553
|
+
* Reporters and rules that don't need this can ignore it.
|
|
554
|
+
*/
|
|
555
|
+
extras?: Record<string, unknown>;
|
|
547
556
|
}
|
|
548
557
|
interface CachedFile {
|
|
549
558
|
hash: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -260,7 +260,7 @@ interface ScanFactsV2 {
|
|
|
260
260
|
*/
|
|
261
261
|
type Bucket = 'ai' | 'hygiene' | 'suppressed';
|
|
262
262
|
|
|
263
|
-
declare const VERSION
|
|
263
|
+
declare const VERSION: string;
|
|
264
264
|
/**
|
|
265
265
|
* Runtime shape of `.slopbrick/health.json`. The on-disk JSON
|
|
266
266
|
* matches `packages/core/schemas/v1/health.schema.json` (v3); this
|
|
@@ -544,6 +544,15 @@ interface Issue {
|
|
|
544
544
|
fix?: FixSuggestion;
|
|
545
545
|
fixes?: FixSuggestion[];
|
|
546
546
|
signalStrength?: SignalStrengthEntry;
|
|
547
|
+
/**
|
|
548
|
+
* v0.17.0 — Optional rule-specific structured data that the
|
|
549
|
+
* orchestration layer promotes to typed finding fields (e.g.
|
|
550
|
+
* `DbFinding.table`, `DocFinding.package`). Conventions:
|
|
551
|
+
* - db/* rules: `{ table?: string, columnName?: string }`
|
|
552
|
+
* - docs/* rules: `{ package?: string, identifier?: string, link?: string }`
|
|
553
|
+
* Reporters and rules that don't need this can ignore it.
|
|
554
|
+
*/
|
|
555
|
+
extras?: Record<string, unknown>;
|
|
547
556
|
}
|
|
548
557
|
interface CachedFile {
|
|
549
558
|
hash: string;
|