@cplieger/deadset-ts 8.0.0-dev.5 → 8.0.0-dev.6
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/src/analysis.js +3 -3
- package/dist/src/config.js +1 -1
- package/dist/src/conformance-record.js +1 -1
- package/dist/src/contract/contract.generated.js +1071 -0
- package/dist/src/contract/report.generated.js +796 -0
- package/dist/src/exempt-classes.js +1 -59
- package/dist/src/exempt.js +8 -19
- package/dist/src/findings/completion.js +11 -20
- package/dist/src/findings/dependencies-and-module-machinery.js +4 -5
- package/dist/src/findings/emitters.js +4 -4
- package/dist/src/findings/interfaces.js +4 -5
- package/dist/src/findings/intra-function.js +8 -7
- package/dist/src/findings/non-code-artifacts.js +5 -6
- package/dist/src/findings/reads-and-writes.js +9 -8
- package/dist/src/findings/self-check.js +7 -10
- package/dist/src/findings/unused-declarations.js +28 -27
- package/dist/src/findings/visibility-narrowing.js +9 -11
- package/dist/src/findings-pass.js +1 -3
- package/dist/src/index.js +1 -1
- package/dist/src/intra-function-parts.js +8 -13
- package/dist/src/kinds.js +4 -360
- package/dist/src/report-schema.js +273 -0
- package/dist/src/report.js +17 -11
- package/dist/src/resolve.js +1 -6
- package/dist/src/run.js +2 -1
- package/dist/src/setup-failure.js +2 -6
- package/dist/src/suppress-file.js +4 -3
- package/dist/src/suppress-inline.js +3 -2
- package/dist/src/suppress.js +29 -48
- package/dist/src/verbs/analyze.js +7 -2
- package/dist/src/verbs/describe.js +4 -4
- package/dist/src/verbs/explain.js +2 -1
- package/dist/src/verbs/print-config.js +2 -1
- package/dist/src/verbs/print-projects.js +2 -1
- package/dist/src/verbs/print-retained.js +2 -1
- package/dist/src/verbs/print-roots.js +2 -1
- package/dist/src/verbs/verb.js +1 -5
- package/dist/src/verbs/version.js +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -1
- package/src/analysis.ts +3 -3
- package/src/config.ts +7 -13
- package/src/conformance-record.ts +1 -1
- package/src/contract/contract.generated.ts +1123 -0
- package/src/contract/report.generated.ts +1157 -0
- package/src/exempt-classes.ts +1 -70
- package/src/exempt.ts +12 -20
- package/src/finding.ts +9 -9
- package/src/findings/completion.ts +22 -23
- package/src/findings/dependencies-and-module-machinery.ts +4 -7
- package/src/findings/emitter.ts +6 -7
- package/src/findings/emitters.ts +6 -6
- package/src/findings/interfaces.ts +4 -6
- package/src/findings/intra-function.ts +8 -8
- package/src/findings/non-code-artifacts.ts +5 -7
- package/src/findings/reads-and-writes.ts +13 -11
- package/src/findings/self-check.ts +8 -15
- package/src/findings/unused-declarations.ts +28 -27
- package/src/findings/visibility-narrowing.ts +9 -12
- package/src/findings-pass.ts +1 -4
- package/src/index.ts +1 -1
- package/src/intra-function-parts.ts +8 -14
- package/src/kinds.ts +6 -406
- package/src/report-schema.ts +366 -0
- package/src/report.ts +42 -195
- package/src/reporters/annotations.ts +2 -2
- package/src/reporters/json.ts +1 -1
- package/src/reporters/reporter.ts +2 -2
- package/src/reporters/reporters.ts +1 -1
- package/src/reporters/sarif.ts +13 -8
- package/src/reporters/text.ts +3 -3
- package/src/resolve.ts +11 -11
- package/src/run.ts +2 -1
- package/src/setup-failure.ts +5 -7
- package/src/suppress-file.ts +3 -4
- package/src/suppress-inline.ts +2 -2
- package/src/suppress.ts +39 -55
- package/src/verbs/analyze.ts +16 -4
- package/src/verbs/describe.ts +10 -4
- package/src/verbs/explain.ts +2 -1
- package/src/verbs/print-config.ts +2 -1
- package/src/verbs/print-projects.ts +2 -1
- package/src/verbs/print-retained.ts +2 -1
- package/src/verbs/print-roots.ts +2 -1
- package/src/verbs/verb.ts +0 -6
- package/src/verbs/version.ts +2 -2
- package/dist/src/version.js +0 -7
- package/src/version.ts +0 -7
package/dist/src/analysis.js
CHANGED
|
@@ -862,7 +862,7 @@ function nearestManifestDir(host, root, file) {
|
|
|
862
862
|
}
|
|
863
863
|
/**
|
|
864
864
|
* The input every emitter reads over one sweep of a read run: the facts beside the sweep
|
|
865
|
-
* each
|
|
865
|
+
* each emitter reads, every per-project one read in the same session as the sweep.
|
|
866
866
|
*/
|
|
867
867
|
export function emitterInputOver(host, scope, config, read, input, selfCheck) {
|
|
868
868
|
const targetRoot = scope.target.path;
|
|
@@ -904,7 +904,7 @@ export function emitterInputOver(host, scope, config, read, input, selfCheck) {
|
|
|
904
904
|
* directives, the ignore file's entries and the baseline's rows are bound before any
|
|
905
905
|
* sweep, and the run is swept once under every bound record's mark and once under none,
|
|
906
906
|
* so a record is decided against the finding its code would have produced. The
|
|
907
|
-
*
|
|
907
|
+
* configuration family reports the refused suppressions and the roots that named nothing.
|
|
908
908
|
* Beside the inputs it answers the projects and test-file rules a report names.
|
|
909
909
|
*/
|
|
910
910
|
function readAnalysis(engine, host, scope, config, provenance, mode, detectors) {
|
|
@@ -988,7 +988,7 @@ function unmappedEverywhere(projects) {
|
|
|
988
988
|
}
|
|
989
989
|
/**
|
|
990
990
|
* The analysis of the run the scope and the configuration describe: the run read with its
|
|
991
|
-
* suppressions bound, every
|
|
991
|
+
* suppressions bound, every emitter's findings with the suppressions applied and the
|
|
992
992
|
* declared edges evaluated, the projects and test-file rules the report names, and the sweep
|
|
993
993
|
* an explanation reads.
|
|
994
994
|
*/
|
package/dist/src/config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CONTRACT_VERSION } from "./
|
|
1
|
+
import { CONTRACT_VERSION, } from "./contract/contract.generated.js";
|
|
2
2
|
/**
|
|
3
3
|
* The name of the repository configuration at the target root, which is also the
|
|
4
4
|
* document a finding about the configuration names where no document of the
|
|
@@ -4,7 +4,7 @@ export const RECORD = {
|
|
|
4
4
|
conformance: {
|
|
5
5
|
corpusVersion: "6.0.0",
|
|
6
6
|
result: "pass",
|
|
7
|
-
digest: "sha256:
|
|
7
|
+
digest: "sha256:34a8ab2311bbd063b1f341d0e01e35c7fdd059ca3bcd288a60df4491dc177734",
|
|
8
8
|
},
|
|
9
9
|
gaps: [],
|
|
10
10
|
};
|