@systemfsoftware/stryker-js 10.1.2 → 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.
Files changed (34) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +34 -26
  3. package/dist/Run.schema-B_qdjbe9.mjs +226 -0
  4. package/dist/{Run.schema-BsSOfQnD.d.mts → Run.schema-CUpTIyrj.d.mts} +91 -19
  5. package/dist/RunEnvironment.service-zgwzyXpO.d.mts +456 -0
  6. package/dist/config.d.mts +6 -22
  7. package/dist/config.mjs +2 -7
  8. package/dist/dist-ClUhPgb6.mjs +8020 -0
  9. package/dist/{dist-CjdAPjrJ.mjs → dist-DKhCurgc.mjs} +95 -1
  10. package/dist/events.d.mts +2 -2
  11. package/dist/events.mjs +2 -2
  12. package/dist/index-CMCCQdTd.d.mts +4087 -0
  13. package/dist/index.d.mts +1084 -3319
  14. package/dist/index.mjs +116 -3
  15. package/dist/main.mjs +114232 -86470
  16. package/dist/promises.d.mts +4 -4
  17. package/dist/promises.mjs +6 -10
  18. package/dist/{rolldown-runtime-XITHOX9H.mjs → rolldown-runtime-8H4AJuhK.mjs} +1 -2
  19. package/dist/run-stages.cell-CPpkn7og.mjs +8639 -0
  20. package/dist/stryker-config.schema-CCnDtVuW.mjs +82 -0
  21. package/dist/stryker-config.schema-lr7GMjpY.d.mts +35 -0
  22. package/package.json +33 -48
  23. package/dist/Run.schema-57k1klOe.mjs +0 -8785
  24. package/dist/compiler-BTpMWGqK.mjs +0 -48955
  25. package/dist/compiler-CEwQzMxZ.mjs +0 -48955
  26. package/dist/dist-Cpq7Esc3.mjs +0 -17404
  27. package/dist/dist-Dmv1WEP8.mjs +0 -5337
  28. package/dist/dist-DsmXFb2_.mjs +0 -17404
  29. package/dist/index-CogNSD0V.d.mts +0 -1214
  30. package/dist/merge-config-CHZWyvVQ.mjs +0 -19
  31. package/dist/mutation-test.cell-DS86DvC9.d.mts +0 -1757
  32. package/dist/output-mode-CfGHDpi5.d.mts +0 -17
  33. package/dist/sourcemap-codec-qFD3eFBj.mjs +0 -186
  34. package/dist/src-jn0C-9I0.mjs +0 -6558
@@ -1,5 +1,5 @@
1
- import { P as PartialStrykerOptions } from "./index-CogNSD0V.mjs";
2
- import { t as MutationTestDone } from "./mutation-test.cell-DS86DvC9.mjs";
3
- //#region src/promises/index.d.ts
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 { t as strykerCell } from "./src-jn0C-9I0.mjs";
2
- import * as Layer from "effect/Layer";
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/index.ts
8
- const runLayer = Layer.mergeAll(NodeFileSystem.layer, NodePath.layer, NodeStdio.layer);
9
- const run = (options, targetMutatePatterns) => {
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 n, __commonJSMin as t };
14
+ export { __exportAll as t };