Socket
Socket
Sign inDemoInstall

mutation-testing-metrics

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mutation-testing-metrics - npm Package Compare versions

Comparing version 2.0.1 to 2.0.3

2

dist/src/helpers/file.d.ts

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc