@systemfsoftware/stryker-js 10.2.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +34 -26
- package/dist/Run.schema-B_qdjbe9.mjs +226 -0
- package/dist/{Run.schema-B-Pi3bCB.d.mts → Run.schema-CUpTIyrj.d.mts} +91 -19
- package/dist/RunEnvironment.service-zgwzyXpO.d.mts +456 -0
- package/dist/config.d.mts +6 -22
- package/dist/config.mjs +2 -7
- package/dist/{Run.schema-Ba34IwAY.mjs → dist-ClUhPgb6.mjs} +3432 -4856
- package/dist/{dist-CjdAPjrJ.mjs → dist-DKhCurgc.mjs} +95 -1
- package/dist/events.d.mts +2 -2
- package/dist/events.mjs +2 -2
- package/dist/index-CMCCQdTd.d.mts +4087 -0
- package/dist/index.d.mts +1084 -3321
- package/dist/index.mjs +116 -3
- package/dist/main.mjs +114296 -87310
- package/dist/promises.d.mts +4 -4
- package/dist/promises.mjs +6 -10
- package/dist/{rolldown-runtime-XITHOX9H.mjs → rolldown-runtime-8H4AJuhK.mjs} +1 -2
- package/dist/run-stages.cell-CPpkn7og.mjs +8639 -0
- package/dist/stryker-config.schema-CCnDtVuW.mjs +82 -0
- package/dist/stryker-config.schema-lr7GMjpY.d.mts +35 -0
- package/package.json +31 -46
- package/dist/compiler-BTpMWGqK.mjs +0 -48955
- package/dist/compiler-CEwQzMxZ.mjs +0 -48955
- package/dist/dist-Cpq7Esc3.mjs +0 -17404
- package/dist/dist-Dmv1WEP8.mjs +0 -5337
- package/dist/dist-DsmXFb2_.mjs +0 -17404
- package/dist/index-tt2EziOT.d.mts +0 -1216
- package/dist/merge-config-CHZWyvVQ.mjs +0 -19
- package/dist/mutation-test.cell-Dq23b2NP.d.mts +0 -1758
- package/dist/output-mode-CfGHDpi5.d.mts +0 -17
- package/dist/sourcemap-codec-qFD3eFBj.mjs +0 -186
- package/dist/src-CcqEZJIY.mjs +0 -6559
package/dist/promises.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/promises/
|
|
4
|
-
export declare const run: (options: PartialStrykerOptions, targetMutatePatterns?: readonly string[]) => Promise<MutationTestDone
|
|
1
|
+
import { n as mod_d_exports$2 } from "./index-CMCCQdTd.mjs";
|
|
2
|
+
import { s as MutationTestDone } from "./RunEnvironment.service-zgwzyXpO.mjs";
|
|
3
|
+
//#region src/promises/mod.d.ts
|
|
4
|
+
export declare const run: ((targetMutatePatterns?: readonly string[]) => (options: mod_d_exports$2.PartialStrykerOptions) => Promise<MutationTestDone>) & ((options: mod_d_exports$2.PartialStrykerOptions, targetMutatePatterns?: readonly string[]) => Promise<MutationTestDone>);
|
|
5
5
|
//#endregion
|
package/dist/promises.mjs
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import * as NodeFileSystem from "@effect/platform-node-shared/NodeFileSystem";
|
|
4
|
-
import * as NodePath from "@effect/platform-node-shared/NodePath";
|
|
5
|
-
import * as NodeStdio from "@effect/platform-node/NodeStdio";
|
|
1
|
+
import { d as nodePlatformLayer, n as strykerCell } from "./run-stages.cell-CPpkn7og.mjs";
|
|
2
|
+
import { dual } from "effect/Function";
|
|
6
3
|
import * as ManagedRuntime from "effect/ManagedRuntime";
|
|
7
|
-
//#region src/promises/
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const runtime = ManagedRuntime.make(runLayer);
|
|
4
|
+
//#region src/promises/mod.ts
|
|
5
|
+
const run = dual((args) => args.length === 2 || Array.isArray(args[0]) === false, (options, targetMutatePatterns) => {
|
|
6
|
+
const runtime = ManagedRuntime.make(nodePlatformLayer);
|
|
11
7
|
return runtime.runPromise(strykerCell(options, targetMutatePatterns)).then((done) => runtime.dispose().then(() => done), (cause) => runtime.dispose().then(() => Promise.reject(cause)));
|
|
12
|
-
};
|
|
8
|
+
});
|
|
13
9
|
//#endregion
|
|
14
10
|
export { run };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "node:module";
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
5
4
|
var __exportAll = (all, no_symbols) => {
|
|
6
5
|
let target = {};
|
|
7
6
|
for (var name in all) __defProp(target, name, {
|
|
@@ -12,4 +11,4 @@ var __exportAll = (all, no_symbols) => {
|
|
|
12
11
|
return target;
|
|
13
12
|
};
|
|
14
13
|
//#endregion
|
|
15
|
-
export { __exportAll as
|
|
14
|
+
export { __exportAll as t };
|