@systemfsoftware/stryker-js 10.1.2 → 10.2.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/dist/{Run.schema-BsSOfQnD.d.mts → Run.schema-B-Pi3bCB.d.mts} +1 -1
- package/dist/{Run.schema-57k1klOe.mjs → Run.schema-Ba34IwAY.mjs} +687 -28
- package/dist/config.d.mts +1 -1
- package/dist/events.d.mts +1 -1
- package/dist/events.mjs +1 -1
- package/dist/{index-CogNSD0V.d.mts → index-tt2EziOT.d.mts} +2 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +2 -2
- package/dist/main.mjs +893 -117
- package/dist/{mutation-test.cell-DS86DvC9.d.mts → mutation-test.cell-Dq23b2NP.d.mts} +3 -2
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/{src-jn0C-9I0.mjs → src-CcqEZJIY.mjs} +4 -3
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as ReporterFactory, Ct as RunMutantResult, K as StrykerOptions, P as PartialStrykerOptions, W as ReporterRpcs, X as TestResult, _ as ExitClass, at as WorkerPluginKind, ct as FileDescription, ft as Mutant, j as MutationTestResult, l as CompleteDryRunResult, lt as FileDescriptions, st as CoverageData, yt as MutateDescription } from "./index-
|
|
1
|
+
import { B as ReporterFactory, Ct as RunMutantResult, K as StrykerOptions, P as PartialStrykerOptions, W as ReporterRpcs, X as TestResult, _ as ExitClass, at as WorkerPluginKind, ct as FileDescription, ft as Mutant, j as MutationTestResult, l as CompleteDryRunResult, lt as FileDescriptions, st as CoverageData, yt as MutateDescription } from "./index-tt2EziOT.mjs";
|
|
2
2
|
import { r as ResolvedMode } from "./output-mode-CfGHDpi5.mjs";
|
|
3
|
-
import { _ as RunStarted, c as PhaseEntered, i as HelpRendered, l as PlanKnown, m as RunMutantTested, p as RunFailed, r as Heartbeat, x as VerdictReached } from "./Run.schema-
|
|
3
|
+
import { _ as RunStarted, c as PhaseEntered, i as HelpRendered, l as PlanKnown, m as RunMutantTested, p as RunFailed, r as Heartbeat, x as VerdictReached } from "./Run.schema-B-Pi3bCB.mjs";
|
|
4
4
|
import * as Effect$1 from "effect/Effect";
|
|
5
5
|
import * as FileSystem from "effect/FileSystem";
|
|
6
6
|
import * as Path from "effect/Path";
|
|
@@ -1595,6 +1595,7 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
1595
1595
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1596
1596
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
1597
1597
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1598
|
+
readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1598
1599
|
}>, never>;
|
|
1599
1600
|
readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
|
|
1600
1601
|
readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
package/dist/promises.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PartialStrykerOptions } from "./index-
|
|
2
|
-
import { t as MutationTestDone } from "./mutation-test.cell-
|
|
1
|
+
import { P as PartialStrykerOptions } from "./index-tt2EziOT.mjs";
|
|
2
|
+
import { t as MutationTestDone } from "./mutation-test.cell-Dq23b2NP.mjs";
|
|
3
3
|
//#region src/promises/index.d.ts
|
|
4
4
|
export declare const run: (options: PartialStrykerOptions, targetMutatePatterns?: readonly string[]) => Promise<MutationTestDone>;
|
|
5
5
|
//#endregion
|
package/dist/promises.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as strykerCell } from "./src-
|
|
1
|
+
import { t as strykerCell } from "./src-CcqEZJIY.mjs";
|
|
2
2
|
import * as Layer from "effect/Layer";
|
|
3
3
|
import * as NodeFileSystem from "@effect/platform-node-shared/NodeFileSystem";
|
|
4
4
|
import * as NodePath from "@effect/platform-node-shared/NodePath";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as WorkerEntryUrl, F as MutationTestingPlanReady, G as TRACEPARENT_HEADER, I as NonNegativeInt, J as TestRunnerFailed, K as TRACESTATE_HEADER, L as PropagatedTrace, M as MutantTested, N as MutationTestReportReady, O as Metrics, P as MutationTestResultSchema, Q as WALL_CLOCK_TIMEOUT_REASON, S as CheckerMutantWire, T as DryRunCompleted, U as ReporterRpcs, V as ReporterFailed, W as StrykerOptionsSchema, X as TraceContextMiddleware, Y as TestRunnerRpcs, Z as TraceContextReference, _ as RunStarted, at as wallClockTimeoutStopsRun, c as PhaseEntered, ct as Mutant, et as WorkerPluginKind, f as RunEvent, ft as disableTypeChecks, ht as normalizeFileName$4, it as toMutantRunResult, k as MetricsResultSchema, l as PlanKnown, m as RunMutantTested, mt as instrument, n as StageError, nt as isCustomTestRunner, ot as INSTRUMENTER_CONSTANTS, pt as errorToString, r as Heartbeat, rt as parseTraceparent, t as PrepareError, tt as formatTraceparent, v as VerdictReached, w as CheckerRpcs } from "./Run.schema-
|
|
1
|
+
import { $ as WorkerEntryUrl, F as MutationTestingPlanReady, G as TRACEPARENT_HEADER, I as NonNegativeInt, J as TestRunnerFailed, K as TRACESTATE_HEADER, L as PropagatedTrace, M as MutantTested, N as MutationTestReportReady, O as Metrics, P as MutationTestResultSchema, Q as WALL_CLOCK_TIMEOUT_REASON, S as CheckerMutantWire, T as DryRunCompleted, U as ReporterRpcs, V as ReporterFailed, W as StrykerOptionsSchema, X as TraceContextMiddleware, Y as TestRunnerRpcs, Z as TraceContextReference, _ as RunStarted, at as wallClockTimeoutStopsRun, c as PhaseEntered, ct as Mutant, et as WorkerPluginKind, f as RunEvent, ft as disableTypeChecks, ht as normalizeFileName$4, it as toMutantRunResult, k as MetricsResultSchema, l as PlanKnown, m as RunMutantTested, mt as instrument, n as StageError, nt as isCustomTestRunner, ot as INSTRUMENTER_CONSTANTS, pt as errorToString, r as Heartbeat, rt as parseTraceparent, t as PrepareError, tt as formatTraceparent, v as VerdictReached, w as CheckerRpcs } from "./Run.schema-Ba34IwAY.mjs";
|
|
2
2
|
import { t as mergeConfig } from "./merge-config-CHZWyvVQ.mjs";
|
|
3
3
|
import * as Effect$1 from "effect/Effect";
|
|
4
4
|
import * as FileSystem from "effect/FileSystem";
|
|
@@ -2933,7 +2933,7 @@ const decide = (command) => Option.match(Option.fromUndefinedOr(command.report),
|
|
|
2933
2933
|
const admitIncrementalReport = Workflow.total(AdmitIncrementalReportCommand, (command) => Result.succeed(decide(command)));
|
|
2934
2934
|
//#endregion
|
|
2935
2935
|
//#region src/stryker-package.ts
|
|
2936
|
-
const strykerVersion = "10.
|
|
2936
|
+
const strykerVersion = "10.2.0";
|
|
2937
2937
|
//#endregion
|
|
2938
2938
|
//#region src/incremental-report.cell.ts
|
|
2939
2939
|
const parseAndDecodeIncrementalReport = S.decodeUnknownResult(S.fromJsonString(IncrementalReportSchema));
|
|
@@ -4033,7 +4033,8 @@ const instrumentCell = Sandwich.read((command) => Effect$1.gen(function* () {
|
|
|
4033
4033
|
})));
|
|
4034
4034
|
const instrumentResult = yield* instrument(filesToMutate, {
|
|
4035
4035
|
ignorers: [...command.ignorers],
|
|
4036
|
-
excludedMutations: [...command.options.mutator.excludedMutations]
|
|
4036
|
+
excludedMutations: [...command.options.mutator.excludedMutations],
|
|
4037
|
+
optInMutations: [...command.options.mutator.optInMutations]
|
|
4037
4038
|
}, env.basePath).pipe(Effect$1.mapError((cause) => StageError.make({
|
|
4038
4039
|
stage: "instrument",
|
|
4039
4040
|
reason: "Instrumenter failed",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/stryker-js",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.2.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
"tsdown": "^0.23.0",
|
|
68
68
|
"typescript": "^7",
|
|
69
69
|
"vitest": "^5",
|
|
70
|
-
"@systemfsoftware/stryker-js-html-reporter": "^4.0.5",
|
|
71
|
-
"@systemfsoftware/stryker-js-instrumenter": "^8.0.2",
|
|
72
|
-
"@systemfsoftware/stryker-js-plugin-runtime": "^5.0.3",
|
|
73
70
|
"@systemfsoftware/stryker-config": "^0.1.0",
|
|
74
|
-
"@systemfsoftware/
|
|
71
|
+
"@systemfsoftware/stryker-js-html-reporter": "^4.0.5",
|
|
72
|
+
"@systemfsoftware/stryker-js-instrumenter": "^8.1.0",
|
|
73
|
+
"@systemfsoftware/stryker-js-plugin-runtime": "^5.0.4",
|
|
74
|
+
"@systemfsoftware/stryker-js-plugin-interface": "^7.3.0",
|
|
75
75
|
"@systemfsoftware/stryker-ignorer-interface": "^0.1.1",
|
|
76
|
-
"@systemfsoftware/
|
|
77
|
-
"@systemfsoftware/
|
|
76
|
+
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
77
|
+
"@systemfsoftware/tsdown-config": "^0.1.0"
|
|
78
78
|
},
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public",
|