mutation-testing-metrics
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.2.2](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.2.1...v1.2.2) (2019-12-04) | ||
### Bug Fixes | ||
* **metrics:** correct lodash import ([3c5d6d2](https://github.com/stryker-mutator/mutation-testing-elements/commit/3c5d6d28e33453801e1b137330f38b616e1910c7)) | ||
## [1.2.1](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.2.0...v1.2.1) (2019-11-24) | ||
@@ -8,0 +19,0 @@ |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const helpers_1 = require("./helpers"); | ||
const lodash_1 = require("lodash"); | ||
const lodash_groupby_1 = __importDefault(require("lodash.groupby")); | ||
const DEFAULT_SCORE = 100; | ||
@@ -35,3 +38,3 @@ const ROOT_NAME = 'All files'; | ||
function toChildModels(files) { | ||
const filesByDirectory = lodash_1.groupBy(Object.entries(files), namedFile => namedFile[0].split('/')[0]); | ||
const filesByDirectory = lodash_groupby_1.default(Object.entries(files), namedFile => namedFile[0].split('/')[0]); | ||
return Object.keys(filesByDirectory) | ||
@@ -38,0 +41,0 @@ .map(directoryName => { |
{ | ||
"name": "mutation-testing-metrics", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Utility functions to calculate mutation testing metrics.", | ||
@@ -26,3 +26,3 @@ "main": "dist/src/index.js", | ||
}, | ||
"gitHead": "393cbd8d528219e18231e868fb2f393aa3db5fde" | ||
"gitHead": "bd51cab3afe3195bfeffe8af4a4bc8c50bda9c44" | ||
} |
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
25840
263