@systemfsoftware/stryker-js 10.0.0 → 10.1.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/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-BBKIZ81u.mjs";
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-RWUb38ZE.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-C0Cxsfe9.mjs";
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-B0ERLxQj.mjs";
2
2
  export { Heartbeat, HelpRendered, ModeSignal, MutationRunPlan, OutputMode, PhaseEntered, PlanKnown, PlanMutationRunCommand, PrepareError, RunDecodeError, RunEvent, RunFailed, RunMutantTested, RunPhase, RunReadError, RunStarted, StageError, VerdictReached };
@@ -192,7 +192,7 @@ declare interface RunPlan {
192
192
  }
193
193
  declare type TestPlan = EarlyResultPlan | RunPlan;
194
194
  declare namespace index_d_exports {
195
- export { BaseTestResult, BoundaryError, BoundaryErrorSchema, BoundaryPayloadRejected, BoundaryUnrecognizedSignal, BrandingInformation, BrandingInformationSchema, CheckResult, CheckResultSchema, CheckStatus, Checker, CheckerCheckResult, CheckerCustomConfig, CheckerCustomConfigSchema, CheckerEntryConfig, CheckerEntryConfigSchema, CheckerFailed, CheckerGroupResult, CheckerMutantWire, CheckerRequest, CheckerRpcs, CheckerService, CommandRunnerOptions, CommandRunnerOptionsSchema, CompleteDryRunResult, CoverageAnalysis, CoverageAnalysisMode, CoverageAnalysisMode as CoverageAnalysisModeType, CoverageAnalysisSchema, DeepOptional, Dependencies, DependenciesSchema, DetectedStatus, DryRunCompleted, DryRunOptions, DryRunOptionsSchema, DryRunResult, DryRunResultSchema, DryRunStatus, EXIT_CODE, ErrorDryRunResult, ErrorMutantRunResult, Evaluator, EvaluatorFailed, EvaluatorService, ExitClass, FailedCheckResult, FailedTestResult, FileResult, FileResultDictionary, FileResultDictionarySchema, FileResultSchema, FrameworkInformation, FrameworkInformationSchema, InvalidStatus, KilledMutantRunResult, KnownKeys, Location, LocationSchema, LogLevel, LogLevel as LogLevelType, Metrics, MetricsResult, MetricsResultEncoded, MetricsResultSchema, MetricsSchema, MutantActivation, MutantActivationSchema, MutantCoverage, MutantCoverageSchema, MutantResult, MutantResultSchema, MutantRunOptions, MutantRunOptionsSchema, MutantRunResult, MutantRunResultSchema, MutantRunStatus, MutantStatus, MutantStatusSchema, MutantTested, MutationScoreThresholds, MutationScoreThresholdsSchema, MutationTestReportReady, MutationTestResult, MutationTestResultSchema, MutationTestingPlanReady, NonNegativeFinite, NonNegativeInt, OnlyObject, OpenEndLocation, OpenEndLocationSchema, PackageManager, PackageManager as PackageManagerType, PartialStrykerOptions, PassedCheckResult, Percentage, PluginFileUrl, Position, PositionSchema, Primitive, PropagatedTrace, PropertyPathOverloads, RENDERED_OPTION_DEFAULTS, ReportType, ReportType as ReportTypeType, ReporterAck, ReporterDrained, ReporterEvent, ReporterEventBatch, ReporterEventKind, ReporterEventSchema, ReporterEventUnion, ReporterFactory, ReporterFailed, ReporterInit, ReporterInitOptions, ReporterPlanDescriptor, ReporterPlanDescriptorSchema, ReporterPlanKind, ReporterRpcs, RunOptions, RunTiming, RunTimingSchema, SkippedTestResult, StrykerOptions, StrykerOptionsSchema, SuccessTestResult, SurvivedMutantRunResult, TRACEPARENT_HEADER, TRACESTATE_HEADER, TestDefinition, TestDefinitionSchema, TestFile, TestFileDefinitionDictionary, TestFileDefinitionDictionarySchema, TestFileSchema, TestResult, TestResultSchema, TestRunner, TestRunnerCapabilities, TestRunnerCapabilitiesSchema, TestRunnerConfig, TestRunnerConfigSchema, TestRunnerCustomConfig, TestRunnerCustomConfigSchema, TestRunnerDryRunRequest, TestRunnerFailed, TestRunnerMutantRunRequest, TestRunnerRpcs, TestRunnerService, TestStatus, Thresholds, ThresholdsSchema, TimeoutDryRunResult, TimeoutMutantRunResult, TraceContextMiddleware, TraceContextParts, TraceContextReference, TracedRpc, Traceparent, UndetectedStatus, UntestedStatus, WorkerEntryUrl, WorkerPluginKind, WorkerPluginSpawn, WorkerPluginSpawnSchema, formatTraceparent, isCustomTestRunner, parseTraceparent, propertyPath, strykerCoreSchema, strykerReportBugUrl, testFilesProvided, toMutantRunResult };
195
+ export { BaseTestResult, BoundaryError, BoundaryErrorSchema, BoundaryPayloadRejected, BoundaryUnrecognizedSignal, BrandingInformation, BrandingInformationSchema, CheckResult, CheckResultSchema, CheckStatus, Checker, CheckerCheckResult, CheckerCustomConfig, CheckerCustomConfigSchema, CheckerEntryConfig, CheckerEntryConfigSchema, CheckerFailed, CheckerGroupResult, CheckerMutantWire, CheckerRequest, CheckerRpcs, CheckerService, CommandRunnerOptions, CommandRunnerOptionsSchema, CompleteDryRunResult, CoverageAnalysis, CoverageAnalysisMode, CoverageAnalysisMode as CoverageAnalysisModeType, CoverageAnalysisSchema, DeepOptional, Dependencies, DependenciesSchema, DetectedStatus, DryRunCompleted, DryRunOptions, DryRunOptionsSchema, DryRunResult, DryRunResultSchema, DryRunStatus, EXIT_CODE, ErrorDryRunResult, ErrorMutantRunResult, Evaluator, EvaluatorFailed, EvaluatorService, ExitClass, FailedCheckResult, FailedTestResult, FileResult, FileResultDictionary, FileResultDictionarySchema, FileResultSchema, FrameworkInformation, FrameworkInformationSchema, HIT_LIMIT_REASON_PREFIX, InvalidStatus, KilledMutantRunResult, KnownKeys, Location, LocationSchema, LogLevel, LogLevel as LogLevelType, Metrics, MetricsResult, MetricsResultEncoded, MetricsResultSchema, MetricsSchema, MutantActivation, MutantActivationSchema, MutantCoverage, MutantCoverageSchema, MutantResult, MutantResultSchema, MutantRunOptions, MutantRunOptionsSchema, MutantRunResult, MutantRunResultSchema, MutantRunStatus, MutantStatus, MutantStatusSchema, MutantTested, MutationScoreThresholds, MutationScoreThresholdsSchema, MutationTestReportReady, MutationTestResult, MutationTestResultSchema, MutationTestingPlanReady, NonNegativeFinite, NonNegativeInt, OnlyObject, OpenEndLocation, OpenEndLocationSchema, PackageManager, PackageManager as PackageManagerType, PartialStrykerOptions, PassedCheckResult, Percentage, PluginFileUrl, Position, PositionSchema, Primitive, PropagatedTrace, PropertyPathOverloads, RENDERED_OPTION_DEFAULTS, ReportType, ReportType as ReportTypeType, ReporterAck, ReporterDrained, ReporterEvent, ReporterEventBatch, ReporterEventKind, ReporterEventSchema, ReporterEventUnion, ReporterFactory, ReporterFailed, ReporterInit, ReporterInitOptions, ReporterPlanDescriptor, ReporterPlanDescriptorSchema, ReporterPlanKind, ReporterRpcs, RunOptions, RunTiming, RunTimingSchema, SkippedTestResult, StrykerOptions, StrykerOptionsSchema, SuccessTestResult, SurvivedMutantRunResult, TRACEPARENT_HEADER, TRACESTATE_HEADER, TestDefinition, TestDefinitionSchema, TestFile, TestFileDefinitionDictionary, TestFileDefinitionDictionarySchema, TestFileSchema, TestResult, TestResultSchema, TestRunner, TestRunnerCapabilities, TestRunnerCapabilitiesSchema, TestRunnerConfig, TestRunnerConfigSchema, TestRunnerCustomConfig, TestRunnerCustomConfigSchema, TestRunnerDryRunRequest, TestRunnerFailed, TestRunnerMutantRunRequest, TestRunnerRpcs, TestRunnerService, TestStatus, Thresholds, ThresholdsSchema, TimeoutDryRunResult, TimeoutMutantRunResult, TraceContextMiddleware, TraceContextParts, TraceContextReference, TracedRpc, Traceparent, UndetectedStatus, UntestedStatus, WALL_CLOCK_TIMEOUT_REASON, WorkerEntryUrl, WorkerPluginKind, WorkerPluginSpawn, WorkerPluginSpawnSchema, formatTraceparent, hitLimitReachedReason, isCustomTestRunner, isHitLimitReason, isNamedTrap, parseTraceparent, propertyPath, strykerCoreSchema, strykerReportBugUrl, testFilesProvided, toMutantRunResult, wallClockTimeoutStopsRun };
196
196
  }
197
197
  declare interface BaseTestResult {
198
198
  readonly id: string;
@@ -519,8 +519,12 @@ declare const FrameworkInformationSchema: S.Struct<{
519
519
  }>>;
520
520
  readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
521
521
  }>;
522
+ declare const HIT_LIMIT_REASON_PREFIX = "Hit limit reached";
523
+ declare const hitLimitReachedReason: (count: number, limit: number) => string;
522
524
  declare const InvalidStatus: S.Union<readonly [S.Literal<"CompileError">, S.Literal<"RuntimeError">]>;
523
525
  declare const isCustomTestRunner: (value: TestRunnerConfig) => value is TestRunnerCustomConfig;
526
+ declare const isHitLimitReason: (reason: string | undefined) => boolean;
527
+ declare const isNamedTrap: (activeMutantId: string, namedTrapId: string | undefined) => boolean;
524
528
  declare interface KilledMutantRunResult {
525
529
  readonly status: 'killed';
526
530
  readonly killedBy: readonly string[];
@@ -637,11 +641,19 @@ declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTes
637
641
  readonly total: S.Int;
638
642
  }>, {}>;
639
643
  declare type MutationScoreThresholds = typeof MutationScoreThresholdsSchema.Type;
640
- declare const MutationScoreThresholdsSchema: S.Struct<{
644
+ declare const MutationScoreThresholdsSchema: S.decodeTo<S.declare<{
645
+ readonly high: number;
646
+ readonly low: number;
647
+ readonly break: number | null;
648
+ }, {
649
+ readonly high: number;
650
+ readonly low: number;
651
+ readonly break: number | null;
652
+ }>, S.Struct<{
641
653
  readonly high: S.withDecodingDefaultKey<S.Finite, never>;
642
654
  readonly low: S.withDecodingDefaultKey<S.Finite, never>;
643
655
  readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
644
- }>;
656
+ }>, never, never>;
645
657
  declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
646
658
  declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
647
659
  readonly total: S.Int;
@@ -683,10 +695,16 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
683
695
  readonly duration: S.optional<S.Finite>;
684
696
  }>>;
685
697
  }>>;
686
- readonly thresholds: S.Struct<{
698
+ readonly thresholds: S.decodeTo<S.declare<{
699
+ readonly high: number;
700
+ readonly low: number;
701
+ }, {
702
+ readonly high: number;
703
+ readonly low: number;
704
+ }>, S.Struct<{
687
705
  readonly high: S.Finite;
688
706
  readonly low: S.Finite;
689
- }>;
707
+ }>, never, never>;
690
708
  readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
691
709
  readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
692
710
  readonly source: S.optional<S.String>;
@@ -748,10 +766,16 @@ declare const MutationTestResultSchema: S.Struct<{
748
766
  readonly duration: S.optional<S.Finite>;
749
767
  }>>;
750
768
  }>>;
751
- readonly thresholds: S.Struct<{
769
+ readonly thresholds: S.decodeTo<S.declare<{
770
+ readonly high: number;
771
+ readonly low: number;
772
+ }, {
773
+ readonly high: number;
774
+ readonly low: number;
775
+ }>, S.Struct<{
752
776
  readonly high: S.Finite;
753
777
  readonly low: S.Finite;
754
- }>;
778
+ }>, never, never>;
755
779
  readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
756
780
  readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
757
781
  readonly source: S.optional<S.String>;
@@ -944,11 +968,19 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
944
968
  readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
945
969
  }>]>, never>;
946
970
  readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
947
- readonly thresholds: S.withDecodingDefaultKey<S.Struct<{
971
+ readonly thresholds: S.withDecodingDefaultKey<S.decodeTo<S.declare<{
972
+ readonly high: number;
973
+ readonly low: number;
974
+ readonly break: number | null;
975
+ }, {
976
+ readonly high: number;
977
+ readonly low: number;
978
+ readonly break: number | null;
979
+ }>, S.Struct<{
948
980
  readonly high: S.withDecodingDefaultKey<S.Finite, never>;
949
981
  readonly low: S.withDecodingDefaultKey<S.Finite, never>;
950
982
  readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
951
- }>, never>;
983
+ }>, never, never>, never>;
952
984
  readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
953
985
  readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
954
986
  readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
@@ -1130,10 +1162,16 @@ declare interface TestRunnerService {
1130
1162
  declare const TestStatus: S.Literals<readonly ["success", "failed", "skipped"]>;
1131
1163
  declare type TestStatus = typeof TestStatus.Type;
1132
1164
  declare type Thresholds = typeof ThresholdsSchema.Type;
1133
- declare const ThresholdsSchema: S.Struct<{
1165
+ declare const ThresholdsSchema: S.decodeTo<S.declare<{
1166
+ readonly high: number;
1167
+ readonly low: number;
1168
+ }, {
1169
+ readonly high: number;
1170
+ readonly low: number;
1171
+ }>, S.Struct<{
1134
1172
  readonly high: S.Finite;
1135
1173
  readonly low: S.Finite;
1136
- }>;
1174
+ }>, never, never>;
1137
1175
  declare interface TimeoutDryRunResult {
1138
1176
  readonly status: 'timeout';
1139
1177
  readonly reason?: string;
@@ -1160,6 +1198,8 @@ declare const TRACEPARENT_HEADER = "traceparent";
1160
1198
  declare const TRACESTATE_HEADER = "tracestate";
1161
1199
  declare const UndetectedStatus: S.Union<readonly [S.Literal<"Survived">, S.Literal<"NoCoverage">]>;
1162
1200
  declare const UntestedStatus: S.Union<readonly [S.Literal<"Ignored">, S.Literal<"Pending">]>;
1201
+ declare const WALL_CLOCK_TIMEOUT_REASON = "wall-clock-timeout";
1202
+ declare const wallClockTimeoutStopsRun: (status: string, reason: string | undefined) => boolean;
1163
1203
  declare const WorkerEntryUrl: S.String;
1164
1204
  declare type WorkerEntryUrl = typeof WorkerEntryUrl.Type;
1165
1205
  declare const WorkerPluginKind: S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>;
package/dist/index.d.mts CHANGED
@@ -712,7 +712,7 @@ declare interface ExportSpecifier extends Span$1 {
712
712
  parent?: Node$1;
713
713
  }
714
714
 
715
- declare type Expression$1 = BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | IdentifierReference$1 | MetaProperty$1 | Super$1 | ArrayExpression$1 | ArrowFunctionExpression$1 | AssignmentExpression$1 | AwaitExpression | BinaryExpression$1 | CallExpression$1 | ChainExpression$1 | Class$1 | ConditionalExpression$1 | Function$1 | ImportExpression$1 | LogicalExpression$1 | NewExpression$1 | ObjectExpression$1 | ParenthesizedExpression | SequenceExpression$1 | TaggedTemplateExpression$1 | ThisExpression$1 | UnaryExpression$1 | UpdateExpression$1 | YieldExpression$1 | PrivateInExpression$1 | JSXElement$1 | JSXFragment$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSNonNullExpression$1 | TSInstantiationExpression$1 | V8IntrinsicExpression | MemberExpression$1;
715
+ declare type Expression$1 = BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | IdentifierReference$1 | Super$1 | ArrayExpression$1 | ArrowFunctionExpression$1 | AssignmentExpression$1 | AwaitExpression | BinaryExpression$1 | CallExpression$1 | ChainExpression$1 | Class$1 | ConditionalExpression$1 | Function$1 | ImportExpression$1 | LogicalExpression$1 | NewExpression$1 | ObjectExpression$1 | ParenthesizedExpression | SequenceExpression$1 | TaggedTemplateExpression$1 | ThisExpression$1 | UnaryExpression$1 | UpdateExpression$1 | YieldExpression$1 | PrivateInExpression$1 | MetaProperty$1 | JSXElement$1 | JSXFragment$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSNonNullExpression$1 | TSInstantiationExpression$1 | V8IntrinsicExpression | MemberExpression$1;
716
716
 
717
717
  declare interface ExpressionStatement$1 extends Span$1 {
718
718
  type: "ExpressionStatement";
@@ -901,11 +901,19 @@ export declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
901
901
  readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
902
902
  }>]>, never>;
903
903
  readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
904
- readonly thresholds: S.withDecodingDefaultKey<S.Struct<{
904
+ readonly thresholds: S.withDecodingDefaultKey<S.decodeTo<S.declare<{
905
+ readonly high: number;
906
+ readonly low: number;
907
+ readonly break: number | null;
908
+ }, {
909
+ readonly high: number;
910
+ readonly low: number;
911
+ readonly break: number | null;
912
+ }>, S.Struct<{
905
913
  readonly high: S.withDecodingDefaultKey<S.Finite, never>;
906
914
  readonly low: S.withDecodingDefaultKey<S.Finite, never>;
907
915
  readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
908
- }>, never>;
916
+ }>, never, never>, never>;
909
917
  readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
910
918
  readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
911
919
  readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
@@ -931,7 +939,7 @@ declare type FormalParameter = {
931
939
  declare interface FormalParameterRest extends Span$1 {
932
940
  type: "RestElement";
933
941
  argument: BindingPattern$1;
934
- decorators?: [];
942
+ decorators?: Array<Decorator$1>;
935
943
  optional?: boolean;
936
944
  typeAnnotation?: TSTypeAnnotation$1 | null;
937
945
  value?: null;
@@ -1630,10 +1638,16 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
1630
1638
  readonly duration: S.optional<S.Finite>;
1631
1639
  }>>;
1632
1640
  }>>;
1633
- readonly thresholds: S.Struct<{
1641
+ readonly thresholds: S.decodeTo<S.declare<{
1642
+ readonly high: number;
1643
+ readonly low: number;
1644
+ }, {
1645
+ readonly high: number;
1646
+ readonly low: number;
1647
+ }>, S.Struct<{
1634
1648
  readonly high: S.Finite;
1635
1649
  readonly low: S.Finite;
1636
- }>;
1650
+ }>, never, never>;
1637
1651
  readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
1638
1652
  readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
1639
1653
  readonly source: S.optional<S.String>;
@@ -1697,10 +1711,16 @@ export declare const MutationTestResultSchema: S.Struct<{
1697
1711
  readonly duration: S.optional<S.Finite>;
1698
1712
  }>>;
1699
1713
  }>>;
1700
- readonly thresholds: S.Struct<{
1714
+ readonly thresholds: S.decodeTo<S.declare<{
1715
+ readonly high: number;
1716
+ readonly low: number;
1717
+ }, {
1718
+ readonly high: number;
1719
+ readonly low: number;
1720
+ }>, S.Struct<{
1701
1721
  readonly high: S.Finite;
1702
1722
  readonly low: S.Finite;
1703
- }>;
1723
+ }>, never, never>;
1704
1724
  readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
1705
1725
  readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
1706
1726
  readonly source: S.optional<S.String>;
@@ -2353,11 +2373,19 @@ export declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
2353
2373
  readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
2354
2374
  }>]>, never>;
2355
2375
  readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2356
- readonly thresholds: S.withDecodingDefaultKey<S.Struct<{
2376
+ readonly thresholds: S.withDecodingDefaultKey<S.decodeTo<S.declare<{
2377
+ readonly high: number;
2378
+ readonly low: number;
2379
+ readonly break: number | null;
2380
+ }, {
2381
+ readonly high: number;
2382
+ readonly low: number;
2383
+ readonly break: number | null;
2384
+ }>, S.Struct<{
2357
2385
  readonly high: S.withDecodingDefaultKey<S.Finite, never>;
2358
2386
  readonly low: S.withDecodingDefaultKey<S.Finite, never>;
2359
2387
  readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
2360
- }>, never>;
2388
+ }>, never, never>, never>;
2361
2389
  readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
2362
2390
  readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
2363
2391
  readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
@@ -3150,11 +3178,19 @@ declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdi
3150
3178
  readonly mode: S.Literals<readonly ["human", "machine"]>;
3151
3179
  readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
3152
3180
  readonly score: S.NullOr<S.Finite>;
3153
- readonly thresholds: S.Struct<{
3181
+ readonly thresholds: S.decodeTo<S.declare<{
3182
+ readonly high: number;
3183
+ readonly low: number;
3184
+ readonly break: number | null;
3185
+ }, {
3186
+ readonly high: number;
3187
+ readonly low: number;
3188
+ readonly break: number | null;
3189
+ }>, S.Struct<{
3154
3190
  readonly high: S.Finite;
3155
3191
  readonly low: S.Finite;
3156
3192
  readonly break: S.NullOr<S.Finite>;
3157
- }>;
3193
+ }>, never, never>;
3158
3194
  readonly reportFile: S.NullOr<S.String>;
3159
3195
  readonly counts: typeof Metrics;
3160
3196
  readonly mutants: S.$Array<S.Struct<{
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as WorkerPluginKind, 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, at as LocationSchema, b as CheckerFailed, c as PhaseEntered, ct as MutantStatusSchema, h as RunPhase, i as HelpRendered, j as MutantResultSchema, l as PlanKnown, lt as PositionSchema, m as RunMutantTested, n as StageError, p as RunFailed, q as TestRunnerConfigSchema, r as Heartbeat, st as MutantActivationSchema, v as VerdictReached, w as CheckerRpcs, x as CheckerGroupResult, y as CheckerCheckResult, z as ReporterDrained } from "./Run.schema-C0Cxsfe9.mjs";
2
- import { $ as validateOptions, A as strykerVersion, At as MergeResult, B as optionsPath, C as checkerMutantsSkipped, Ct as ExtendsStepDone, D as CheckerSkippedRequested, Dt as ExtendsStepStateSchema, E as CheckerAnsweredUnrequested, Et as ExtendsStepResolve, F as deepFreeze, Ft as toRelativeNormalizedFileName, G as decideExtendsStep, H as REPORTER_EVENT_BATCH_BOUND, I as defaultOptions, It as RunEvents, J as importModule, K as describeErrors, L as findUnserializables, Lt as RunIdentity, M as CONFIG_SYNTAX_HELP, Mt as extendsPropertySchema, N as SUPPORTED_CONFIG_FILE_NAMES, Nt as forkOptionsSchema, O as createFileMatcher, Ot as ImportedModuleSchema, P as createDefaultOptions, Pt as survivorsPriorReport, Q as readConfig, R as isModuleSpecifier, Rt as RunEventWireLine, S as checkerMutantsChecked, St as ExtendsStepDocumentSchema, T as checkerRpcFailures, Tt as ExtendsStepRefused, U as reporterWorkerFactory, V as RunEnvironment, W as spawnReporterWorker, X as loadConfigCell, Y as initialExtendsStepState, Z as mergeConfigs, _ as verdictExitClass, _t as ConfigError, a as RUN_EVENTS_QUEUE_BOUND, at as IdGenerator, b as checkGroupedPlans, bt as ConfigFileUnreadableError, c as shouldKeepTempDir, ct as OutOfMemoryError, d as buildVerdictEnvelope, dt as isVmRunner, et as buildTestRunner, f as generateRunId, ft as vmRunnerCapabilities, g as resolveExitCode, gt as ConfigDocumentSchema, h as highestExitClass, ht as StrykerError, i as makeRunEventStream, it as makeWorkerClient, j as IncrementalReportSchema, jt as ReadConfigCommand, k as matchesFile, kt as MergeCommand, l as ACTIONABLE_STATUSES, lt as WorkerBootTimeoutError, m as EXIT_CODE, mt as vmTestRunner, n as RunEventDrain, nt as WorkerLauncher, o as makeRunLayer, ot as classifyWorkerExit, p as isActionableStatus, pt as vmRunnerName, q as forkCoreSchema, r as RunEventDrainLive, rt as connectRetry, s as mutationTestCell, st as ChildProcessCrashedError, t as strykerCell, tt as isCommandRunner, u as VERDICT_ENVELOPE_SCHEMA_VERSION, ut as VmRunner, v as calculateMetrics, vt as ConfigFileInvalidError, w as checkerProcessCrashes, wt as ExtendsStepRead, x as checkerDuration, xt as ConfigFileUnsupportedError, y as countMutants, yt as ConfigFileNotFoundError, z as isWarningEnabled, zt as S } from "./src-Bu4i-Lt2.mjs";
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-B0ERLxQj.mjs";
2
+ import { $ as validateOptions, A as strykerVersion, At as MergeResult, B as optionsPath, C as checkerMutantsSkipped, Ct as ExtendsStepDone, D as CheckerSkippedRequested, Dt as ExtendsStepStateSchema, E as CheckerAnsweredUnrequested, Et as ExtendsStepResolve, F as deepFreeze, Ft as toRelativeNormalizedFileName, G as decideExtendsStep, H as REPORTER_EVENT_BATCH_BOUND, I as defaultOptions, It as RunEvents, J as importModule, K as describeErrors, L as findUnserializables, Lt as RunIdentity, M as CONFIG_SYNTAX_HELP, Mt as extendsPropertySchema, N as SUPPORTED_CONFIG_FILE_NAMES, Nt as forkOptionsSchema, O as createFileMatcher, Ot as ImportedModuleSchema, P as createDefaultOptions, Pt as survivorsPriorReport, Q as readConfig, R as isModuleSpecifier, Rt as RunEventWireLine, S as checkerMutantsChecked, St as ExtendsStepDocumentSchema, T as checkerRpcFailures, Tt as ExtendsStepRefused, U as reporterWorkerFactory, V as RunEnvironment, W as spawnReporterWorker, X as loadConfigCell, Y as initialExtendsStepState, Z as mergeConfigs, _ as verdictExitClass, _t as ConfigError, a as RUN_EVENTS_QUEUE_BOUND, at as IdGenerator, b as checkGroupedPlans, bt as ConfigFileUnreadableError, c as shouldKeepTempDir, ct as OutOfMemoryError, d as buildVerdictEnvelope, dt as isVmRunner, et as buildTestRunner, f as generateRunId, ft as vmRunnerCapabilities, g as resolveExitCode, gt as ConfigDocumentSchema, h as highestExitClass, ht as StrykerError, i as makeRunEventStream, it as makeWorkerClient, j as IncrementalReportSchema, jt as ReadConfigCommand, k as matchesFile, kt as MergeCommand, l as ACTIONABLE_STATUSES, lt as WorkerBootTimeoutError, m as EXIT_CODE, mt as vmTestRunner, n as RunEventDrain, nt as WorkerLauncher, o as makeRunLayer, ot as classifyWorkerExit, p as isActionableStatus, pt as vmRunnerName, q as forkCoreSchema, r as RunEventDrainLive, rt as connectRetry, s as mutationTestCell, st as ChildProcessCrashedError, t as strykerCell, tt as isCommandRunner, u as VERDICT_ENVELOPE_SCHEMA_VERSION, ut as VmRunner, v as calculateMetrics, vt as ConfigFileInvalidError, w as checkerProcessCrashes, wt as ExtendsStepRead, x as checkerDuration, xt as ConfigFileUnsupportedError, y as countMutants, yt as ConfigFileNotFoundError, z as isWarningEnabled, zt as S } from "./src-Baq6uz-6.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 };