@stryker-mutator/util
Advanced tools
Comparing version 6.4.2 to 7.0.0
@@ -6,2 +6,12 @@ # Change Log | ||
# [7.0.0](https://github.com/stryker-mutator/stryker-js/compare/v6.4.2...v7.0.0) (2023-06-02) | ||
### chore | ||
- **esm:** use "exports" and module "Node16" ([#4171](https://github.com/stryker-mutator/stryker-js/issues/4171)) ([cdf4a34](https://github.com/stryker-mutator/stryker-js/commit/cdf4a342b73d922423eb46a919eb3b38c4c43c46)) | ||
### BREAKING CHANGES | ||
- **esm:** Deep (and undocumented) imports from `@stryker-mutator/core` or one of the plugins will no longer work. If you want to import something that's not available, please let us know by [opening an issue](https://github.com/stryker-mutator/stryker-js/issues/new/choose) | ||
## [6.4.2](https://github.com/stryker-mutator/stryker-js/compare/v6.4.1...v6.4.2) (2023-03-24) | ||
@@ -8,0 +18,0 @@ |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import * as childProcess from 'child_process'; | ||
@@ -3,0 +3,0 @@ export declare const childProcessAsPromised: { |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="node" resolution-mode="require"/> | ||
export declare function isErrnoException(error: unknown): error is NodeJS.ErrnoException; | ||
@@ -3,0 +3,0 @@ export declare function errorToString(error: any): string; |
@@ -1,2 +0,2 @@ | ||
import { Primitive } from './primitive'; | ||
import { Primitive } from './primitive.js'; | ||
type ImmutablePrimitive = Primitive | ((...args: any[]) => any); | ||
@@ -3,0 +3,0 @@ export type Immutable<T> = T extends ImmutablePrimitive ? T : T extends Array<infer U> ? ImmutableArray<U> : T extends Map<infer K, infer V> ? ImmutableMap<K, V> : T extends Set<infer M> ? ImmutableSet<M> : T extends RegExp ? Readonly<RegExp> : ImmutableObject<T>; |
@@ -1,3 +0,3 @@ | ||
import { KnownKeys } from './known-keys'; | ||
import { Primitive } from './primitive'; | ||
import { KnownKeys } from './known-keys.js'; | ||
import { Primitive } from './primitive.js'; | ||
type OnlyObject<T> = Exclude<T, Primitive>; | ||
@@ -4,0 +4,0 @@ /** |
@@ -30,3 +30,3 @@ /** | ||
*/ | ||
class ExpirableTask extends Task { | ||
export class ExpirableTask extends Task { | ||
constructor(timeoutMS) { | ||
@@ -53,3 +53,2 @@ super(); | ||
ExpirableTask.TimeoutExpired = Symbol('TimeoutExpired'); | ||
export { ExpirableTask }; | ||
//# sourceMappingURL=task.js.map |
{ | ||
"name": "@stryker-mutator/util", | ||
"version": "6.4.2", | ||
"version": "7.0.0", | ||
"description": "Contains utilities for Stryker, the mutation testing framework for JavaScript and friends", | ||
"main": "dist/src/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/src/index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"type": "module", | ||
@@ -33,5 +38,5 @@ "scripts": { | ||
"devDependencies": { | ||
"@stryker-mutator/test-helpers": "6.4.2", | ||
"@stryker-mutator/test-helpers": "7.0.0", | ||
"@types/lodash.flatmap": "4.5.7", | ||
"@types/node": "18.15.6" | ||
"@types/node": "18.16.16" | ||
}, | ||
@@ -41,3 +46,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "2c0e11d1724756339d17504d2c73898fb816cc2b" | ||
"gitHead": "aeedbd2b20ada4b689e504889132fb97c4db2946" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Primitive } from './primitive'; | ||
import { Primitive } from './primitive.js'; | ||
@@ -3,0 +3,0 @@ type ImmutablePrimitive = Primitive | ((...args: any[]) => any); |
@@ -1,3 +0,3 @@ | ||
import { KnownKeys } from './known-keys'; | ||
import { Primitive } from './primitive'; | ||
import { KnownKeys } from './known-keys.js'; | ||
import { Primitive } from './primitive.js'; | ||
@@ -4,0 +4,0 @@ type OnlyObject<T> = Exclude<T, Primitive>; |
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
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
85381
915