mutation-testing-metrics
Advanced tools
Comparing version 2.0.1 to 2.0.3
@@ -6,4 +6,4 @@ import type { FileUnderTestModel } from '../model/file-under-test-model'; | ||
export declare function normalize<TIn, TOut>(input: Record<string, TIn>, projectRoot: string, factory: (input: TIn, relativeFileName: string) => TOut): Record<string, TOut>; | ||
export declare function determineCommonBasePath(fileNames: ReadonlyArray<string>): string; | ||
export declare function determineCommonBasePath(fileNames: readonly string[]): string; | ||
export declare function compareNames<TFile = FileUnderTestModel, TMetrics = Metrics>(a: MetricsResult<TFile, TMetrics>, b: MetricsResult<TFile, TMetrics>): number; | ||
//# sourceMappingURL=file.d.ts.map |
"use strict"; | ||
/* eslint-disable @typescript-eslint/no-unsafe-enum-comparison */ | ||
// The implementation of this file is grabbed and modified from TypeScript source code | ||
@@ -3,0 +4,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -14,3 +14,3 @@ "use strict"; | ||
assertSourceDefined(this.source); | ||
return this.lineMap || (this.lineMap = (0, helpers_1.computeLineStarts)(this.source)); | ||
return this.lineMap ?? (this.lineMap = (0, helpers_1.computeLineStarts)(this.source)); | ||
} | ||
@@ -17,0 +17,0 @@ /** |
@@ -25,3 +25,3 @@ "use strict"; | ||
TestStatus["NotCovering"] = "NotCovering"; | ||
})(TestStatus = exports.TestStatus || (exports.TestStatus = {})); | ||
})(TestStatus || (exports.TestStatus = TestStatus = {})); | ||
class TestModel { | ||
@@ -28,0 +28,0 @@ addCovered(mutant) { |
{ | ||
"name": "mutation-testing-metrics", | ||
"version": "2.0.1", | ||
"version": "2.0.3", | ||
"description": "Utility functions to calculate mutation testing metrics.", | ||
@@ -22,5 +22,5 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"mutation-testing-report-schema": "2.0.1" | ||
"mutation-testing-report-schema": "2.0.3" | ||
}, | ||
"gitHead": "b259a9b385a3faabbfcf278e255db5b7f6c6fca3" | ||
"gitHead": "ab01f017bd53bf5b0d737710a10d47ebe02a63ee" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62389
1060
+ Addedmutation-testing-report-schema@2.0.3(transitive)
- Removedmutation-testing-report-schema@2.0.1(transitive)