@stryker-mutator/util
Advanced tools
Comparing version 4.1.2 to 4.2.0
@@ -10,3 +10,3 @@ { | ||
"request": "launch", | ||
"name": "Unit tests", | ||
"name": "Tests", | ||
"program": "${workspaceFolder}/../../node_modules/mocha/bin/_mocha", | ||
@@ -18,3 +18,4 @@ "args": [ | ||
"${workspaceFolder}/test/helpers/**/*.js", | ||
"${workspaceFolder}/test/unit/**/*.js" | ||
"${workspaceFolder}/test/unit/**/*.js", | ||
"${workspaceFolder}/test/integration/**/*.js" | ||
], | ||
@@ -46,2 +47,2 @@ "internalConsoleOptions": "openOnSessionStart", | ||
] | ||
} | ||
} |
@@ -6,2 +6,13 @@ # Change Log | ||
# [4.2.0](https://github.com/stryker-mutator/stryker/compare/v4.1.2...v4.2.0) (2020-12-09) | ||
### Features | ||
* **karma-runner:** resolve local karma and ng version ([#2622](https://github.com/stryker-mutator/stryker/issues/2622)) ([5b92130](https://github.com/stryker-mutator/stryker/commit/5b921302787a526377be02a37eb43a487c8f283d)) | ||
## [4.1.2](https://github.com/stryker-mutator/stryker/compare/v4.1.1...v4.1.2) (2020-11-06) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@stryker-mutator/util", | ||
"version": "4.1.2", | ||
"version": "4.2.0", | ||
"description": "Contains utilities for Stryker, the mutation testing framework for JavaScript and friends", | ||
"main": "src/index.js", | ||
"scripts": { | ||
"test": "nyc npm run test:unit", | ||
"test": "nyc npm run test:all", | ||
"test:all": "npm run test:unit && npm run test:integration", | ||
"test:unit": "mocha \"test/unit/**/*.js\"", | ||
"test:integration": "mocha \"test/integration/**/*.js\"", | ||
"stryker": "node ../core/bin/stryker run" | ||
@@ -35,3 +37,3 @@ }, | ||
}, | ||
"gitHead": "8fea303c9994da0fce813b98f764761a57383f17" | ||
"gitHead": "55071ce41ce0a6e1e3eb563c0bf3937a2d3e9f22" | ||
} |
@@ -22,3 +22,3 @@ type ImmutablePrimitive = undefined | null | boolean | string | number | ((...args: any[]) => any); | ||
if (Array.isArray(target)) { | ||
return Object.freeze(target.map(deepFreeze)) as Immutable<T>; | ||
return Object.freeze((target as any[]).map(deepFreeze)) as Immutable<T>; | ||
} | ||
@@ -25,0 +25,0 @@ if (target instanceof Map) { |
@@ -13,2 +13,3 @@ export { default as childProcessAsPromised } from './child-process-as-promised'; | ||
export * from './directory-require-cache'; | ||
export * from './require-resolve'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -19,2 +19,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./directory-require-cache"), exports); | ||
tslib_1.__exportStar(require("./require-resolve"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -13,1 +13,2 @@ export { default as childProcessAsPromised } from './child-process-as-promised'; | ||
export * from './directory-require-cache'; | ||
export * from './require-resolve'; |
@@ -6,3 +6,3 @@ /** | ||
protected _promise: Promise<T>; | ||
private resolveFn: (value?: T | PromiseLike<T>) => void; | ||
private resolveFn: (value: T | PromiseLike<T>) => void; | ||
private rejectFn: (reason: any) => void; | ||
@@ -9,0 +9,0 @@ private _isCompleted = false; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
284889
151
2028
3