@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
package/dist/config.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as StrykerOptions, P as PartialStrykerOptions } from "./index-
|
|
1
|
+
import { K as StrykerOptions, P as PartialStrykerOptions } from "./index-tt2EziOT.mjs";
|
|
2
2
|
import { n as OutputMode } from "./output-mode-CfGHDpi5.mjs";
|
|
3
3
|
//#region src/config/stryker-config.d.ts
|
|
4
4
|
interface ConfigEnv {
|
package/dist/events.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as VerdictThresholds, _ as RunStarted, a as ModeSignal, b as VerdictMutant, c as PhaseEntered, d as RunDecodeError, f as RunEvent, g as RunReadError, h as RunPhase, i as HelpRendered, l as PlanKnown, m as RunMutantTested, n as StageError, o as MutationRunPlan, p as RunFailed, r as Heartbeat, s as OutputMode, t as PrepareError, u as PlanMutationRunCommand, x as VerdictReached, y as VerdictCounts } from "./Run.schema-
|
|
1
|
+
import { S as VerdictThresholds, _ as RunStarted, a as ModeSignal, b as VerdictMutant, c as PhaseEntered, d as RunDecodeError, f as RunEvent, g as RunReadError, h as RunPhase, i as HelpRendered, l as PlanKnown, m as RunMutantTested, n as StageError, o as MutationRunPlan, p as RunFailed, r as Heartbeat, s as OutputMode, t as PrepareError, u as PlanMutationRunCommand, x as VerdictReached, y as VerdictCounts } from "./Run.schema-B-Pi3bCB.mjs";
|
|
2
2
|
export { Heartbeat, HelpRendered, ModeSignal, MutationRunPlan, OutputMode, PhaseEntered, PlanKnown, PlanMutationRunCommand, PrepareError, RunDecodeError, RunEvent, RunFailed, RunMutantTested, RunPhase, RunReadError, RunStarted, StageError, type VerdictCounts, type VerdictMutant, VerdictReached, type VerdictThresholds };
|
package/dist/events.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as RunStarted, a as ModeSignal, c as PhaseEntered, d as RunDecodeError, f as RunEvent, g as RunReadError, h as RunPhase, i as HelpRendered, l as PlanKnown, m as RunMutantTested, n as StageError, o as MutationRunPlan, p as RunFailed, r as Heartbeat, s as OutputMode, t as PrepareError, u as PlanMutationRunCommand, v as VerdictReached } from "./Run.schema-
|
|
1
|
+
import { _ as RunStarted, a as ModeSignal, c as PhaseEntered, d as RunDecodeError, f as RunEvent, g as RunReadError, h as RunPhase, i as HelpRendered, l as PlanKnown, m as RunMutantTested, n as StageError, o as MutationRunPlan, p as RunFailed, r as Heartbeat, s as OutputMode, t as PrepareError, u as PlanMutationRunCommand, v as VerdictReached } from "./Run.schema-Ba34IwAY.mjs";
|
|
2
2
|
export { Heartbeat, HelpRendered, ModeSignal, MutationRunPlan, OutputMode, PhaseEntered, PlanKnown, PlanMutationRunCommand, PrepareError, RunDecodeError, RunEvent, RunFailed, RunMutantTested, RunPhase, RunReadError, RunStarted, StageError, VerdictReached };
|
|
@@ -65,6 +65,7 @@ declare const InstrumenterOptionsSchema: S.Struct<{
|
|
|
65
65
|
readonly excludedMutations: S.$Array<S.String>;
|
|
66
66
|
readonly ignorers: S.$Array<S.Unknown>;
|
|
67
67
|
readonly noHeader: S.optional<S.Boolean>;
|
|
68
|
+
readonly optInMutations: S.optional<S.$Array<S.String>>;
|
|
68
69
|
}>;
|
|
69
70
|
declare class InstrumentError extends InstrumentError_base {
|
|
70
71
|
get message(): string;
|
|
@@ -948,6 +949,7 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
948
949
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
949
950
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
950
951
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
952
|
+
readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
951
953
|
}>, never>;
|
|
952
954
|
readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
|
|
953
955
|
readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
package/dist/index.d.mts
CHANGED
|
@@ -877,6 +877,7 @@ export declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
877
877
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
878
878
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
879
879
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
880
|
+
readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
880
881
|
}>, never>;
|
|
881
882
|
readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
|
|
882
883
|
readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
@@ -2349,6 +2350,7 @@ export declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
2349
2350
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2350
2351
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
2351
2352
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2353
|
+
readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2352
2354
|
}>, never>;
|
|
2353
2355
|
readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
|
|
2354
2356
|
readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as MetricsSchema, B as ReporterEventBatch, C as CheckerRequest, D as FileResultSchema, E as ExitClass, F as MutationTestingPlanReady, H as ReporterInitOptions, M as MutantTested, N as MutationTestReportReady, P as MutationTestResultSchema, R as ReporterAck, S as CheckerMutantWire, T as DryRunCompleted, U as ReporterRpcs, W as StrykerOptionsSchema, X as TraceContextMiddleware, _ as RunStarted, b as CheckerFailed, c as PhaseEntered, dt as PositionSchema, et as WorkerPluginKind, h as RunPhase, i as HelpRendered, j as MutantResultSchema, l as PlanKnown, lt as MutantActivationSchema, m as RunMutantTested, n as StageError, p as RunFailed, q as TestRunnerConfigSchema, r as Heartbeat, st as LocationSchema, ut as MutantStatusSchema, v as VerdictReached, w as CheckerRpcs, x as CheckerGroupResult, y as CheckerCheckResult, z as ReporterDrained } from "./Run.schema-
|
|
2
|
-
import { $ as OutOfMemoryError, A as strykerVersion, At as defaultOptions, B as initialExtendsStepState, C as checkerMutantsSkipped, Ct as extendsPropertySchema, D as CheckerSkippedRequested, Dt as SUPPORTED_CONFIG_FILE_NAMES, E as CheckerAnsweredUnrequested, Et as CONFIG_SYNTAX_HELP, F as spawnReporterWorker, Ft as toRelativeNormalizedFileName, G as buildTestRunner, H as mergeConfigs, I as decideExtendsStep, It as RunEvents, J as connectRetry, K as isCommandRunner, L as describeErrors, Lt as RunIdentity, M as RunEnvironment, Mt as isModuleSpecifier, N as REPORTER_EVENT_BATCH_BOUND, Nt as isWarningEnabled, O as createFileMatcher, Ot as createDefaultOptions, P as reporterWorkerFactory, Pt as optionsPath, Q as ChildProcessCrashedError, R as forkCoreSchema, Rt as RunEventWireLine, S as checkerMutantsChecked, St as ReadConfigCommand, T as checkerRpcFailures, Tt as survivorsPriorReport, U as readConfig, V as loadConfigCell, W as validateOptions, X as IdGenerator, Y as makeWorkerClient, Z as classifyWorkerExit, _ as verdictExitClass, _t as ExtendsStepResolve, a as RUN_EVENTS_QUEUE_BOUND, at as vmTestRunner, b as checkGroupedPlans, bt as MergeCommand, c as shouldKeepTempDir, ct as ConfigError, d as buildVerdictEnvelope, dt as ConfigFileUnreadableError, et as WorkerBootTimeoutError, f as generateRunId, ft as ConfigFileUnsupportedError, g as resolveExitCode, gt as ExtendsStepRefused, h as highestExitClass, ht as ExtendsStepRead, i as makeRunEventStream, it as vmRunnerName, j as IncrementalReportSchema, jt as findUnserializables, k as matchesFile, kt as deepFreeze, l as ACTIONABLE_STATUSES, lt as ConfigFileInvalidError, m as EXIT_CODE, mt as ExtendsStepDone, n as RunEventDrain, nt as isVmRunner, o as makeRunLayer, ot as StrykerError, p as isActionableStatus, pt as ExtendsStepDocumentSchema, q as WorkerLauncher, r as RunEventDrainLive, rt as vmRunnerCapabilities, s as mutationTestCell, st as ConfigDocumentSchema, t as strykerCell, tt as VmRunner, u as VERDICT_ENVELOPE_SCHEMA_VERSION, ut as ConfigFileNotFoundError, v as calculateMetrics, vt as ExtendsStepStateSchema, w as checkerProcessCrashes, wt as forkOptionsSchema, x as checkerDuration, xt as MergeResult, y as countMutants, yt as ImportedModuleSchema, z as importModule, zt as S } from "./src-
|
|
1
|
+
import { A as MetricsSchema, B as ReporterEventBatch, C as CheckerRequest, D as FileResultSchema, E as ExitClass, F as MutationTestingPlanReady, H as ReporterInitOptions, M as MutantTested, N as MutationTestReportReady, P as MutationTestResultSchema, R as ReporterAck, S as CheckerMutantWire, T as DryRunCompleted, U as ReporterRpcs, W as StrykerOptionsSchema, X as TraceContextMiddleware, _ as RunStarted, b as CheckerFailed, c as PhaseEntered, dt as PositionSchema, et as WorkerPluginKind, h as RunPhase, i as HelpRendered, j as MutantResultSchema, l as PlanKnown, lt as MutantActivationSchema, m as RunMutantTested, n as StageError, p as RunFailed, q as TestRunnerConfigSchema, r as Heartbeat, st as LocationSchema, ut as MutantStatusSchema, v as VerdictReached, w as CheckerRpcs, x as CheckerGroupResult, y as CheckerCheckResult, z as ReporterDrained } from "./Run.schema-Ba34IwAY.mjs";
|
|
2
|
+
import { $ as OutOfMemoryError, A as strykerVersion, At as defaultOptions, B as initialExtendsStepState, C as checkerMutantsSkipped, Ct as extendsPropertySchema, D as CheckerSkippedRequested, Dt as SUPPORTED_CONFIG_FILE_NAMES, E as CheckerAnsweredUnrequested, Et as CONFIG_SYNTAX_HELP, F as spawnReporterWorker, Ft as toRelativeNormalizedFileName, G as buildTestRunner, H as mergeConfigs, I as decideExtendsStep, It as RunEvents, J as connectRetry, K as isCommandRunner, L as describeErrors, Lt as RunIdentity, M as RunEnvironment, Mt as isModuleSpecifier, N as REPORTER_EVENT_BATCH_BOUND, Nt as isWarningEnabled, O as createFileMatcher, Ot as createDefaultOptions, P as reporterWorkerFactory, Pt as optionsPath, Q as ChildProcessCrashedError, R as forkCoreSchema, Rt as RunEventWireLine, S as checkerMutantsChecked, St as ReadConfigCommand, T as checkerRpcFailures, Tt as survivorsPriorReport, U as readConfig, V as loadConfigCell, W as validateOptions, X as IdGenerator, Y as makeWorkerClient, Z as classifyWorkerExit, _ as verdictExitClass, _t as ExtendsStepResolve, a as RUN_EVENTS_QUEUE_BOUND, at as vmTestRunner, b as checkGroupedPlans, bt as MergeCommand, c as shouldKeepTempDir, ct as ConfigError, d as buildVerdictEnvelope, dt as ConfigFileUnreadableError, et as WorkerBootTimeoutError, f as generateRunId, ft as ConfigFileUnsupportedError, g as resolveExitCode, gt as ExtendsStepRefused, h as highestExitClass, ht as ExtendsStepRead, i as makeRunEventStream, it as vmRunnerName, j as IncrementalReportSchema, jt as findUnserializables, k as matchesFile, kt as deepFreeze, l as ACTIONABLE_STATUSES, lt as ConfigFileInvalidError, m as EXIT_CODE, mt as ExtendsStepDone, n as RunEventDrain, nt as isVmRunner, o as makeRunLayer, ot as StrykerError, p as isActionableStatus, pt as ExtendsStepDocumentSchema, q as WorkerLauncher, r as RunEventDrainLive, rt as vmRunnerCapabilities, s as mutationTestCell, st as ConfigDocumentSchema, t as strykerCell, tt as VmRunner, u as VERDICT_ENVELOPE_SCHEMA_VERSION, ut as ConfigFileNotFoundError, v as calculateMetrics, vt as ExtendsStepStateSchema, w as checkerProcessCrashes, wt as forkOptionsSchema, x as checkerDuration, xt as MergeResult, y as countMutants, yt as ImportedModuleSchema, z as importModule, zt as S } from "./src-CcqEZJIY.mjs";
|
|
3
3
|
export { ACTIONABLE_STATUSES, CONFIG_SYNTAX_HELP, CheckerAnsweredUnrequested, CheckerCheckResult, CheckerFailed, CheckerGroupResult, CheckerMutantWire, CheckerRequest, CheckerRpcs, CheckerSkippedRequested, ChildProcessCrashedError, ConfigDocumentSchema, ConfigError, ConfigFileInvalidError, ConfigFileNotFoundError, ConfigFileUnreadableError, ConfigFileUnsupportedError, DryRunCompleted, EXIT_CODE, ExitClass, ExtendsStepDocumentSchema, ExtendsStepDone, ExtendsStepRead, ExtendsStepRefused, ExtendsStepResolve, ExtendsStepStateSchema, FileResultSchema, Heartbeat, HelpRendered, IdGenerator, ImportedModuleSchema, IncrementalReportSchema, LocationSchema, MergeCommand, MergeResult, MetricsSchema, MutantActivationSchema, MutantResultSchema, MutantStatusSchema, MutantTested, MutationTestReportReady, MutationTestResultSchema, MutationTestingPlanReady, OutOfMemoryError, PhaseEntered, PlanKnown, PositionSchema, REPORTER_EVENT_BATCH_BOUND, RUN_EVENTS_QUEUE_BOUND, ReadConfigCommand, ReporterAck, ReporterDrained, ReporterEventBatch, ReporterInitOptions, ReporterRpcs, RunEnvironment, RunEventDrain, RunEventDrainLive, RunEventWireLine, RunEvents, RunFailed, RunIdentity, RunMutantTested, RunPhase, RunStarted, S, SUPPORTED_CONFIG_FILE_NAMES, StageError, StrykerError, StrykerOptionsSchema, TestRunnerConfigSchema, TraceContextMiddleware, VERDICT_ENVELOPE_SCHEMA_VERSION, VerdictReached, VmRunner, WorkerBootTimeoutError, WorkerLauncher, WorkerPluginKind, buildTestRunner, buildVerdictEnvelope, calculateMetrics, checkGroupedPlans, checkerDuration, checkerMutantsChecked, checkerMutantsSkipped, checkerProcessCrashes, checkerRpcFailures, classifyWorkerExit, connectRetry, countMutants, createDefaultOptions, createFileMatcher, decideExtendsStep, deepFreeze, defaultOptions, describeErrors, extendsPropertySchema, findUnserializables, forkCoreSchema, forkOptionsSchema, generateRunId, highestExitClass, importModule, initialExtendsStepState, isActionableStatus, isCommandRunner, isModuleSpecifier, isVmRunner, isWarningEnabled, loadConfigCell, makeRunEventStream, makeRunLayer, makeWorkerClient, matchesFile, mergeConfigs, mutationTestCell, optionsPath, readConfig, reporterWorkerFactory, resolveExitCode, shouldKeepTempDir, spawnReporterWorker, strykerCell, strykerVersion, survivorsPriorReport, toRelativeNormalizedFileName, validateOptions, verdictExitClass, vmRunnerCapabilities, vmRunnerName, vmTestRunner };
|