@systemfsoftware/stryker-js 12.1.1 → 13.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/CHANGELOG.md +77 -0
- package/dist/{Run.schema-D7N2ILY3.d.mts → Run.schema-BwLLAYqu.d.mts} +139 -61
- package/dist/Run.schema-Cv2_Kup0.mjs +272 -0
- package/dist/{RunEnvironment.service-6aDpmGcD.d.mts → RunEnvironment.service-rkMZ8nm1.d.mts} +130 -64
- package/dist/config.d.mts +3 -9
- package/dist/config.mjs +1 -1
- package/dist/{Run.schema-BaK_pxuK.mjs → dist-CQ7r4AaH.mjs} +1589 -1721
- package/dist/events.d.mts +2 -2
- package/dist/events.mjs +2 -2
- package/dist/{index-B8dqrKV1.d.mts → index-Ptvmn934.d.mts} +713 -376
- package/dist/index.d.mts +175 -192
- package/dist/index.mjs +6 -5
- package/dist/main.mjs +38131 -34435
- package/dist/{stryker-config.schema-DFWkz89S.d.mts → merge-config-BVdwN_LJ.d.mts} +9 -2
- package/dist/merge-config-DZHwEkGY.mjs +63 -0
- package/dist/promises.d.mts +3 -3
- package/dist/promises.mjs +4 -7
- package/dist/{run-stages.cell-CtFLJCm0.mjs → run-stages.cell-rdoY0cVH.mjs} +3479 -3343
- package/package.json +15 -16
- package/dist/merge-config-ByZJPeQZ.mjs +0 -32
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { c as mod_d_exports$2$2, d as Ignorer, f as Node_2, i as mod_d_exports$4$1, l as mod_d_exports$3$1, n as mod_d_exports$2$1, o as mod_d_exports$6$1, t as mod_d_exports$6, u as Framework } from "./index-
|
|
2
|
-
import { i as
|
|
3
|
-
import { A as
|
|
4
|
-
import { $ as
|
|
1
|
+
import { c as mod_d_exports$2$2, d as Ignorer, f as Node_2, i as mod_d_exports$4$1, l as mod_d_exports$3$1, n as mod_d_exports$2$1, o as mod_d_exports$6$1, t as mod_d_exports$6, u as Framework } from "./index-Ptvmn934.mjs";
|
|
2
|
+
import { a as ImmutablePrimitive, i as Immutable, n as mergeConfigs, o as Primitive } from "./merge-config-BVdwN_LJ.mjs";
|
|
3
|
+
import { A as VerdictCounts, C as RunMutantTested, D as RunTerminalEvent, E as RunStarted, M as VerdictReached, O as SkippedFileRow, a as OutputMode, b as RunEvent, c as FormatRegistryResolved, d as FrameworkModuleRow, f as Heartbeat, g as PlanKnown, h as PhaseEntered, i as ModeSignal, j as VerdictMutant, k as SkippedReported, l as FormatRegistryRow, n as StageError, o as ResolvedMode, p as HelpRendered, r as PluginLoadFailureReason, s as FormatClaimShadowingRow, u as FrameworkContributionRow, v as PluginsReported, w as RunPhase, x as RunFailed } from "./Run.schema-BwLLAYqu.mjs";
|
|
4
|
+
import { $ as ConfigFileNotFoundError, A as ReporterWorkerClient, B as ProjectFile, C as PluginSource, D as TestCoverage, E as SandboxHandle, F as WorkerLauncherShape, G as makeRunEventStream, H as RunEventDrain, I as WorkerSpawnParams, J as RunIdentity, K as ResolvedModeInput, L as SpawnedSocketWorker, M as reporterWorkerFactory, N as spawnReporterWorker, O as REPORTER_EVENT_BATCH_BOUND, P as WorkerLauncher, Q as ConfigFileInvalidError, R as make, S as PluginKind, T as WorkerPluginSource, U as RunEventDrainLive, V as IncrementalReportSchema, W as RunEventStream, X as StrykerError, Y as RunIdentityShape, Z as ConfigError, _ as EvaluatorPluginDescriptor, a as StageServices, at as WorkerBootTimeoutError, b as PluginDescriptor, c as IdGeneratorShape, d as InstrumentDone, et as ConfigFileUnreadableError, f as PrepareDone, g as AnyWorkerPluginSource, h as AnyWorkerPluginDescriptor, i as RunStageServices, it as WorkerBootError, j as SpawnReporterWorkerParams, k as ReporterStage, l as MutationTestDone, m as AnyPluginDescriptor, n as RunEnvironmentShape, nt as ChildProcessCrashedError, o as WiredRunLayer, ot as WorkerExit, p as PrepareExecutorArgs, q as RunEvents, r as EnginePorts, rt as OutOfMemoryError, s as IdGenerator, t as RunEnvironment, tt as ConfigFileUnsupportedError, u as DryRunDone, v as EvaluatorPluginSource, w as WorkerPluginDescriptor, x as PluginDescriptorOf, y as LoadedPlugins, z as Project } from "./RunEnvironment.service-rkMZ8nm1.mjs";
|
|
5
5
|
import { Blueprint, Cell, Handle, Sandwich, Workflow } from "@systemfsoftware/effect-cell-types";
|
|
6
6
|
import * as S from "effect/Schema";
|
|
7
7
|
import * as Effect from "effect/Effect";
|
|
8
8
|
import * as Rpc from "effect/unstable/rpc/Rpc";
|
|
9
9
|
import * as RpcGroup from "effect/unstable/rpc/RpcGroup";
|
|
10
10
|
import "effect/Cause";
|
|
11
|
-
import * as Path from "effect/Path";
|
|
12
11
|
import * as FileSystem from "effect/FileSystem";
|
|
13
|
-
import * as
|
|
12
|
+
import * as Path from "effect/Path";
|
|
14
13
|
import * as Layer from "effect/Layer";
|
|
15
14
|
import "effect/Queue";
|
|
16
15
|
import * as Scope from "effect/Scope";
|
|
17
16
|
import * as RpcClient from "effect/unstable/rpc/RpcClient";
|
|
18
|
-
import "effect/
|
|
17
|
+
import * as ChildProcessSpawner from "effect/unstable/process/ChildProcessSpawner";
|
|
19
18
|
import { RpcClientError } from "effect/unstable/rpc/RpcClientError";
|
|
20
19
|
import * as Socket from "effect/unstable/socket/Socket";
|
|
21
20
|
import { PlatformError } from "effect/PlatformError";
|
|
@@ -26,13 +25,17 @@ declare const CheckerAnsweredUnrequested_base: S.Class<CheckerAnsweredUnrequeste
|
|
|
26
25
|
readonly unrequestedIds: S.$Array<S.String>;
|
|
27
26
|
readonly requestedIds: S.$Array<S.String>;
|
|
28
27
|
}>, import("effect/Cause").YieldableError>;
|
|
29
|
-
declare class CheckerAnsweredUnrequested extends CheckerAnsweredUnrequested_base {
|
|
28
|
+
declare class CheckerAnsweredUnrequested extends CheckerAnsweredUnrequested_base {
|
|
29
|
+
get message(): string;
|
|
30
|
+
}
|
|
30
31
|
declare const CheckerSkippedRequested_base: S.Class<CheckerSkippedRequested, S.TaggedStruct<"CheckerSkippedRequested", {
|
|
31
32
|
readonly checkerName: S.String;
|
|
32
33
|
readonly phase: S.Literals<readonly ["check", "group"]>;
|
|
33
34
|
readonly missingIds: S.$Array<S.String>;
|
|
34
35
|
}>, import("effect/Cause").YieldableError>;
|
|
35
|
-
declare class CheckerSkippedRequested extends CheckerSkippedRequested_base {
|
|
36
|
+
declare class CheckerSkippedRequested extends CheckerSkippedRequested_base {
|
|
37
|
+
get message(): string;
|
|
38
|
+
}
|
|
36
39
|
type CheckerContractBroken = CheckerAnsweredUnrequested | CheckerSkippedRequested;
|
|
37
40
|
//#endregion
|
|
38
41
|
//#region src/Checker/Checker.handle.d.ts
|
|
@@ -92,38 +95,6 @@ declare const ExtendsStepStateSchema: S.Struct<{
|
|
|
92
95
|
}>;
|
|
93
96
|
type ExtendsStepState = typeof ExtendsStepStateSchema.Type;
|
|
94
97
|
type ExtendsRefusalReason = 'cycle' | 'non-string-extends';
|
|
95
|
-
declare const ExtendsStepDone_base: S.Class<ExtendsStepDone, S.TaggedStruct<"done", {
|
|
96
|
-
readonly options: S.$Record<S.String, S.Unknown>;
|
|
97
|
-
}>, {}>;
|
|
98
|
-
declare class ExtendsStepDone extends ExtendsStepDone_base {}
|
|
99
|
-
declare const ExtendsStepRead_base: S.Class<ExtendsStepRead, S.TaggedStruct<"read", {
|
|
100
|
-
readonly path: S.String;
|
|
101
|
-
readonly state: S.Struct<{
|
|
102
|
-
readonly visited: S.$Array<S.String>;
|
|
103
|
-
readonly documents: S.$Array<S.Struct<{
|
|
104
|
-
readonly path: S.String;
|
|
105
|
-
readonly options: S.$Record<S.String, S.Unknown>;
|
|
106
|
-
}>>;
|
|
107
|
-
}>;
|
|
108
|
-
}>, {}>;
|
|
109
|
-
declare class ExtendsStepRead extends ExtendsStepRead_base {}
|
|
110
|
-
declare const ExtendsStepResolve_base: S.Class<ExtendsStepResolve, S.TaggedStruct<"resolve", {
|
|
111
|
-
readonly specifier: S.String;
|
|
112
|
-
readonly state: S.Struct<{
|
|
113
|
-
readonly visited: S.$Array<S.String>;
|
|
114
|
-
readonly documents: S.$Array<S.Struct<{
|
|
115
|
-
readonly path: S.String;
|
|
116
|
-
readonly options: S.$Record<S.String, S.Unknown>;
|
|
117
|
-
}>>;
|
|
118
|
-
}>;
|
|
119
|
-
}>, {}>;
|
|
120
|
-
declare class ExtendsStepResolve extends ExtendsStepResolve_base {}
|
|
121
|
-
declare const ExtendsStepRefused_base: S.Class<ExtendsStepRefused, S.TaggedStruct<"refused", {
|
|
122
|
-
readonly reason: S.Literals<readonly ["cycle", "non-string-extends"]>;
|
|
123
|
-
readonly file: S.String;
|
|
124
|
-
}>, {}>;
|
|
125
|
-
declare class ExtendsStepRefused extends ExtendsStepRefused_base {}
|
|
126
|
-
type ExtendsStepDecision = ExtendsStepDone | ExtendsStepRead | ExtendsStepResolve | ExtendsStepRefused;
|
|
127
98
|
declare const survivorsPriorReport: S.optionalKey<S.String>;
|
|
128
99
|
declare const extendsPropertySchema: S.optionalKey<S.String>;
|
|
129
100
|
declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
@@ -135,7 +106,7 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
135
106
|
readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
|
|
136
107
|
}>>, never>;
|
|
137
108
|
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
138
|
-
readonly concurrency: S.optionalKey<S.Union<readonly [S.
|
|
109
|
+
readonly concurrency: S.optionalKey<S.Union<readonly [S.Int, S.String]>>;
|
|
139
110
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
140
111
|
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
141
112
|
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
@@ -144,7 +115,7 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
144
115
|
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
145
116
|
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
146
117
|
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
147
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.
|
|
118
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Int, never>;
|
|
148
119
|
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
149
120
|
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
150
121
|
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
@@ -160,8 +131,8 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
160
131
|
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
161
132
|
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
162
133
|
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
163
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.
|
|
164
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.
|
|
134
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Int, never>;
|
|
135
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Int, never>;
|
|
165
136
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
166
137
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
167
138
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
@@ -201,7 +172,7 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
201
172
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
202
173
|
}>, never, never>, never>;
|
|
203
174
|
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
204
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.
|
|
175
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Int, never>;
|
|
205
176
|
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
206
177
|
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
207
178
|
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
@@ -222,14 +193,77 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
222
193
|
declare const createDefaultOptions: Effect.Effect<mod_d_exports$2$1.StrykerOptions>;
|
|
223
194
|
declare const defaultOptions: Effect.Effect<Immutable<mod_d_exports$2$1.StrykerOptions>, never, never>;
|
|
224
195
|
//#endregion
|
|
196
|
+
//#region src/run/extends-step.workflow.d.ts
|
|
197
|
+
declare const ExtendsStepDecisionTypeId: unique symbol;
|
|
198
|
+
type ExtendsStepDecisionTypeId = typeof ExtendsStepDecisionTypeId;
|
|
199
|
+
declare const ExtendsStepDone_base: S.Class<ExtendsStepDone, S.TaggedStruct<"done", {
|
|
200
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
201
|
+
}>, {}>;
|
|
202
|
+
declare class ExtendsStepDone extends ExtendsStepDone_base {
|
|
203
|
+
readonly [ExtendsStepDecisionTypeId]: symbol;
|
|
204
|
+
}
|
|
205
|
+
declare const ExtendsStepRead_base: S.Class<ExtendsStepRead, S.TaggedStruct<"read", {
|
|
206
|
+
readonly specifier: S.String;
|
|
207
|
+
readonly state: S.Struct<{
|
|
208
|
+
readonly visited: S.$Array<S.String>;
|
|
209
|
+
readonly documents: S.$Array<S.Struct<{
|
|
210
|
+
readonly path: S.String;
|
|
211
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
212
|
+
}>>;
|
|
213
|
+
}>;
|
|
214
|
+
}>, {}>;
|
|
215
|
+
declare class ExtendsStepRead extends ExtendsStepRead_base {
|
|
216
|
+
readonly [ExtendsStepDecisionTypeId]: symbol;
|
|
217
|
+
}
|
|
218
|
+
declare const ExtendsStepResolve_base: S.Class<ExtendsStepResolve, S.TaggedStruct<"resolve", {
|
|
219
|
+
readonly specifier: S.String;
|
|
220
|
+
readonly state: S.Struct<{
|
|
221
|
+
readonly visited: S.$Array<S.String>;
|
|
222
|
+
readonly documents: S.$Array<S.Struct<{
|
|
223
|
+
readonly path: S.String;
|
|
224
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
225
|
+
}>>;
|
|
226
|
+
}>;
|
|
227
|
+
}>, {}>;
|
|
228
|
+
declare class ExtendsStepResolve extends ExtendsStepResolve_base {
|
|
229
|
+
readonly [ExtendsStepDecisionTypeId]: symbol;
|
|
230
|
+
}
|
|
231
|
+
declare const ExtendsStepRefused_base: S.Class<ExtendsStepRefused, S.TaggedStruct<"refused", {
|
|
232
|
+
readonly reason: S.Literals<readonly ["cycle", "non-string-extends"]>;
|
|
233
|
+
readonly file: S.String;
|
|
234
|
+
}>, {}>;
|
|
235
|
+
declare class ExtendsStepRefused extends ExtendsStepRefused_base {
|
|
236
|
+
readonly [ExtendsStepDecisionTypeId]: symbol;
|
|
237
|
+
}
|
|
238
|
+
type ExtendsStepDecision = ExtendsStepDone | ExtendsStepRead | ExtendsStepResolve | ExtendsStepRefused;
|
|
239
|
+
declare const ExtendsStepCommand_base: S.Class<ExtendsStepCommand, S.TaggedStruct<"ExtendsStepCommand", {
|
|
240
|
+
readonly state: S.Struct<{
|
|
241
|
+
readonly visited: S.$Array<S.String>;
|
|
242
|
+
readonly documents: S.$Array<S.Struct<{
|
|
243
|
+
readonly path: S.String;
|
|
244
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
245
|
+
}>>;
|
|
246
|
+
}>;
|
|
247
|
+
readonly document: S.$Record<S.String, S.Unknown>;
|
|
248
|
+
readonly file: S.String;
|
|
249
|
+
}>, {}>;
|
|
250
|
+
declare class ExtendsStepCommand extends ExtendsStepCommand_base {
|
|
251
|
+
static readonly [Workflow.InstrumentationBrand]: {};
|
|
252
|
+
}
|
|
253
|
+
declare const extendsStep: (command: ExtendsStepCommand) => ExtendsStepDecision;
|
|
254
|
+
//#endregion
|
|
255
|
+
//#region src/drivers/config.d.ts
|
|
256
|
+
declare function importModule<A = unknown>(moduleName: string): Effect.Effect<A, StrykerError>;
|
|
257
|
+
declare const initialExtendsStepState: ExtendsStepState;
|
|
258
|
+
declare const decideExtendsStep: typeof extendsStep;
|
|
259
|
+
type ConfigReadError = ConfigFileNotFoundError | ConfigFileUnreadableError | ConfigFileInvalidError | ConfigFileUnsupportedError;
|
|
260
|
+
//#endregion
|
|
225
261
|
//#region src/matching.schema.d.ts
|
|
226
262
|
declare const FileMatcher_base: S.Class<FileMatcher, S.Struct<{
|
|
227
263
|
readonly pattern: S.Union<readonly [S.Boolean, S.String]>;
|
|
228
264
|
readonly allowHiddenFiles: S.Boolean;
|
|
229
265
|
}>, {}>;
|
|
230
|
-
declare class FileMatcher extends FileMatcher_base {
|
|
231
|
-
matches(pathService: Path.Path, fileName: string): boolean;
|
|
232
|
-
}
|
|
266
|
+
declare class FileMatcher extends FileMatcher_base {}
|
|
233
267
|
//#endregion
|
|
234
268
|
//#region src/run/resolve-config.workflow.d.ts
|
|
235
269
|
declare const LoadConfigDecisionTypeId: unique symbol;
|
|
@@ -244,7 +278,7 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
|
|
|
244
278
|
readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
|
|
245
279
|
}>>, never>;
|
|
246
280
|
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
247
|
-
readonly concurrency: S.optionalKey<S.Union<readonly [S.
|
|
281
|
+
readonly concurrency: S.optionalKey<S.Union<readonly [S.Int, S.String]>>;
|
|
248
282
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
249
283
|
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
250
284
|
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
@@ -253,7 +287,7 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
|
|
|
253
287
|
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
254
288
|
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
255
289
|
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
256
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.
|
|
290
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Int, never>;
|
|
257
291
|
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
258
292
|
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
259
293
|
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
@@ -269,8 +303,8 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
|
|
|
269
303
|
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
270
304
|
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
271
305
|
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
272
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.
|
|
273
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.
|
|
306
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Int, never>;
|
|
307
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Int, never>;
|
|
274
308
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
275
309
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
276
310
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
@@ -310,7 +344,7 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
|
|
|
310
344
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
311
345
|
}>, never, never>, never>;
|
|
312
346
|
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
313
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.
|
|
347
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Int, never>;
|
|
314
348
|
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
315
349
|
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
316
350
|
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
@@ -339,7 +373,7 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
|
|
|
339
373
|
readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
|
|
340
374
|
}>>, never>;
|
|
341
375
|
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
342
|
-
readonly concurrency: S.optionalKey<S.Union<readonly [S.
|
|
376
|
+
readonly concurrency: S.optionalKey<S.Union<readonly [S.Int, S.String]>>;
|
|
343
377
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
344
378
|
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
345
379
|
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
@@ -348,7 +382,7 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
|
|
|
348
382
|
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
349
383
|
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
350
384
|
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
351
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.
|
|
385
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Int, never>;
|
|
352
386
|
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
353
387
|
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
354
388
|
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
@@ -364,8 +398,8 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
|
|
|
364
398
|
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
365
399
|
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
366
400
|
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
367
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.
|
|
368
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.
|
|
401
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Int, never>;
|
|
402
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Int, never>;
|
|
369
403
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
370
404
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
371
405
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
@@ -405,7 +439,7 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
|
|
|
405
439
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
406
440
|
}>, never, never>, never>;
|
|
407
441
|
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
408
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.
|
|
442
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Int, never>;
|
|
409
443
|
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
410
444
|
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
411
445
|
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
@@ -424,40 +458,28 @@ declare class ConfigFromDefaults extends ConfigFromDefaults_base {
|
|
|
424
458
|
readonly [LoadConfigDecisionTypeId]: symbol;
|
|
425
459
|
static readonly [Workflow.InstrumentationBrand]: {};
|
|
426
460
|
}
|
|
427
|
-
declare const LoadConfigCommand_base: S.Class<LoadConfigCommand, S.TaggedStruct<"LoadConfigCommand", {
|
|
428
|
-
readonly document: S.$Record<S.String, S.Unknown>;
|
|
429
|
-
readonly fileFound: S.Boolean;
|
|
430
|
-
}>, {}>;
|
|
431
|
-
declare class LoadConfigCommand extends LoadConfigCommand_base {
|
|
432
|
-
static readonly [Workflow.InstrumentationBrand]: {};
|
|
433
|
-
}
|
|
434
461
|
//#endregion
|
|
435
|
-
//#region src/run/
|
|
436
|
-
declare function describeErrors(error: S.SchemaError): readonly string[];
|
|
437
|
-
declare function importModule<A = unknown>(moduleName: string): Effect.Effect<A, StrykerError>;
|
|
438
|
-
declare const initialExtendsStepState: ExtendsStepState;
|
|
439
|
-
declare const mergeConfigs: ((child: mod_d_exports$2$1.PartialStrykerOptions) => (parent: mod_d_exports$2$1.PartialStrykerOptions) => mod_d_exports$2$1.PartialStrykerOptions) & ((parent: mod_d_exports$2$1.PartialStrykerOptions, child: mod_d_exports$2$1.PartialStrykerOptions) => mod_d_exports$2$1.PartialStrykerOptions);
|
|
440
|
-
declare const decideExtendsStep: ((document: mod_d_exports$2$1.PartialStrykerOptions, file: string, pathService: Path.Path) => (state: ExtendsStepState) => ExtendsStepDecision) & ((state: ExtendsStepState, document: mod_d_exports$2$1.PartialStrykerOptions, file: string, pathService: Path.Path) => ExtendsStepDecision);
|
|
462
|
+
//#region src/run/validate-options-admission.workflow.d.ts
|
|
441
463
|
type ValidationSchemaDocument<A = unknown> = {
|
|
442
464
|
readonly properties?: A;
|
|
443
465
|
readonly [key: string]: A;
|
|
444
466
|
};
|
|
445
|
-
|
|
446
|
-
|
|
467
|
+
//#endregion
|
|
468
|
+
//#region src/run/load-config.cell.d.ts
|
|
447
469
|
interface ConfigInvocation {
|
|
448
470
|
readonly command: 'run' | 'merge-reports';
|
|
449
|
-
readonly mode: OutputMode
|
|
471
|
+
readonly mode: OutputMode;
|
|
450
472
|
}
|
|
451
|
-
|
|
452
|
-
|
|
473
|
+
declare const forkCoreSchema: import("effect/JsonSchema").JsonSchema;
|
|
474
|
+
declare const describeErrors: (error: S.SchemaError) => readonly string[];
|
|
453
475
|
declare const readConfig: {
|
|
454
|
-
(invocation: ConfigInvocation): (cliOptions: mod_d_exports$2$1.PartialStrykerOptions) => Effect.Effect<mod_d_exports$2$1.StrykerOptions,
|
|
455
|
-
(cliOptions: mod_d_exports$2$1.PartialStrykerOptions, invocation: ConfigInvocation): Effect.Effect<mod_d_exports$2$1.StrykerOptions,
|
|
476
|
+
(invocation: ConfigInvocation): (cliOptions: mod_d_exports$2$1.PartialStrykerOptions) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigReadError, FileSystem.FileSystem | Path.Path>;
|
|
477
|
+
(cliOptions: mod_d_exports$2$1.PartialStrykerOptions, invocation: ConfigInvocation): Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigReadError, FileSystem.FileSystem | Path.Path>;
|
|
456
478
|
};
|
|
457
479
|
declare const loadConfigCell: Sandwich.WrittenFrom<{
|
|
458
480
|
readonly cliOptions: mod_d_exports$2$1.PartialStrykerOptions;
|
|
459
481
|
readonly targetMutatePatterns: readonly string[] | undefined;
|
|
460
|
-
},
|
|
482
|
+
}, ConfigReadError, FileSystem.FileSystem | Path.Path | RunEnvironment | RunEvents, S.Union<readonly [typeof ConfigFromFile, typeof ConfigFromDefaults]>, {
|
|
461
483
|
ConfigFromFile: ({ options }: {
|
|
462
484
|
readonly _tag: "ConfigFromFile";
|
|
463
485
|
readonly options: {
|
|
@@ -549,7 +571,12 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
|
|
|
549
571
|
readonly ignorers: readonly string[];
|
|
550
572
|
readonly testFiles: readonly string[];
|
|
551
573
|
};
|
|
552
|
-
}, raw:
|
|
574
|
+
}, raw: {
|
|
575
|
+
_tag: "LoadConfigCommand";
|
|
576
|
+
document: {
|
|
577
|
+
readonly [x: string]: unknown;
|
|
578
|
+
};
|
|
579
|
+
fileFound: boolean;
|
|
553
580
|
targetMutatePatterns: readonly string[] | undefined;
|
|
554
581
|
basePath: string;
|
|
555
582
|
}) => Effect.Effect<{
|
|
@@ -736,7 +763,12 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
|
|
|
736
763
|
readonly ignorers: readonly string[];
|
|
737
764
|
readonly testFiles: readonly string[];
|
|
738
765
|
};
|
|
739
|
-
}, raw:
|
|
766
|
+
}, raw: {
|
|
767
|
+
_tag: "LoadConfigCommand";
|
|
768
|
+
document: {
|
|
769
|
+
readonly [x: string]: unknown;
|
|
770
|
+
};
|
|
771
|
+
fileFound: boolean;
|
|
740
772
|
targetMutatePatterns: readonly string[] | undefined;
|
|
741
773
|
basePath: string;
|
|
742
774
|
}) => Effect.Effect<{
|
|
@@ -838,6 +870,7 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
|
|
|
838
870
|
}) => Effect.Effect<never, ConfigError, RunEnvironment | RunEvents>;
|
|
839
871
|
CommandRejected: ({ issue }: Sandwich.CommandRejected) => Effect.Effect<never, ConfigError, RunEnvironment | RunEvents>;
|
|
840
872
|
}>;
|
|
873
|
+
declare const validateOptions: (<A = unknown>(schema: ValidationSchemaDocument) => (options: Record<string, A>) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigError>) & (<A = unknown>(options: Record<string, A>, schema: ValidationSchemaDocument) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigError>);
|
|
841
874
|
declare namespace mod_d_exports$1 {
|
|
842
875
|
export { ConfigDocumentSchema, ConfigError, ConfigFileInvalidError, ConfigFileNotFoundError, ConfigFileUnreadableError, ConfigFileUnsupportedError, ConfigInvocation, ExtendsRefusalReason, ExtendsStepDecision, ExtendsStepDocument, ExtendsStepDocumentSchema, ExtendsStepDone, ExtendsStepRead, ExtendsStepRefused, ExtendsStepResolve, ExtendsStepState, ExtendsStepStateSchema, FileMatcher, Immutable, ImmutablePrimitive, ImportedModuleSchema, MergeCommand, MergeResult, Primitive, ReadConfigCommand, ValidationSchemaDocument, createDefaultOptions, decideExtendsStep, defaultOptions, describeErrors, extendsPropertySchema, forkCoreSchema, forkOptionsSchema, importModule, initialExtendsStepState, loadConfigCell, mergeConfigs, readConfig, survivorsPriorReport, validateOptions };
|
|
843
876
|
}
|
|
@@ -845,65 +878,6 @@ declare namespace mod_d_exports$1 {
|
|
|
845
878
|
//#region src/drivers/node.d.ts
|
|
846
879
|
declare const nodePlatformLayer: Layer.Layer<EnginePorts>;
|
|
847
880
|
//#endregion
|
|
848
|
-
//#region src/IncrementalReport.schema.d.ts
|
|
849
|
-
declare const IncrementalReportSchema: S.StructWithRest<S.Struct<{
|
|
850
|
-
readonly incrementalVersion: S.String;
|
|
851
|
-
readonly schemaVersion: S.String;
|
|
852
|
-
readonly thresholds: S.Struct<{
|
|
853
|
-
readonly high: S.Finite;
|
|
854
|
-
readonly low: S.Finite;
|
|
855
|
-
}>;
|
|
856
|
-
readonly files: S.$Record<S.String, S.Struct<{
|
|
857
|
-
readonly language: S.String;
|
|
858
|
-
readonly source: S.String;
|
|
859
|
-
readonly mutants: S.$Array<S.Struct<{
|
|
860
|
-
readonly id: S.String;
|
|
861
|
-
readonly mutatorName: S.String;
|
|
862
|
-
readonly replacement: S.String;
|
|
863
|
-
readonly location: S.Struct<{
|
|
864
|
-
readonly start: S.Struct<{
|
|
865
|
-
readonly line: S.Finite;
|
|
866
|
-
readonly column: S.Finite;
|
|
867
|
-
}>;
|
|
868
|
-
readonly end: S.Struct<{
|
|
869
|
-
readonly line: S.Finite;
|
|
870
|
-
readonly column: S.Finite;
|
|
871
|
-
}>;
|
|
872
|
-
}>;
|
|
873
|
-
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
|
|
874
|
-
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
875
|
-
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
876
|
-
readonly static: S.optional<S.Boolean>;
|
|
877
|
-
readonly statusReason: S.optional<S.String>;
|
|
878
|
-
readonly testsCompleted: S.optional<S.Finite>;
|
|
879
|
-
readonly description: S.optional<S.String>;
|
|
880
|
-
readonly duration: S.optional<S.Finite>;
|
|
881
|
-
}>>;
|
|
882
|
-
readonly formatIdentity: S.optional<S.Struct<{
|
|
883
|
-
readonly formatId: S.String;
|
|
884
|
-
readonly ownerModule: S.String;
|
|
885
|
-
readonly ownerVersion: S.String;
|
|
886
|
-
}>>;
|
|
887
|
-
}>>;
|
|
888
|
-
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
889
|
-
readonly source: S.optional<S.String>;
|
|
890
|
-
readonly tests: S.$Array<S.Struct<{
|
|
891
|
-
readonly id: S.String;
|
|
892
|
-
readonly name: S.String;
|
|
893
|
-
readonly location: S.optional<S.Struct<{
|
|
894
|
-
readonly start: S.Struct<{
|
|
895
|
-
readonly line: S.Finite;
|
|
896
|
-
readonly column: S.Finite;
|
|
897
|
-
}>;
|
|
898
|
-
readonly end: S.optional<S.Struct<{
|
|
899
|
-
readonly line: S.Finite;
|
|
900
|
-
readonly column: S.Finite;
|
|
901
|
-
}>>;
|
|
902
|
-
}>>;
|
|
903
|
-
}>>;
|
|
904
|
-
}>>>;
|
|
905
|
-
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
906
|
-
//#endregion
|
|
907
881
|
//#region src/run/host.service.d.ts
|
|
908
882
|
type StrykerRun = (options: mod_d_exports$2$1.PartialStrykerOptions, targetMutatePatterns?: string[]) => Effect.Effect<MutationTestDone, StageError, never>;
|
|
909
883
|
//#endregion
|
|
@@ -917,6 +891,9 @@ declare namespace mod_d_exports$2 {
|
|
|
917
891
|
export { DryRunDone, EnginePorts, IdGenerator, IdGeneratorShape, IncrementalReportSchema, InstrumentDone, MutationTestDone, PrepareDone, PrepareExecutorArgs, Project, ProjectFile, RunEnvironment, RunEnvironmentShape, RunStageServices, SandboxHandle, StageError, StageServices, StrykerError, StrykerRun, TestCoverage, WiredRunLayer, mutationTestCell, nodePlatformLayer, strykerCell };
|
|
918
892
|
}
|
|
919
893
|
//#endregion
|
|
894
|
+
//#region src/TestRunner.schema.d.ts
|
|
895
|
+
type PooledTestRunnerError = mod_d_exports$6$1.TestRunnerFailed | ChildProcessCrashedError | OutOfMemoryError;
|
|
896
|
+
//#endregion
|
|
920
897
|
//#region src/pooled-test-runner.handle.d.ts
|
|
921
898
|
declare const TypeId: unique symbol;
|
|
922
899
|
type TypeId = typeof TypeId;
|
|
@@ -964,84 +941,90 @@ declare namespace mod_d_exports$3 {
|
|
|
964
941
|
}
|
|
965
942
|
//#endregion
|
|
966
943
|
//#region src/reporting/metrics-from-report.schema.d.ts
|
|
967
|
-
type Files = Readonly<Record<string, mod_d_exports$4$1.FileResult>>;
|
|
968
944
|
declare const MetricsResultFromReport_base: S.Class<MetricsResultFromReport, S.Struct<{
|
|
969
945
|
readonly name: S.String;
|
|
970
946
|
readonly metrics: typeof mod_d_exports$4$1.Metrics;
|
|
971
947
|
readonly childResults: S.$Array<S.suspend<S.Codec<mod_d_exports$4$1.MetricsResult, mod_d_exports$4$1.MetricsResultEncoded, never, never>>>;
|
|
972
948
|
}>, mod_d_exports$4$1.MetricsResultEncoded>;
|
|
973
|
-
declare class MetricsResultFromReport extends MetricsResultFromReport_base {
|
|
974
|
-
|
|
975
|
-
|
|
949
|
+
declare class MetricsResultFromReport extends MetricsResultFromReport_base {}
|
|
950
|
+
//#endregion
|
|
951
|
+
//#region src/reporting/metrics-from-report.d.ts
|
|
952
|
+
type Files = Readonly<Record<string, mod_d_exports$4$1.FileResult>>;
|
|
953
|
+
declare const metricsResultFromFiles: (files: Files) => MetricsResultFromReport;
|
|
976
954
|
//#endregion
|
|
977
955
|
//#region src/reporting/verdict-envelope.schema.d.ts
|
|
978
|
-
declare const VerdictMutant: S.Struct<{
|
|
979
|
-
readonly id: S.String;
|
|
980
|
-
readonly file: S.String;
|
|
981
|
-
readonly location: S.Struct<{
|
|
982
|
-
readonly start: S.Struct<{
|
|
983
|
-
readonly line: S.Int;
|
|
984
|
-
readonly column: S.Int;
|
|
985
|
-
}>;
|
|
986
|
-
readonly end: S.Struct<{
|
|
987
|
-
readonly line: S.Int;
|
|
988
|
-
readonly column: S.Int;
|
|
989
|
-
}>;
|
|
990
|
-
}>;
|
|
991
|
-
readonly mutator: S.String;
|
|
992
|
-
readonly replacement: S.NullOr<S.String>;
|
|
993
|
-
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
994
|
-
}>;
|
|
995
|
-
type VerdictMutant = typeof VerdictMutant.Type;
|
|
996
|
-
declare const VerdictThresholds: S.Struct<{
|
|
997
|
-
readonly high: S.Finite;
|
|
998
|
-
readonly low: S.Finite;
|
|
999
|
-
readonly break: S.NullOr<S.Finite>;
|
|
1000
|
-
}>;
|
|
1001
|
-
type VerdictThresholds = typeof VerdictThresholds.Type;
|
|
1002
|
-
type VerdictCounts = typeof mod_d_exports$4$1.MetricsSchema.Type;
|
|
1003
956
|
declare const VerdictEnvelope_base: S.Class<VerdictEnvelope, S.Struct<{
|
|
1004
|
-
readonly schemaVersion: S.
|
|
1005
|
-
readonly runId: S.String
|
|
957
|
+
readonly schemaVersion: S.Literal<"1.1">;
|
|
958
|
+
readonly runId: S.brand<S.String, "RunId">;
|
|
1006
959
|
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
1007
960
|
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
1008
961
|
readonly score: S.NullOr<S.Finite>;
|
|
1009
|
-
readonly thresholds: S.
|
|
1010
|
-
readonly high:
|
|
1011
|
-
readonly low:
|
|
1012
|
-
readonly break:
|
|
962
|
+
readonly thresholds: S.declare<{
|
|
963
|
+
readonly high: number;
|
|
964
|
+
readonly low: number;
|
|
965
|
+
readonly break: number | null;
|
|
966
|
+
}, {
|
|
967
|
+
readonly high: number;
|
|
968
|
+
readonly low: number;
|
|
969
|
+
readonly break: number | null;
|
|
1013
970
|
}>;
|
|
1014
971
|
readonly counts: typeof mod_d_exports$4$1.Metrics;
|
|
1015
|
-
readonly reportFile: S.NullOr<S.String
|
|
972
|
+
readonly reportFile: S.NullOr<S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>>;
|
|
1016
973
|
readonly mutants: S.$Array<S.Struct<{
|
|
1017
|
-
readonly id: S.String
|
|
974
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
1018
975
|
readonly file: S.String;
|
|
1019
|
-
readonly location: S.
|
|
1020
|
-
readonly start:
|
|
1021
|
-
readonly line:
|
|
1022
|
-
readonly column:
|
|
1023
|
-
}
|
|
1024
|
-
readonly end:
|
|
1025
|
-
readonly line:
|
|
1026
|
-
readonly column:
|
|
1027
|
-
}
|
|
976
|
+
readonly location: S.declare<{
|
|
977
|
+
readonly start: {
|
|
978
|
+
readonly line: number;
|
|
979
|
+
readonly column: number;
|
|
980
|
+
};
|
|
981
|
+
readonly end: {
|
|
982
|
+
readonly line: number;
|
|
983
|
+
readonly column: number;
|
|
984
|
+
};
|
|
985
|
+
}, {
|
|
986
|
+
readonly start: {
|
|
987
|
+
readonly line: number;
|
|
988
|
+
readonly column: number;
|
|
989
|
+
};
|
|
990
|
+
readonly end: {
|
|
991
|
+
readonly line: number;
|
|
992
|
+
readonly column: number;
|
|
993
|
+
};
|
|
1028
994
|
}>;
|
|
1029
995
|
readonly mutator: S.String;
|
|
1030
996
|
readonly replacement: S.NullOr<S.String>;
|
|
1031
997
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
1032
998
|
}>>;
|
|
1033
999
|
}>, {}>;
|
|
1034
|
-
declare class VerdictEnvelope extends VerdictEnvelope_base {
|
|
1035
|
-
static readonly build: ((mode: OutputMode, signal: ModeSignal, runId: string, basePath: string, pathService: Path.Path) => (report: mod_d_exports$4$1.MutationTestResult) => VerdictEnvelope) & ((report: mod_d_exports$4$1.MutationTestResult, mode: OutputMode, signal: ModeSignal, runId: string, basePath: string, pathService: Path.Path) => VerdictEnvelope);
|
|
1036
|
-
}
|
|
1000
|
+
declare class VerdictEnvelope extends VerdictEnvelope_base {}
|
|
1037
1001
|
//#endregion
|
|
1038
1002
|
//#region src/run-event-wire.schema.d.ts
|
|
1039
|
-
declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown,
|
|
1003
|
+
declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, S.Codec<RunMutantTested, {
|
|
1004
|
+
readonly _tag: "mutant";
|
|
1005
|
+
readonly id: string;
|
|
1006
|
+
readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
|
|
1007
|
+
readonly file: string;
|
|
1008
|
+
readonly location: {
|
|
1009
|
+
readonly start: {
|
|
1010
|
+
readonly line: number;
|
|
1011
|
+
readonly column: number;
|
|
1012
|
+
};
|
|
1013
|
+
readonly end: {
|
|
1014
|
+
readonly line: number;
|
|
1015
|
+
readonly column: number;
|
|
1016
|
+
};
|
|
1017
|
+
};
|
|
1018
|
+
readonly mutator: string;
|
|
1019
|
+
readonly replacement: string | null;
|
|
1020
|
+
readonly completed: number;
|
|
1021
|
+
readonly total: number;
|
|
1022
|
+
}, never, never>, typeof Heartbeat, typeof PluginsReported, typeof FormatRegistryResolved, typeof SkippedReported, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]> & {
|
|
1040
1023
|
QUEUE_BOUND: number;
|
|
1041
1024
|
}>, S.String, never, never>;
|
|
1042
1025
|
type RunEventWireLine = typeof RunEventWireLine.Type;
|
|
1043
1026
|
declare namespace mod_d_exports$4 {
|
|
1044
|
-
export { FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, MetricsResultFromReport, ModeSignal
|
|
1027
|
+
export { FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, MetricsResultFromReport, ModeSignal, OutputMode, PhaseEntered, PlanKnown, PluginLoadFailureReason, PluginsReported, ResolvedMode, ResolvedModeInput, RunEvent, RunEventDrain, RunEventDrainLive, RunEventStream, RunEventWireLine, RunEvents, RunFailed, RunIdentity, RunIdentityShape, RunMutantTested, RunPhase, RunStarted, RunTerminalEvent, SkippedFileRow, SkippedReported, VerdictCounts, VerdictEnvelope, VerdictMutant, VerdictReached, makeRunEventStream, metricsResultFromFiles };
|
|
1045
1028
|
}
|
|
1046
1029
|
//#endregion
|
|
1047
1030
|
//#region src/classify-worker-exit.workflow.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { D as
|
|
3
|
-
import {
|
|
2
|
+
import { $ as ConfigDocumentSchema, A as metricsResultFromFiles, B as initialExtendsStepState, C as readConfig, D as RunEvents, E as IdGenerator, F as WorkerLauncher, G as ExtendsStepResolve, H as ExtendsStepDone, I as make, J as ConfigFileNotFoundError, K as ConfigError, L as FileMatcher, M as reporterWorkerFactory, N as spawnReporterWorker, O as RunIdentity, P as makeWorkerClient, Q as defaultOptions, R as decideExtendsStep, S as loadConfigCell, T as RunEnvironment, U as ExtendsStepRead, V as StrykerError, W as ExtendsStepRefused, X as ConfigFileUnsupportedError, Y as ConfigFileUnreadableError, Z as createDefaultOptions, _ as ClassifyWorkerExitCommand, a as isVmRunner, at as ReadConfigCommand, b as describeErrors, c as vmTestRunnerConfig, ct as survivorsPriorReport, d as RunEventDrainLive, dt as OutOfMemoryError, et as ExtendsStepDocumentSchema, f as makeRunEventStream, ft as WorkerBootTimeoutError, g as layerWorkerProtocol, h as nodePlatformLayer, i as makeChildProcessTestRunner, it as MergeResult, j as MetricsResultFromReport, k as VerdictEnvelope, l as isCommandRunner, lt as checkGroupedPlans, m as IncrementalReportSchema, mt as CheckerSkippedRequested, n as strykerCell, nt as ImportedModuleSchema, o as testRunnerConfigOf, ot as extendsPropertySchema, p as RunEventWireLine, pt as CheckerAnsweredUnrequested, q as ConfigFileInvalidError, r as buildTestRunner, rt as MergeCommand, s as vmRunnerPluginUrl, st as forkOptionsSchema, t as mutationTestCell, tt as ExtendsStepStateSchema, u as RunEventDrain, ut as ChildProcessCrashedError, v as ClassifyWorkerExitDecision, w as validateOptions, x as forkCoreSchema, y as classifyWorkerExit, z as importModule } from "./run-stages.cell-rdoY0cVH.mjs";
|
|
3
|
+
import { n as mergeConfigs } from "./merge-config-DZHwEkGY.mjs";
|
|
4
|
+
import { C as SkippedFileRow, E as VerdictReached, S as RunStarted, T as VerdictMutant, _ as RunFailed, a as FormatRegistryRow, b as RunPhase, c as Heartbeat, d as PhaseEntered, f as PlanKnown, g as RunEvent, i as FormatRegistryResolved, k as PluginLoadFailureReason, l as HelpRendered, m as PluginsReported, n as StageError, o as FrameworkContributionRow, r as FormatClaimShadowingRow, s as FrameworkModuleRow, w as SkippedReported, y as RunMutantTested } from "./Run.schema-Cv2_Kup0.mjs";
|
|
4
5
|
//#region src/Checker/mod.ts
|
|
5
6
|
var Checker_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
CheckerAnsweredUnrequested: () => CheckerAnsweredUnrequested,
|
|
@@ -81,7 +82,7 @@ var RunEvent_exports = /* @__PURE__ */ __exportAll({
|
|
|
81
82
|
MetricsResultFromReport: () => MetricsResultFromReport,
|
|
82
83
|
PhaseEntered: () => PhaseEntered,
|
|
83
84
|
PlanKnown: () => PlanKnown,
|
|
84
|
-
|
|
85
|
+
PluginLoadFailureReason: () => PluginLoadFailureReason,
|
|
85
86
|
PluginsReported: () => PluginsReported,
|
|
86
87
|
RunEvent: () => RunEvent,
|
|
87
88
|
RunEventDrain: () => RunEventDrain,
|
|
@@ -98,8 +99,8 @@ var RunEvent_exports = /* @__PURE__ */ __exportAll({
|
|
|
98
99
|
VerdictEnvelope: () => VerdictEnvelope,
|
|
99
100
|
VerdictMutant: () => VerdictMutant,
|
|
100
101
|
VerdictReached: () => VerdictReached,
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
makeRunEventStream: () => makeRunEventStream,
|
|
103
|
+
metricsResultFromFiles: () => metricsResultFromFiles
|
|
103
104
|
});
|
|
104
105
|
//#endregion
|
|
105
106
|
//#region src/Worker/mod.ts
|