@systemfsoftware/stryker-js 8.0.0 → 10.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 +18 -0
- package/dist/Run.schema-BBKIZ81u.d.mts +165 -0
- package/dist/Run.schema-C0Cxsfe9.mjs +8746 -0
- package/dist/config.d.mts +2 -1
- package/dist/events.d.mts +2 -0
- package/dist/events.mjs +2 -0
- package/dist/{getMachineId-bsd-C6bLIaiv.mjs → getMachineId-bsd-DGLFi8Ia.mjs} +1 -1
- package/dist/{getMachineId-bsd-CXSiHDga.mjs → getMachineId-bsd-YZILidse.mjs} +1 -1
- package/dist/{getMachineId-darwin-DPZ0kdKD.mjs → getMachineId-darwin-B_CgClId.mjs} +1 -1
- package/dist/{getMachineId-darwin-D3cIKeqx.mjs → getMachineId-darwin-Bfwczd9V.mjs} +1 -1
- package/dist/{getMachineId-linux-Ci8OVJU0.mjs → getMachineId-linux-CPAE174r.mjs} +1 -1
- package/dist/{getMachineId-linux-CQwLSlZk.mjs → getMachineId-linux-DprzjpT3.mjs} +1 -1
- package/dist/{getMachineId-unsupported-PX0hnW6X.mjs → getMachineId-unsupported-Ce9f061A.mjs} +1 -1
- package/dist/{getMachineId-unsupported-_ExL3Avl.mjs → getMachineId-unsupported-j7fStyPQ.mjs} +1 -1
- package/dist/{getMachineId-win-D9Tb0p7w.mjs → getMachineId-win-DETv1PQd.mjs} +1 -1
- package/dist/{getMachineId-win-BCsS9pC_.mjs → getMachineId-win-ZJtT3h1l.mjs} +1 -1
- package/dist/{output-mode-CE6VNHfH.d.mts → index-DnAm4mSL.d.mts} +52 -93
- package/dist/index.d.mts +89 -78
- package/dist/index.mjs +3 -2
- package/dist/main.mjs +11123 -10763
- package/dist/{mutation-test.cell-Ch-QUquW.d.mts → mutation-test.cell-m9T-X2Qx.d.mts} +11 -179
- package/dist/output-mode-CfGHDpi5.d.mts +17 -0
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/src-Bu4i-Lt2.mjs +6600 -0
- package/dist/{wasm-Dr7kZatW.mjs → wasm-Dg4JcQ2d.mjs} +1 -1
- package/package.json +11 -7
- package/dist/src-WMC3thmX.mjs +0 -15615
package/dist/index.d.mts
CHANGED
|
@@ -28,6 +28,7 @@ import { Schema } from 'effect';
|
|
|
28
28
|
import * as Scope from 'effect/Scope';
|
|
29
29
|
import * as Socket from 'effect/unstable/socket/Socket';
|
|
30
30
|
import * as Stdio from 'effect/Stdio';
|
|
31
|
+
import * as Stream from 'effect/Stream';
|
|
31
32
|
import { YieldableError } from 'effect/Cause';
|
|
32
33
|
|
|
33
34
|
declare interface AccessorProperty$1 extends Span$1 {
|
|
@@ -374,8 +375,8 @@ export declare type CheckerRequest = typeof CheckerRequest.Type;
|
|
|
374
375
|
* which lets the retry combinator prove it handles every one of them.
|
|
375
376
|
*/
|
|
376
377
|
export declare interface CheckerResourceService {
|
|
377
|
-
readonly check: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<Record<string, CheckResult>, CheckerCrash>;
|
|
378
|
-
readonly group: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash>;
|
|
378
|
+
readonly check: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<Record<string, CheckResult>, CheckerCrash | CheckerFailed>;
|
|
379
|
+
readonly group: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash | CheckerFailed>;
|
|
379
380
|
}
|
|
380
381
|
|
|
381
382
|
export declare const checkerRpcFailures: Metric.Counter<number>;
|
|
@@ -390,7 +391,7 @@ declare const CheckerSkippedRequested_base: S.Class<CheckerSkippedRequested, S.T
|
|
|
390
391
|
readonly missingIds: S.$Array<S.String>;
|
|
391
392
|
}>, YieldableError>;
|
|
392
393
|
|
|
393
|
-
export declare const checkGroupedPlans: (checker: CheckerResourceService, checkerName: string, plans: readonly RunPlan[]) => Effect.Effect<readonly (readonly [RunPlan, CheckResult])[], CheckerCrash | CheckerContractBroken>;
|
|
394
|
+
export declare const checkGroupedPlans: (checker: CheckerResourceService, checkerName: string, plans: readonly RunPlan[]) => Effect.Effect<readonly (readonly [RunPlan, CheckResult])[], CheckerCrash | CheckerFailed | CheckerContractBroken>;
|
|
394
395
|
|
|
395
396
|
export declare type CheckResult = FailedCheckResult | PassedCheckResult;
|
|
396
397
|
|
|
@@ -592,7 +593,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
592
593
|
readonly capabilities: S.Struct<{
|
|
593
594
|
readonly reloadEnvironment: S.Boolean;
|
|
594
595
|
}>;
|
|
595
|
-
readonly testCount: S.
|
|
596
|
+
readonly testCount: S.Int;
|
|
596
597
|
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
597
598
|
readonly id: S.String;
|
|
598
599
|
readonly name: S.String;
|
|
@@ -823,7 +824,7 @@ export declare const FileResultSchema: S.Struct<{
|
|
|
823
824
|
readonly static: S.optional<S.Boolean>;
|
|
824
825
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
825
826
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
826
|
-
readonly testsCompleted: S.optional<S.
|
|
827
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
827
828
|
readonly duration: S.optional<S.Finite>;
|
|
828
829
|
}>>;
|
|
829
830
|
}>;
|
|
@@ -959,6 +960,8 @@ declare type ForStatementInit = VariableDeclaration$1 | Expression$1;
|
|
|
959
960
|
|
|
960
961
|
declare type ForStatementLeft = VariableDeclaration$1 | AssignmentTarget;
|
|
961
962
|
|
|
963
|
+
declare type FramedDrain = (framed: Stream.Stream<string, never, never>) => Effect.Effect<void, never, never>;
|
|
964
|
+
|
|
962
965
|
declare interface Function$1 extends Span$1 {
|
|
963
966
|
type: FunctionType;
|
|
964
967
|
id: BindingIdentifier$1 | null;
|
|
@@ -993,8 +996,8 @@ export declare class Heartbeat extends Heartbeat_base {}
|
|
|
993
996
|
|
|
994
997
|
declare const Heartbeat_base: S.Class<Heartbeat, S.TaggedStruct<"tick", {
|
|
995
998
|
readonly elapsedMs: S.Finite;
|
|
996
|
-
readonly completed: S.
|
|
997
|
-
readonly total: S.NullOr<S.
|
|
999
|
+
readonly completed: S.Int;
|
|
1000
|
+
readonly total: S.NullOr<S.Int>;
|
|
998
1001
|
}>, {}>;
|
|
999
1002
|
|
|
1000
1003
|
export declare class HelpRendered extends HelpRendered_base {}
|
|
@@ -1110,6 +1113,7 @@ declare interface ImportSpecifier extends Span$1 {
|
|
|
1110
1113
|
}
|
|
1111
1114
|
|
|
1112
1115
|
export declare const IncrementalReportSchema: S.StructWithRest<S.Struct<{
|
|
1116
|
+
readonly incrementalVersion: S.String;
|
|
1113
1117
|
readonly schemaVersion: S.String;
|
|
1114
1118
|
readonly thresholds: S.Struct<{
|
|
1115
1119
|
readonly high: S.Finite;
|
|
@@ -1374,6 +1378,8 @@ declare interface LogicalExpression$1 extends Span$1 {
|
|
|
1374
1378
|
|
|
1375
1379
|
declare type LogicalOperator = "||" | "&&" | "??";
|
|
1376
1380
|
|
|
1381
|
+
export declare const makeRunEventStream: (resolved: ResolvedModeInput) => Effect.Effect<RunEventStream, never, Stdio.Stdio | RunEventDrain>;
|
|
1382
|
+
|
|
1377
1383
|
export declare const makeRunLayer: (env: RunEnvironmentShape, events?: Queue.Queue<RunEvent, Cause.Done>) => Layer.Layer<RunStageServices, never, EnginePorts>;
|
|
1378
1384
|
|
|
1379
1385
|
export declare const makeWorkerClient: <Rpcs extends Rpc.Any>(params: WorkerClientParams<Rpcs>) => Effect.Effect<RpcClient.RpcClient<Rpcs, RpcClientError>, WorkerBootError, Scope.Scope | WorkerLauncher>;
|
|
@@ -1422,7 +1428,30 @@ declare type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
|
|
|
1422
1428
|
|
|
1423
1429
|
declare type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
|
|
1424
1430
|
|
|
1425
|
-
export declare
|
|
1431
|
+
export declare class Metrics extends Metrics_base {
|
|
1432
|
+
get totalDetected(): number;
|
|
1433
|
+
get totalUndetected(): number;
|
|
1434
|
+
get totalCovered(): number;
|
|
1435
|
+
get totalValid(): number;
|
|
1436
|
+
get totalInvalid(): number;
|
|
1437
|
+
get totalMutants(): number;
|
|
1438
|
+
get mutationScore(): number;
|
|
1439
|
+
get mutationScoreBasedOnCoveredCode(): number;
|
|
1440
|
+
static fromMutants(mutants: readonly {
|
|
1441
|
+
readonly status: string;
|
|
1442
|
+
}[]): Metrics;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
declare const Metrics_base: S.Class<Metrics, S.Struct<{
|
|
1446
|
+
readonly pending: S.Int;
|
|
1447
|
+
readonly killed: S.Int;
|
|
1448
|
+
readonly timeout: S.Int;
|
|
1449
|
+
readonly survived: S.Int;
|
|
1450
|
+
readonly noCoverage: S.Int;
|
|
1451
|
+
readonly runtimeErrors: S.Int;
|
|
1452
|
+
readonly compileErrors: S.Int;
|
|
1453
|
+
readonly ignored: S.Int;
|
|
1454
|
+
}>, {}>;
|
|
1426
1455
|
|
|
1427
1456
|
export declare interface MetricsResult {
|
|
1428
1457
|
readonly name: string;
|
|
@@ -1430,24 +1459,13 @@ export declare interface MetricsResult {
|
|
|
1430
1459
|
readonly childResults: readonly MetricsResult[];
|
|
1431
1460
|
}
|
|
1432
1461
|
|
|
1433
|
-
|
|
1434
|
-
readonly
|
|
1435
|
-
readonly
|
|
1436
|
-
readonly
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
readonly compileErrors: S.Finite;
|
|
1441
|
-
readonly ignored: S.Finite;
|
|
1442
|
-
readonly totalDetected: S.Finite;
|
|
1443
|
-
readonly totalUndetected: S.Finite;
|
|
1444
|
-
readonly totalInvalid: S.Finite;
|
|
1445
|
-
readonly totalValid: S.Finite;
|
|
1446
|
-
readonly totalMutants: S.Finite;
|
|
1447
|
-
readonly totalCovered: S.Finite;
|
|
1448
|
-
readonly mutationScore: S.Finite;
|
|
1449
|
-
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
1450
|
-
}>;
|
|
1462
|
+
declare interface MetricsResultEncoded {
|
|
1463
|
+
readonly name: string;
|
|
1464
|
+
readonly metrics: typeof Metrics.Encoded;
|
|
1465
|
+
readonly childResults: readonly MetricsResultEncoded[];
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
export declare const MetricsSchema: typeof Metrics;
|
|
1451
1469
|
|
|
1452
1470
|
export declare type ModeSignal = 'flag' | 'env' | 'tty' | 'agent' | 'tool';
|
|
1453
1471
|
|
|
@@ -1513,7 +1531,7 @@ export declare const MutantResultSchema: S.Struct<{
|
|
|
1513
1531
|
readonly static: S.optional<S.Boolean>;
|
|
1514
1532
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1515
1533
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1516
|
-
readonly testsCompleted: S.optional<S.
|
|
1534
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
1517
1535
|
readonly duration: S.optional<S.Finite>;
|
|
1518
1536
|
}>;
|
|
1519
1537
|
|
|
@@ -1550,8 +1568,8 @@ declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTes
|
|
|
1550
1568
|
}>;
|
|
1551
1569
|
readonly mutator: S.String;
|
|
1552
1570
|
readonly replacement: S.NullOr<S.String>;
|
|
1553
|
-
readonly completed: S.
|
|
1554
|
-
readonly total: S.
|
|
1571
|
+
readonly completed: S.Int;
|
|
1572
|
+
readonly total: S.Int;
|
|
1555
1573
|
}>, {}>;
|
|
1556
1574
|
|
|
1557
1575
|
export declare type MutateDescription = ReadonlyArray<MutationRange> | boolean;
|
|
@@ -1571,7 +1589,7 @@ export declare interface MutationTestDone {
|
|
|
1571
1589
|
export declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
1572
1590
|
|
|
1573
1591
|
declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
|
|
1574
|
-
readonly total: S.
|
|
1592
|
+
readonly total: S.Int;
|
|
1575
1593
|
readonly plans: S.$Array<S.Struct<{
|
|
1576
1594
|
readonly mutantId: S.String;
|
|
1577
1595
|
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
@@ -1608,7 +1626,7 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
1608
1626
|
readonly static: S.optional<S.Boolean>;
|
|
1609
1627
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1610
1628
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1611
|
-
readonly testsCompleted: S.optional<S.
|
|
1629
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
1612
1630
|
readonly duration: S.optional<S.Finite>;
|
|
1613
1631
|
}>>;
|
|
1614
1632
|
}>>;
|
|
@@ -1645,28 +1663,7 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
1645
1663
|
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
1646
1664
|
}>>;
|
|
1647
1665
|
}>;
|
|
1648
|
-
readonly metrics: S.
|
|
1649
|
-
readonly name: S.String;
|
|
1650
|
-
readonly metrics: S.Struct<{
|
|
1651
|
-
readonly pending: S.Finite;
|
|
1652
|
-
readonly killed: S.Finite;
|
|
1653
|
-
readonly timeout: S.Finite;
|
|
1654
|
-
readonly survived: S.Finite;
|
|
1655
|
-
readonly noCoverage: S.Finite;
|
|
1656
|
-
readonly runtimeErrors: S.Finite;
|
|
1657
|
-
readonly compileErrors: S.Finite;
|
|
1658
|
-
readonly ignored: S.Finite;
|
|
1659
|
-
readonly totalDetected: S.Finite;
|
|
1660
|
-
readonly totalUndetected: S.Finite;
|
|
1661
|
-
readonly totalInvalid: S.Finite;
|
|
1662
|
-
readonly totalValid: S.Finite;
|
|
1663
|
-
readonly totalMutants: S.Finite;
|
|
1664
|
-
readonly totalCovered: S.Finite;
|
|
1665
|
-
readonly mutationScore: S.Finite;
|
|
1666
|
-
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
1667
|
-
}>;
|
|
1668
|
-
readonly childResults: S.$Array<S.suspend<S.Codec<MetricsResult, MetricsResult, never, never>>>;
|
|
1669
|
-
}>;
|
|
1666
|
+
readonly metrics: S.Codec<MetricsResult, MetricsResultEncoded, never, never>;
|
|
1670
1667
|
}>, {}>;
|
|
1671
1668
|
|
|
1672
1669
|
export declare type MutationTestResult = typeof MutationTestResultSchema.Type;
|
|
@@ -1696,7 +1693,7 @@ export declare const MutationTestResultSchema: S.Struct<{
|
|
|
1696
1693
|
readonly static: S.optional<S.Boolean>;
|
|
1697
1694
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1698
1695
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1699
|
-
readonly testsCompleted: S.optional<S.
|
|
1696
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
1700
1697
|
readonly duration: S.optional<S.Finite>;
|
|
1701
1698
|
}>>;
|
|
1702
1699
|
}>>;
|
|
@@ -1846,7 +1843,7 @@ declare const PhaseEntered_base: S.Class<PhaseEntered, S.TaggedStruct<"phase", {
|
|
|
1846
1843
|
export declare class PlanKnown extends PlanKnown_base {}
|
|
1847
1844
|
|
|
1848
1845
|
declare const PlanKnown_base: S.Class<PlanKnown, S.TaggedStruct<"plan", {
|
|
1849
|
-
readonly total: S.
|
|
1846
|
+
readonly total: S.Int;
|
|
1850
1847
|
}>, {}>;
|
|
1851
1848
|
|
|
1852
1849
|
export declare type PluginDescriptor<K extends PluginKind = PluginKind> = PluginDescriptorOf<K>;
|
|
@@ -2054,6 +2051,11 @@ export declare interface ResolvedMode {
|
|
|
2054
2051
|
readonly stdoutIsTTY: boolean;
|
|
2055
2052
|
}
|
|
2056
2053
|
|
|
2054
|
+
export declare interface ResolvedModeInput {
|
|
2055
|
+
readonly mode: 'machine' | 'human';
|
|
2056
|
+
readonly signal: 'flag' | 'env' | 'tty' | 'agent' | 'tool';
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2057
2059
|
export declare function resolveExitCode(pending: Iterable<ExitClass>, signal: number | null): number;
|
|
2058
2060
|
|
|
2059
2061
|
declare interface ReturnStatement$1 extends Span$1 {
|
|
@@ -2081,10 +2083,35 @@ export declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof Phase
|
|
|
2081
2083
|
|
|
2082
2084
|
export declare type RunEvent = typeof RunEvent.Type;
|
|
2083
2085
|
|
|
2086
|
+
export declare class RunEventDrain extends RunEventDrain_base {}
|
|
2087
|
+
|
|
2088
|
+
declare const RunEventDrain_base: Context.ServiceClass<RunEventDrain, "@systemfsoftware/stryker-js/run-event-stream/RunEventDrain", RunEventDrainShape>;
|
|
2089
|
+
|
|
2090
|
+
export declare const RunEventDrainLive: Layer.Layer<RunEventDrain, never, Stdio.Stdio>;
|
|
2091
|
+
|
|
2092
|
+
declare interface RunEventDrainShape {
|
|
2093
|
+
readonly drainFramed: FramedDrain;
|
|
2094
|
+
readonly setProgressStreamFile: (fileName: string) => Effect.Effect<void, never, never>;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2084
2097
|
export declare class RunEvents extends RunEvents_base {}
|
|
2085
2098
|
|
|
2086
2099
|
declare const RunEvents_base: Context.ServiceClass<RunEvents, "@systemfsoftware/stryker-js/RunEvents", Queue.Queue<Heartbeat | HelpRendered | PhaseEntered | PlanKnown | RunFailed | RunMutantTested | RunStarted | VerdictReached, Cause.Done<void>>>;
|
|
2087
2100
|
|
|
2101
|
+
export declare interface RunEventStream {
|
|
2102
|
+
readonly queue: Queue.Queue<RunEvent, Cause.Done>;
|
|
2103
|
+
readonly runId: string;
|
|
2104
|
+
readonly startedAt: number;
|
|
2105
|
+
readonly isOpen: Effect.Effect<boolean, never, never>;
|
|
2106
|
+
readonly ensureOpen: (openResolved: ResolvedModeInput) => Effect.Effect<void, never, never>;
|
|
2107
|
+
readonly open: Effect.Effect<void, never, never>;
|
|
2108
|
+
readonly closeAndDrain: Effect.Effect<void, never, never>;
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
export declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof RunMutantTested, typeof Heartbeat, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]>>, S.String, never, never>;
|
|
2112
|
+
|
|
2113
|
+
export declare type RunEventWireLine = typeof RunEventWireLine.Type;
|
|
2114
|
+
|
|
2088
2115
|
export declare class RunFailed extends RunFailed_base {}
|
|
2089
2116
|
|
|
2090
2117
|
declare const RunFailed_base: S.Class<RunFailed, S.TaggedStruct<"error", {
|
|
@@ -2130,8 +2157,8 @@ declare const RunMutantTested_base: S.Class<RunMutantTested, S.TaggedStruct<"mut
|
|
|
2130
2157
|
}>;
|
|
2131
2158
|
readonly mutator: S.String;
|
|
2132
2159
|
readonly replacement: S.NullOr<S.String>;
|
|
2133
|
-
readonly completed: S.
|
|
2134
|
-
readonly total: S.
|
|
2160
|
+
readonly completed: S.Int;
|
|
2161
|
+
readonly total: S.Int;
|
|
2135
2162
|
}>, {}>;
|
|
2136
2163
|
|
|
2137
2164
|
export declare interface RunOptions {
|
|
@@ -2163,6 +2190,8 @@ declare const RunStarted_base: S.Class<RunStarted, S.TaggedStruct<"stream", {
|
|
|
2163
2190
|
|
|
2164
2191
|
export declare type RunTerminalEvent = VerdictReached | RunFailed | HelpRendered;
|
|
2165
2192
|
|
|
2193
|
+
export { S }
|
|
2194
|
+
|
|
2166
2195
|
export declare interface SandboxHandle {
|
|
2167
2196
|
readonly workingDirectory: string;
|
|
2168
2197
|
readonly sandboxFileFor: (fileName: string) => string;
|
|
@@ -3088,16 +3117,7 @@ declare interface VariableDeclarator$1 extends Span$1 {
|
|
|
3088
3117
|
|
|
3089
3118
|
export declare const VERDICT_ENVELOPE_SCHEMA_VERSION = "1.1";
|
|
3090
3119
|
|
|
3091
|
-
export declare
|
|
3092
|
-
readonly killed: number;
|
|
3093
|
-
readonly timeout: number;
|
|
3094
|
-
readonly survived: number;
|
|
3095
|
-
readonly noCoverage: number;
|
|
3096
|
-
readonly runtimeErrors: number;
|
|
3097
|
-
readonly compileErrors: number;
|
|
3098
|
-
readonly ignored: number;
|
|
3099
|
-
readonly pending: number;
|
|
3100
|
-
}
|
|
3120
|
+
export declare type VerdictCounts = Metrics;
|
|
3101
3121
|
|
|
3102
3122
|
export declare interface VerdictEnvelope {
|
|
3103
3123
|
readonly schemaVersion: string;
|
|
@@ -3106,7 +3126,7 @@ export declare interface VerdictEnvelope {
|
|
|
3106
3126
|
readonly signal: ModeSignal;
|
|
3107
3127
|
readonly score: number | null;
|
|
3108
3128
|
readonly thresholds: VerdictThresholds;
|
|
3109
|
-
readonly counts:
|
|
3129
|
+
readonly counts: Metrics;
|
|
3110
3130
|
readonly reportFile: string | null;
|
|
3111
3131
|
readonly mutants: readonly VerdictMutant[];
|
|
3112
3132
|
}
|
|
@@ -3136,16 +3156,7 @@ declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdi
|
|
|
3136
3156
|
readonly break: S.NullOr<S.Finite>;
|
|
3137
3157
|
}>;
|
|
3138
3158
|
readonly reportFile: S.NullOr<S.String>;
|
|
3139
|
-
readonly counts:
|
|
3140
|
-
readonly killed: S.Finite;
|
|
3141
|
-
readonly timeout: S.Finite;
|
|
3142
|
-
readonly survived: S.Finite;
|
|
3143
|
-
readonly noCoverage: S.Finite;
|
|
3144
|
-
readonly runtimeErrors: S.Finite;
|
|
3145
|
-
readonly compileErrors: S.Finite;
|
|
3146
|
-
readonly ignored: S.Finite;
|
|
3147
|
-
readonly pending: S.Finite;
|
|
3148
|
-
}>;
|
|
3159
|
+
readonly counts: typeof Metrics;
|
|
3149
3160
|
readonly mutants: S.$Array<S.Struct<{
|
|
3150
3161
|
readonly id: S.String;
|
|
3151
3162
|
readonly file: S.String;
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
|
|
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";
|
|
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 };
|