@systemfsoftware/stryker-js 4.0.0 → 6.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 +129 -0
- package/LICENSE +3 -15
- package/README.md +172 -13
- package/dist/Plugins-DF95m9KO.d.mts +1400 -0
- package/dist/builtin-reporters-BqePgAN0.mjs +671 -0
- package/dist/builtin-reporters.d.mts +312 -0
- package/dist/builtin-reporters.mjs +3 -0
- package/dist/compiler-Bq9Nelu8.mjs +48406 -0
- package/dist/compiler-C8aLIb5U.mjs +48406 -0
- package/dist/config.d.mts +12 -0
- package/dist/config.mjs +7 -0
- package/dist/dist-B3nT7z4G.mjs +5155 -0
- package/dist/dist-CWbipfGB.mjs +711 -0
- package/dist/execAsync-CfPZgJSD.mjs +10 -0
- package/dist/execAsync-DdCu5QLN.mjs +10 -0
- package/dist/getMachineId-bsd-C6bLIaiv.mjs +27 -0
- package/dist/getMachineId-bsd-CXSiHDga.mjs +27 -0
- package/dist/getMachineId-darwin-D3cIKeqx.mjs +24 -0
- package/dist/getMachineId-darwin-DPZ0kdKD.mjs +24 -0
- package/dist/getMachineId-linux-CQwLSlZk.mjs +20 -0
- package/dist/getMachineId-linux-Ci8OVJU0.mjs +20 -0
- package/dist/getMachineId-unsupported-PX0hnW6X.mjs +15 -0
- package/dist/getMachineId-unsupported-_ExL3Avl.mjs +15 -0
- package/dist/getMachineId-win-BCsS9pC_.mjs +26 -0
- package/dist/getMachineId-win-D9Tb0p7w.mjs +26 -0
- package/dist/index-BInJWa0x.d.mts +1148 -0
- package/dist/index.d.mts +2570 -938
- package/dist/index.mjs +4 -1034
- package/dist/main.mjs +102939 -0
- package/dist/merge-config-BrrNQWje.mjs +16 -0
- package/dist/mutation-test.cell-Cw1ZzDnb.d.mts +561 -0
- package/dist/output-mode-CfGHDpi5.d.mts +17 -0
- package/dist/parser.wasm32-wasi.wasm +0 -0
- package/dist/plugin-loader.d.mts +1673 -0
- package/dist/plugin-loader.mjs +3 -0
- package/dist/plugin-worker-entry-D00fedxV.mjs +1585 -0
- package/dist/promises.d.mts +5 -0
- package/dist/promises.mjs +14 -0
- package/dist/rolldown-runtime-Dr7-SnC6.mjs +45 -0
- package/dist/rolldown-runtime-XITHOX9H.mjs +15 -0
- package/dist/src-fju4cI5I.mjs +12466 -0
- package/dist/src-js-DRK8boNV.mjs +1009 -0
- package/dist/stryker-config-DIGmQrm1.d.mts +14 -0
- package/dist/wasm-Dr7kZatW.mjs +13017 -0
- package/package.json +101 -39
package/dist/index.d.mts
CHANGED
|
@@ -1,18 +1,179 @@
|
|
|
1
1
|
import * as Cause from 'effect/Cause';
|
|
2
|
+
import { Cell } from '@systemfsoftware/effect-cell-types';
|
|
3
|
+
import * as ChildProcessSpawner from 'effect/unstable/process/ChildProcessSpawner';
|
|
2
4
|
import * as Context from 'effect/Context';
|
|
5
|
+
import * as DateTime from 'effect/DateTime';
|
|
6
|
+
import * as Duration from 'effect/Duration';
|
|
7
|
+
import { Duration as Duration_2 } from 'effect/Duration';
|
|
3
8
|
import * as Effect from 'effect/Effect';
|
|
4
9
|
import * as Exit from 'effect/Exit';
|
|
5
10
|
import * as FileSystem from 'effect/FileSystem';
|
|
6
11
|
import * as HashMap from 'effect/HashMap';
|
|
7
12
|
import * as Layer from 'effect/Layer';
|
|
13
|
+
import * as MutableHashMap from 'effect/MutableHashMap';
|
|
14
|
+
import * as MutableHashSet from 'effect/MutableHashSet';
|
|
8
15
|
import * as Option from 'effect/Option';
|
|
9
16
|
import * as Path from 'effect/Path';
|
|
17
|
+
import { PlatformError } from 'effect/PlatformError';
|
|
10
18
|
import * as Queue from 'effect/Queue';
|
|
19
|
+
import * as Rpc from 'effect/unstable/rpc/Rpc';
|
|
20
|
+
import * as RpcClient from 'effect/unstable/rpc/RpcClient';
|
|
21
|
+
import { RpcClientError } from 'effect/unstable/rpc/RpcClientError';
|
|
22
|
+
import * as RpcGroup from 'effect/unstable/rpc/RpcGroup';
|
|
23
|
+
import * as RpcMiddleware from 'effect/unstable/rpc/RpcMiddleware';
|
|
11
24
|
import * as S from 'effect/Schema';
|
|
12
|
-
import
|
|
25
|
+
import * as Schedule from 'effect/Schedule';
|
|
26
|
+
import { Schema } from 'effect';
|
|
27
|
+
import * as Scope from 'effect/Scope';
|
|
28
|
+
import * as Socket from 'effect/unstable/socket/Socket';
|
|
29
|
+
import * as Stdio from 'effect/Stdio';
|
|
13
30
|
import { YieldableError } from 'effect/Cause';
|
|
14
31
|
|
|
15
|
-
|
|
32
|
+
declare interface AccessorProperty$1 extends Span$1 {
|
|
33
|
+
type: AccessorPropertyType;
|
|
34
|
+
decorators: Array<Decorator$1>;
|
|
35
|
+
key: PropertyKey_2;
|
|
36
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
37
|
+
value: Expression$1 | null;
|
|
38
|
+
computed: boolean;
|
|
39
|
+
static: boolean;
|
|
40
|
+
override?: boolean;
|
|
41
|
+
definite?: boolean;
|
|
42
|
+
accessibility?: TSAccessibility | null;
|
|
43
|
+
declare?: false;
|
|
44
|
+
optional?: false;
|
|
45
|
+
readonly?: false;
|
|
46
|
+
parent?: Node$1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare type AccessorPropertyType = "AccessorProperty" | "TSAbstractAccessorProperty";
|
|
50
|
+
|
|
51
|
+
export declare const ACTIONABLE_STATUSES: readonly ['Survived', 'NoCoverage', 'Timeout', 'RuntimeError'];
|
|
52
|
+
|
|
53
|
+
export declare type AnyPluginDescriptor = AnyWorkerPluginDescriptor | EvaluatorPluginDescriptor;
|
|
54
|
+
|
|
55
|
+
export declare type AnyWorkerPluginDescriptor = { [K in WorkerPluginKind]: WorkerPluginDescriptor<K>; }[WorkerPluginKind];
|
|
56
|
+
|
|
57
|
+
export declare type AnyWorkerPluginSource = { [K in WorkerPluginKind]: WorkerPluginSource<K>; }[WorkerPluginKind];
|
|
58
|
+
|
|
59
|
+
declare type Argument$1 = SpreadElement$1 | Expression$1;
|
|
60
|
+
|
|
61
|
+
declare interface ArrayAssignmentTarget extends Span$1 {
|
|
62
|
+
type: "ArrayPattern";
|
|
63
|
+
decorators?: [];
|
|
64
|
+
elements: Array<AssignmentTargetMaybeDefault | AssignmentTargetRest | null>;
|
|
65
|
+
optional?: false;
|
|
66
|
+
typeAnnotation?: null;
|
|
67
|
+
parent?: Node$1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare interface ArrayExpression$1 extends Span$1 {
|
|
71
|
+
type: "ArrayExpression";
|
|
72
|
+
elements: Array<ArrayExpressionElement>;
|
|
73
|
+
parent?: Node$1;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
declare type ArrayExpressionElement = SpreadElement$1 | null | Expression$1;
|
|
77
|
+
|
|
78
|
+
declare interface ArrayPattern$1 extends Span$1 {
|
|
79
|
+
type: "ArrayPattern";
|
|
80
|
+
decorators?: [];
|
|
81
|
+
elements: Array<BindingPattern$1 | BindingRestElement$1 | null>;
|
|
82
|
+
optional?: false;
|
|
83
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
84
|
+
parent?: Node$1;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
declare interface ArrowFunctionExpression$1 extends Span$1 {
|
|
88
|
+
type: "ArrowFunctionExpression";
|
|
89
|
+
expression: boolean;
|
|
90
|
+
async: boolean;
|
|
91
|
+
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
92
|
+
params: ParamPattern$1[];
|
|
93
|
+
returnType?: TSTypeAnnotation$1 | null;
|
|
94
|
+
body: FunctionBody | Expression$1;
|
|
95
|
+
id: null;
|
|
96
|
+
generator: false;
|
|
97
|
+
parent?: Node$1;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare interface AssignmentExpression$1 extends Span$1 {
|
|
101
|
+
type: "AssignmentExpression";
|
|
102
|
+
operator: AssignmentOperator;
|
|
103
|
+
left: AssignmentTarget;
|
|
104
|
+
right: Expression$1;
|
|
105
|
+
parent?: Node$1;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
declare type AssignmentOperator = "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "**=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "||=" | "&&=" | "??=";
|
|
109
|
+
|
|
110
|
+
declare interface AssignmentPattern$1 extends Span$1 {
|
|
111
|
+
type: "AssignmentPattern";
|
|
112
|
+
decorators?: [];
|
|
113
|
+
left: BindingPattern$1;
|
|
114
|
+
right: Expression$1;
|
|
115
|
+
optional?: false;
|
|
116
|
+
typeAnnotation?: null;
|
|
117
|
+
parent?: Node$1;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare type AssignmentTarget = SimpleAssignmentTarget$1 | AssignmentTargetPattern;
|
|
121
|
+
|
|
122
|
+
declare type AssignmentTargetMaybeDefault = AssignmentTargetWithDefault | AssignmentTarget;
|
|
123
|
+
|
|
124
|
+
declare type AssignmentTargetPattern = ArrayAssignmentTarget | ObjectAssignmentTarget;
|
|
125
|
+
|
|
126
|
+
declare type AssignmentTargetProperty = AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty;
|
|
127
|
+
|
|
128
|
+
declare interface AssignmentTargetPropertyIdentifier extends Span$1 {
|
|
129
|
+
type: "Property";
|
|
130
|
+
kind: "init";
|
|
131
|
+
key: IdentifierReference$1;
|
|
132
|
+
value: IdentifierReference$1 | AssignmentTargetWithDefault;
|
|
133
|
+
method: false;
|
|
134
|
+
shorthand: true;
|
|
135
|
+
computed: false;
|
|
136
|
+
optional?: false;
|
|
137
|
+
parent?: Node$1;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
declare interface AssignmentTargetPropertyProperty extends Span$1 {
|
|
141
|
+
type: "Property";
|
|
142
|
+
kind: "init";
|
|
143
|
+
key: PropertyKey_2;
|
|
144
|
+
value: AssignmentTargetMaybeDefault;
|
|
145
|
+
method: false;
|
|
146
|
+
shorthand: false;
|
|
147
|
+
computed: boolean;
|
|
148
|
+
optional?: false;
|
|
149
|
+
parent?: Node$1;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
declare interface AssignmentTargetRest extends Span$1 {
|
|
153
|
+
type: "RestElement";
|
|
154
|
+
decorators?: [];
|
|
155
|
+
argument: AssignmentTarget;
|
|
156
|
+
optional?: false;
|
|
157
|
+
typeAnnotation?: null;
|
|
158
|
+
value?: null;
|
|
159
|
+
parent?: Node$1;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
declare interface AssignmentTargetWithDefault extends Span$1 {
|
|
163
|
+
type: "AssignmentPattern";
|
|
164
|
+
decorators?: [];
|
|
165
|
+
left: AssignmentTarget;
|
|
166
|
+
right: Expression$1;
|
|
167
|
+
optional?: false;
|
|
168
|
+
typeAnnotation?: null;
|
|
169
|
+
parent?: Node$1;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
declare interface AwaitExpression extends Span$1 {
|
|
173
|
+
type: "AwaitExpression";
|
|
174
|
+
argument: Expression$1;
|
|
175
|
+
parent?: Node$1;
|
|
176
|
+
}
|
|
16
177
|
|
|
17
178
|
export declare interface BaseTestResult {
|
|
18
179
|
readonly id: string;
|
|
@@ -22,71 +183,204 @@ export declare interface BaseTestResult {
|
|
|
22
183
|
readonly startPosition?: Position;
|
|
23
184
|
}
|
|
24
185
|
|
|
25
|
-
|
|
186
|
+
declare interface BigIntLiteral$1 extends Span$1 {
|
|
187
|
+
type: "Literal";
|
|
188
|
+
value: bigint;
|
|
189
|
+
raw: string | null;
|
|
190
|
+
bigint: string;
|
|
191
|
+
parent?: Node$1;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
declare interface BinaryExpression$1 extends Span$1 {
|
|
195
|
+
type: "BinaryExpression";
|
|
196
|
+
left: Expression$1;
|
|
197
|
+
operator: BinaryOperator;
|
|
198
|
+
right: Expression$1;
|
|
199
|
+
parent?: Node$1;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
declare type BinaryOperator = "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "+" | "-" | "*" | "/" | "%" | "**" | "<<" | ">>" | ">>>" | "|" | "^" | "&" | "in" | "instanceof";
|
|
26
203
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
204
|
+
declare interface BindingIdentifier$1 extends Span$1 {
|
|
205
|
+
type: "Identifier";
|
|
206
|
+
decorators?: [];
|
|
207
|
+
name: string;
|
|
208
|
+
optional?: false;
|
|
209
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
210
|
+
parent?: Node$1;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
declare type BindingPattern$1 = BindingIdentifier$1 | ObjectPattern | ArrayPattern$1 | AssignmentPattern$1;
|
|
214
|
+
|
|
215
|
+
declare interface BindingProperty$1 extends Span$1 {
|
|
216
|
+
type: "Property";
|
|
217
|
+
kind: "init";
|
|
218
|
+
key: PropertyKey_2;
|
|
219
|
+
value: BindingPattern$1;
|
|
220
|
+
method: false;
|
|
221
|
+
shorthand: boolean;
|
|
222
|
+
computed: boolean;
|
|
223
|
+
optional?: false;
|
|
224
|
+
parent?: Node$1;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
declare interface BindingRestElement$1 extends Span$1 {
|
|
228
|
+
type: "RestElement";
|
|
229
|
+
decorators?: [];
|
|
230
|
+
argument: BindingPattern$1;
|
|
231
|
+
optional?: false;
|
|
232
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
233
|
+
value?: null;
|
|
234
|
+
parent?: Node$1;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
declare interface BlockStatement$1 extends Span$1 {
|
|
238
|
+
type: "BlockStatement";
|
|
239
|
+
body: Array<Statement$1>;
|
|
240
|
+
parent?: Node$1;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
declare interface BooleanLiteral$1 extends Span$1 {
|
|
244
|
+
type: "Literal";
|
|
245
|
+
value: boolean;
|
|
246
|
+
raw: string | null;
|
|
247
|
+
parent?: Node$1;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
declare interface BreakStatement$1 extends Span$1 {
|
|
251
|
+
type: "BreakStatement";
|
|
252
|
+
label: LabelIdentifier$1 | null;
|
|
253
|
+
parent?: Node$1;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export declare const buildTestRunner: <ChildRunnerError>(context: TestRunnerBuildContext, childProcessRunner: Effect.Effect<PooledTestRunner, ChildRunnerError, Scope.Scope | WorkerLauncher>) => Effect.Effect<PooledTestRunner, PooledTestRunnerError | ChildRunnerError, ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Scope.Scope | WorkerLauncher>;
|
|
257
|
+
|
|
258
|
+
export declare function buildVerdictEnvelope(report: MutationTestResult, mode: OutputMode, signal: ModeSignal, runId: string, basePath: string, pathService: Path.Path): VerdictEnvelope;
|
|
259
|
+
|
|
260
|
+
declare type Built<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Built<T[number]>> : T) : T extends Span$1 ? { [K in keyof T as K extends keyof Span$1 ? never : K]: Child<T[K]>; } & Partial<Pick<T, keyof Span$1>> : T;
|
|
31
261
|
|
|
32
262
|
export declare const calculateMetrics: (files: Readonly<Record<string, FileResult>>) => MetricsResult;
|
|
33
263
|
|
|
34
|
-
|
|
264
|
+
declare interface CallExpression$1 extends Span$1 {
|
|
265
|
+
type: "CallExpression";
|
|
266
|
+
callee: Expression$1;
|
|
267
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
268
|
+
arguments: Array<Argument$1>;
|
|
269
|
+
optional: boolean;
|
|
270
|
+
parent?: Node$1;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
declare interface CatchClause$1 extends Span$1 {
|
|
274
|
+
type: "CatchClause";
|
|
275
|
+
param: BindingPattern$1 | null;
|
|
276
|
+
body: BlockStatement$1;
|
|
277
|
+
parent?: Node$1;
|
|
278
|
+
}
|
|
35
279
|
|
|
36
|
-
|
|
280
|
+
declare type ChainElement = CallExpression$1 | TSNonNullExpression$1 | MemberExpression$1;
|
|
37
281
|
|
|
38
|
-
declare
|
|
282
|
+
declare interface ChainExpression$1 extends Span$1 {
|
|
283
|
+
type: "ChainExpression";
|
|
284
|
+
expression: ChainElement;
|
|
285
|
+
parent?: Node$1;
|
|
286
|
+
}
|
|
39
287
|
|
|
40
|
-
export declare class
|
|
288
|
+
export declare class CheckerAnsweredUnrequested extends CheckerAnsweredUnrequested_base {}
|
|
41
289
|
|
|
42
|
-
declare const
|
|
43
|
-
readonly cause: S.String;
|
|
290
|
+
declare const CheckerAnsweredUnrequested_base: S.Class<CheckerAnsweredUnrequested, S.TaggedStruct<"CheckerAnsweredUnrequested", {
|
|
44
291
|
readonly checkerName: S.String;
|
|
45
|
-
readonly
|
|
292
|
+
readonly phase: S.Literals<readonly ["check", "group"]>;
|
|
293
|
+
readonly unrequestedIds: S.$Array<S.String>;
|
|
294
|
+
readonly requestedIds: S.$Array<S.String>;
|
|
46
295
|
}>, YieldableError>;
|
|
47
296
|
|
|
48
|
-
export declare
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
297
|
+
export declare type CheckerContractBroken = CheckerAnsweredUnrequested | CheckerSkippedRequested;
|
|
298
|
+
|
|
299
|
+
export declare type CheckerCrash = ChildProcessCrashedError | OutOfMemoryError;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* A checker held by the pool.
|
|
303
|
+
*
|
|
304
|
+
* The pool must be able to interrupt a checker mid-call when the run is
|
|
305
|
+
* cancelled, so the port uses Effect, which can be interrupted, where a Promise
|
|
306
|
+
* cannot. The error channel names both crash variants rather than `unknown`,
|
|
307
|
+
* which lets the retry combinator prove it handles every one of them.
|
|
308
|
+
*/
|
|
309
|
+
export declare interface CheckerResourceService {
|
|
310
|
+
readonly check: (checkerName: string, mutants: readonly Mutant[]) => Effect.Effect<Record<string, CheckResult>, CheckerCrash>;
|
|
311
|
+
/**
|
|
312
|
+
* Partition mutants into groups that can be checked together.
|
|
313
|
+
*
|
|
314
|
+
* A checker with no grouping opinion returns one group per mutant — the
|
|
315
|
+
* identity partition — rather than leaving the member off, which is what
|
|
316
|
+
* every call site used to synthesise for itself.
|
|
317
|
+
*/
|
|
318
|
+
readonly group: (checkerName: string, mutants: readonly Mutant[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash>;
|
|
52
319
|
}
|
|
53
320
|
|
|
54
|
-
export declare
|
|
321
|
+
export declare class CheckerSkippedRequested extends CheckerSkippedRequested_base {}
|
|
55
322
|
|
|
56
|
-
|
|
57
|
-
readonly
|
|
58
|
-
|
|
59
|
-
readonly
|
|
60
|
-
|
|
61
|
-
|
|
323
|
+
declare const CheckerSkippedRequested_base: S.Class<CheckerSkippedRequested, S.TaggedStruct<"CheckerSkippedRequested", {
|
|
324
|
+
readonly checkerName: S.String;
|
|
325
|
+
readonly phase: S.Literals<readonly ["check", "group"]>;
|
|
326
|
+
readonly missingIds: S.$Array<S.String>;
|
|
327
|
+
}>, YieldableError>;
|
|
328
|
+
|
|
329
|
+
export declare const checkGroupedPlans: (checker: CheckerResourceService, checkerName: string, plans: readonly RunPlan[]) => Effect.Effect<readonly (readonly [RunPlan, CheckResult])[], CheckerCrash | CheckerContractBroken>;
|
|
62
330
|
|
|
63
|
-
export declare
|
|
331
|
+
export declare type CheckResult = FailedCheckResult | PassedCheckResult;
|
|
64
332
|
|
|
65
|
-
|
|
333
|
+
declare type Child<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Child<T[number]>> : T) : T extends Span$1 ? Built<T> | T : T;
|
|
66
334
|
|
|
67
|
-
|
|
335
|
+
/**
|
|
336
|
+
* The child process hosting a worker ended when it was not supposed to.
|
|
337
|
+
*/
|
|
338
|
+
export declare class ChildProcessCrashedError extends ChildProcessCrashedError_base {
|
|
339
|
+
readonly exitClass: 'InternalError';
|
|
340
|
+
}
|
|
68
341
|
|
|
69
|
-
|
|
342
|
+
declare const ChildProcessCrashedError_base: Schema.Class<ChildProcessCrashedError, Schema.TaggedStruct<"ChildProcessCrashedError", {
|
|
343
|
+
readonly pid: Schema.Int;
|
|
344
|
+
readonly exit: Schema.Union<readonly [Schema.Struct<{
|
|
345
|
+
readonly _tag: Schema.Literals<readonly ["Code"]>;
|
|
346
|
+
readonly code: Schema.Int;
|
|
347
|
+
}>, Schema.Struct<{
|
|
348
|
+
readonly _tag: Schema.Literals<readonly ["Signal"]>;
|
|
349
|
+
readonly signal: Schema.String;
|
|
350
|
+
}>]>;
|
|
351
|
+
readonly cause: Schema.optional<Schema.String>;
|
|
352
|
+
}>, YieldableError>;
|
|
70
353
|
|
|
71
|
-
declare
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
354
|
+
declare interface Class$1 extends Span$1 {
|
|
355
|
+
type: ClassType;
|
|
356
|
+
decorators: Array<Decorator$1>;
|
|
357
|
+
id: BindingIdentifier$1 | null;
|
|
358
|
+
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
359
|
+
superClass: Expression$1 | null;
|
|
360
|
+
superTypeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
361
|
+
implements?: Array<TSClassImplements>;
|
|
362
|
+
body: ClassBody$1;
|
|
363
|
+
abstract?: boolean;
|
|
364
|
+
declare?: boolean;
|
|
365
|
+
parent?: Node$1;
|
|
366
|
+
}
|
|
77
367
|
|
|
78
|
-
|
|
368
|
+
declare interface ClassBody$1 extends Span$1 {
|
|
369
|
+
type: "ClassBody";
|
|
370
|
+
body: Array<ClassElement>;
|
|
371
|
+
parent?: Node$1;
|
|
372
|
+
}
|
|
79
373
|
|
|
80
|
-
declare
|
|
81
|
-
readonly highestClass: S.NullOr<S.Literals<readonly ["VerdictFail", "ConfigError", "RuntimeError", "InternalError"]>>;
|
|
82
|
-
readonly verdictClass: S.NullOr<S.Literals<readonly ["VerdictFail", "ConfigError", "RuntimeError", "InternalError"]>>;
|
|
83
|
-
}>, {}>;
|
|
374
|
+
declare type ClassElement = StaticBlock$1 | MethodDefinition$1 | PropertyDefinition$1 | AccessorProperty$1 | TSIndexSignature$1;
|
|
84
375
|
|
|
85
|
-
export declare
|
|
376
|
+
export declare const classifyWorkerExit: (pid: number, exitCode: number) => ChildProcessCrashedError | OutOfMemoryError;
|
|
86
377
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
378
|
+
declare type ClassType = "ClassDeclaration" | "ClassExpression";
|
|
379
|
+
|
|
380
|
+
export declare interface CompiledTests {
|
|
381
|
+
readonly fileName: string;
|
|
382
|
+
readonly script: VmScript;
|
|
383
|
+
}
|
|
90
384
|
|
|
91
385
|
export declare interface CompleteDryRunResult {
|
|
92
386
|
readonly tests: readonly TestResult[];
|
|
@@ -94,42 +388,117 @@ export declare interface CompleteDryRunResult {
|
|
|
94
388
|
readonly status: 'complete';
|
|
95
389
|
}
|
|
96
390
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
391
|
+
declare interface ComputedMemberExpression extends Span$1 {
|
|
392
|
+
type: "MemberExpression";
|
|
393
|
+
object: Expression$1;
|
|
394
|
+
property: Expression$1;
|
|
395
|
+
optional: boolean;
|
|
396
|
+
computed: true;
|
|
397
|
+
parent?: Node$1;
|
|
101
398
|
}
|
|
102
399
|
|
|
103
|
-
|
|
400
|
+
declare interface ConditionalExpression$1 extends Span$1 {
|
|
401
|
+
type: "ConditionalExpression";
|
|
402
|
+
test: Expression$1;
|
|
403
|
+
consequent: Expression$1;
|
|
404
|
+
alternate: Expression$1;
|
|
405
|
+
parent?: Node$1;
|
|
406
|
+
}
|
|
104
407
|
|
|
105
|
-
export declare
|
|
106
|
-
readonly kind: K;
|
|
107
|
-
}>;
|
|
408
|
+
export declare const CONFIG_SYNTAX_HELP: string;
|
|
108
409
|
|
|
109
|
-
export declare const
|
|
410
|
+
export declare const ConfigDocumentSchema: S.$Record<S.String, S.Unknown>;
|
|
110
411
|
|
|
111
|
-
export declare interface
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
412
|
+
export declare interface ConfigEnv {
|
|
413
|
+
readonly command: 'run' | 'merge-reports';
|
|
414
|
+
readonly isDryRun: boolean;
|
|
415
|
+
readonly mode: OutputMode;
|
|
416
|
+
readonly isCi: boolean;
|
|
114
417
|
}
|
|
115
418
|
|
|
116
|
-
export declare
|
|
419
|
+
export declare class ConfigError extends ConfigError_base {
|
|
420
|
+
readonly exitClass: 'ConfigError';
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
declare const ConfigError_base: S.Class<ConfigError, S.TaggedStruct<"ConfigError", {
|
|
424
|
+
readonly message: S.String;
|
|
425
|
+
}>, YieldableError>;
|
|
426
|
+
|
|
427
|
+
export declare class ConfigFileInvalidError extends ConfigFileInvalidError_base {
|
|
428
|
+
readonly exitClass: 'ConfigError';
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
declare const ConfigFileInvalidError_base: S.Class<ConfigFileInvalidError, S.TaggedStruct<"ConfigFileInvalidError", {
|
|
432
|
+
readonly file: S.String;
|
|
433
|
+
readonly cause: S.Unknown;
|
|
434
|
+
}>, YieldableError>;
|
|
117
435
|
|
|
118
|
-
declare
|
|
436
|
+
export declare class ConfigFileNotFoundError extends ConfigFileNotFoundError_base {
|
|
437
|
+
readonly exitClass: 'ConfigError';
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
declare const ConfigFileNotFoundError_base: S.Class<ConfigFileNotFoundError, S.TaggedStruct<"ConfigFileNotFoundError", {
|
|
441
|
+
readonly file: S.String;
|
|
442
|
+
}>, YieldableError>;
|
|
443
|
+
|
|
444
|
+
export declare class ConfigFileUnreadableError extends ConfigFileUnreadableError_base {
|
|
445
|
+
readonly exitClass: 'ConfigError';
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
declare const ConfigFileUnreadableError_base: S.Class<ConfigFileUnreadableError, S.TaggedStruct<"ConfigFileUnreadableError", {
|
|
449
|
+
readonly file: S.String;
|
|
450
|
+
readonly cause: S.Unknown;
|
|
451
|
+
}>, YieldableError>;
|
|
452
|
+
|
|
453
|
+
export declare class ConfigFileUnsupportedError extends ConfigFileUnsupportedError_base {
|
|
454
|
+
readonly exitClass: 'ConfigError';
|
|
455
|
+
get message(): string;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
declare const ConfigFileUnsupportedError_base: S.Class<ConfigFileUnsupportedError, S.TaggedStruct<"ConfigFileUnsupportedError", {
|
|
459
|
+
readonly file: S.String;
|
|
460
|
+
readonly hint: S.String;
|
|
461
|
+
}>, YieldableError>;
|
|
462
|
+
|
|
463
|
+
export declare interface ConfigInvocation {
|
|
464
|
+
readonly command: 'run' | 'merge-reports';
|
|
465
|
+
readonly mode: OutputMode;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export declare const connectRetry: Schedule.Schedule<Duration_2, unknown, never, never>;
|
|
469
|
+
|
|
470
|
+
declare interface ContinueStatement$1 extends Span$1 {
|
|
471
|
+
type: "ContinueStatement";
|
|
472
|
+
label: LabelIdentifier$1 | null;
|
|
473
|
+
parent?: Node$1;
|
|
474
|
+
}
|
|
119
475
|
|
|
120
|
-
declare
|
|
121
|
-
export { CoverageAnalysisMode }
|
|
122
|
-
export { CoverageAnalysisMode as CoverageAnalysisModeType }
|
|
476
|
+
export declare const countMutants: (mutants: readonly MutantResult[]) => Metrics;
|
|
123
477
|
|
|
124
|
-
export declare
|
|
478
|
+
export declare type CoverageAnalysis = 'off' | 'all' | 'perTest';
|
|
125
479
|
|
|
126
480
|
export declare type CoverageData = Record<string, number>;
|
|
127
481
|
|
|
128
|
-
export declare
|
|
482
|
+
export declare const createDefaultOptions: Effect.Effect<StrykerOptions>;
|
|
483
|
+
|
|
484
|
+
export declare function createFileMatcher(pattern: boolean | string, pathService: Path.Path, allowHiddenFiles?: boolean): (fileName: string) => boolean;
|
|
485
|
+
|
|
486
|
+
declare interface DebuggerStatement extends Span$1 {
|
|
487
|
+
type: "DebuggerStatement";
|
|
488
|
+
parent?: Node$1;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export declare const decideExtendsStep: (state: ExtendsStepState, document: PartialStrykerOptions, file: string, pathService: Path.Path) => ExtendsStepDecision;
|
|
129
492
|
|
|
130
|
-
|
|
493
|
+
declare type Declaration = VariableDeclaration$1 | Function$1 | Class$1 | TSTypeAliasDeclaration$1 | TSInterfaceDeclaration$1 | TSEnumDeclaration$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSImportEqualsDeclaration$1;
|
|
494
|
+
|
|
495
|
+
declare interface Decorator$1 extends Span$1 {
|
|
496
|
+
type: "Decorator";
|
|
497
|
+
expression: Expression$1;
|
|
498
|
+
parent?: Node$1;
|
|
499
|
+
}
|
|
131
500
|
|
|
132
|
-
export declare function
|
|
501
|
+
export declare function deepFreeze<T>(target: T): Immutable<T>;
|
|
133
502
|
|
|
134
503
|
/**
|
|
135
504
|
* Every option optional, all the way down, and mutable: this is the type a
|
|
@@ -138,9 +507,23 @@ export declare function declarePlugin<K extends PluginLayerKind>(kind: K, name:
|
|
|
138
507
|
*/
|
|
139
508
|
export declare type DeepOptional<T> = { -readonly [P in keyof T]?: T[P] extends Record<string, unknown> ? DeepOptional<T[P]> | undefined : T[P]; };
|
|
140
509
|
|
|
141
|
-
export declare
|
|
510
|
+
export declare const defaultOptions: Effect.Effect<Immutable<StrykerOptions>, never, never>;
|
|
142
511
|
|
|
143
|
-
export declare
|
|
512
|
+
export declare function describeErrors(error: S.SchemaError): string[];
|
|
513
|
+
|
|
514
|
+
declare interface Directive extends Span$1 {
|
|
515
|
+
type: "ExpressionStatement";
|
|
516
|
+
expression: StringLiteral$1;
|
|
517
|
+
directive: string;
|
|
518
|
+
parent?: Node$1;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
declare interface DoWhileStatement$1 extends Span$1 {
|
|
522
|
+
type: "DoWhileStatement";
|
|
523
|
+
body: Statement$1;
|
|
524
|
+
test: Expression$1;
|
|
525
|
+
parent?: Node$1;
|
|
526
|
+
}
|
|
144
527
|
|
|
145
528
|
export declare class DryRunCompleted extends DryRunCompleted_base {}
|
|
146
529
|
|
|
@@ -187,87 +570,26 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
187
570
|
}>]>>;
|
|
188
571
|
}>, {}>;
|
|
189
572
|
|
|
573
|
+
export declare interface DryRunDone extends InstrumentDone {
|
|
574
|
+
readonly dryRunResult: CompleteDryRunResult;
|
|
575
|
+
readonly testCoverage: TestCoverage;
|
|
576
|
+
readonly timeOverhead: Duration.Duration;
|
|
577
|
+
}
|
|
578
|
+
|
|
190
579
|
export declare interface DryRunOptions extends RunOptions {
|
|
191
580
|
readonly coverageAnalysis: CoverageAnalysis;
|
|
192
581
|
readonly files?: readonly string[];
|
|
193
582
|
readonly testFiles?: readonly string[];
|
|
194
583
|
}
|
|
195
584
|
|
|
196
|
-
export declare const DryRunOptionsSchema: S.Struct<{
|
|
197
|
-
readonly timeout: S.Finite;
|
|
198
|
-
readonly disableBail: S.Boolean;
|
|
199
|
-
readonly coverageAnalysis: S.Literals<readonly ["off", "all", "perTest"]>;
|
|
200
|
-
readonly files: S.optionalKey<S.$Array<S.String>>;
|
|
201
|
-
readonly testFiles: S.optionalKey<S.$Array<S.String>>;
|
|
202
|
-
}>;
|
|
203
|
-
|
|
204
585
|
export declare type DryRunResult = CompleteDryRunResult | ErrorDryRunResult | TimeoutDryRunResult;
|
|
205
586
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
readonly id: S.String;
|
|
210
|
-
readonly name: S.String;
|
|
211
|
-
readonly timeSpentMs: S.Finite;
|
|
212
|
-
readonly fileName: S.optionalKey<S.String>;
|
|
213
|
-
readonly startPosition: S.optionalKey<S.Struct<{
|
|
214
|
-
readonly line: S.Finite;
|
|
215
|
-
readonly column: S.Finite;
|
|
216
|
-
}>>;
|
|
217
|
-
readonly status: S.Literal<"failed">;
|
|
218
|
-
readonly failureMessage: S.String;
|
|
219
|
-
}>, S.Struct<{
|
|
220
|
-
readonly id: S.String;
|
|
221
|
-
readonly name: S.String;
|
|
222
|
-
readonly timeSpentMs: S.Finite;
|
|
223
|
-
readonly fileName: S.optionalKey<S.String>;
|
|
224
|
-
readonly startPosition: S.optionalKey<S.Struct<{
|
|
225
|
-
readonly line: S.Finite;
|
|
226
|
-
readonly column: S.Finite;
|
|
227
|
-
}>>;
|
|
228
|
-
readonly status: S.Literal<"skipped">;
|
|
229
|
-
}>, S.Struct<{
|
|
230
|
-
readonly id: S.String;
|
|
231
|
-
readonly name: S.String;
|
|
232
|
-
readonly timeSpentMs: S.Finite;
|
|
233
|
-
readonly fileName: S.optionalKey<S.String>;
|
|
234
|
-
readonly startPosition: S.optionalKey<S.Struct<{
|
|
235
|
-
readonly line: S.Finite;
|
|
236
|
-
readonly column: S.Finite;
|
|
237
|
-
}>>;
|
|
238
|
-
readonly status: S.Literal<"success">;
|
|
239
|
-
}>]>>;
|
|
240
|
-
readonly mutantCoverage: S.optionalKey<S.Struct<{
|
|
241
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Finite>>;
|
|
242
|
-
readonly static: S.$Record<S.String, S.Finite>;
|
|
243
|
-
}>>;
|
|
244
|
-
}>, S.Struct<{
|
|
245
|
-
readonly status: S.Literal<"timeout">;
|
|
246
|
-
readonly reason: S.optionalKey<S.String>;
|
|
247
|
-
}>, S.Struct<{
|
|
248
|
-
readonly status: S.Literal<"error">;
|
|
249
|
-
readonly errorMessage: S.String;
|
|
250
|
-
}>]>;
|
|
251
|
-
|
|
252
|
-
export declare const DryRunStatus: S.Literals<readonly ["complete", "error", "timeout"]>;
|
|
253
|
-
|
|
254
|
-
export declare type DryRunStatus = typeof DryRunStatus.Type;
|
|
255
|
-
|
|
256
|
-
export declare interface EarlyResultPlan {
|
|
257
|
-
readonly plan: 'EarlyResult';
|
|
258
|
-
readonly mutant: Mutant;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
export declare interface ErrnoException extends Error {
|
|
262
|
-
code?: string;
|
|
263
|
-
errno?: number;
|
|
264
|
-
path?: string;
|
|
265
|
-
syscall?: string;
|
|
587
|
+
declare interface EmptyStatement$1 extends Span$1 {
|
|
588
|
+
type: "EmptyStatement";
|
|
589
|
+
parent?: Node$1;
|
|
266
590
|
}
|
|
267
591
|
|
|
268
|
-
export declare
|
|
269
|
-
NoSuchFileOrDirectory: 'ENOENT';
|
|
270
|
-
}>;
|
|
592
|
+
export declare type EnginePorts = ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Path.Path | Stdio.Stdio | WorkerLauncher;
|
|
271
593
|
|
|
272
594
|
export declare interface ErrorDryRunResult {
|
|
273
595
|
readonly status: 'error';
|
|
@@ -279,27 +601,129 @@ export declare interface ErrorMutantRunResult {
|
|
|
279
601
|
readonly errorMessage: string;
|
|
280
602
|
}
|
|
281
603
|
|
|
282
|
-
export declare
|
|
604
|
+
export declare interface EvaluatorPluginDescriptor {
|
|
605
|
+
readonly kind: 'Evaluator';
|
|
606
|
+
readonly name: string;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
export declare interface EvaluatorPluginSource {
|
|
610
|
+
readonly kind: 'Evaluator';
|
|
611
|
+
readonly name: string;
|
|
612
|
+
readonly modulePath: string;
|
|
613
|
+
}
|
|
283
614
|
|
|
284
|
-
export declare
|
|
615
|
+
export declare const EXIT_CODE: Record<ExitClass, number>;
|
|
285
616
|
|
|
286
|
-
declare const
|
|
617
|
+
export declare const ExitClass: S.Literals<readonly ["VerdictFail", "ConfigError", "RuntimeError", "InternalError"]>;
|
|
287
618
|
|
|
288
|
-
export declare
|
|
619
|
+
export declare type ExitClass = typeof ExitClass.Type;
|
|
289
620
|
|
|
290
|
-
declare
|
|
291
|
-
|
|
292
|
-
|
|
621
|
+
declare interface ExportAllDeclaration$1 extends Span$1 {
|
|
622
|
+
type: "ExportAllDeclaration";
|
|
623
|
+
exported: ModuleExportName | null;
|
|
624
|
+
source: StringLiteral$1;
|
|
625
|
+
attributes: Array<ImportAttribute$1>;
|
|
626
|
+
exportKind?: ImportOrExportKind;
|
|
627
|
+
parent?: Node$1;
|
|
628
|
+
}
|
|
293
629
|
|
|
294
|
-
|
|
295
|
-
|
|
630
|
+
declare interface ExportDefaultDeclaration$1 extends Span$1 {
|
|
631
|
+
type: "ExportDefaultDeclaration";
|
|
632
|
+
declaration: ExportDefaultDeclarationKind;
|
|
633
|
+
exportKind?: "value";
|
|
634
|
+
parent?: Node$1;
|
|
296
635
|
}
|
|
297
636
|
|
|
298
|
-
|
|
637
|
+
declare type ExportDefaultDeclarationKind = Function$1 | Class$1 | TSInterfaceDeclaration$1 | Expression$1;
|
|
299
638
|
|
|
300
|
-
|
|
639
|
+
declare interface ExportNamedDeclaration$1 extends Span$1 {
|
|
640
|
+
type: "ExportNamedDeclaration";
|
|
641
|
+
declaration: Declaration | null;
|
|
642
|
+
specifiers: Array<ExportSpecifier>;
|
|
643
|
+
source: StringLiteral$1 | null;
|
|
644
|
+
exportKind?: ImportOrExportKind;
|
|
645
|
+
attributes: Array<ImportAttribute$1>;
|
|
646
|
+
parent?: Node$1;
|
|
647
|
+
}
|
|
301
648
|
|
|
302
|
-
|
|
649
|
+
declare interface ExportSpecifier extends Span$1 {
|
|
650
|
+
type: "ExportSpecifier";
|
|
651
|
+
local: ModuleExportName;
|
|
652
|
+
exported: ModuleExportName;
|
|
653
|
+
exportKind?: ImportOrExportKind;
|
|
654
|
+
parent?: Node$1;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
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;
|
|
658
|
+
|
|
659
|
+
declare interface ExpressionStatement$1 extends Span$1 {
|
|
660
|
+
type: "ExpressionStatement";
|
|
661
|
+
expression: Expression$1;
|
|
662
|
+
directive?: string | null;
|
|
663
|
+
parent?: Node$1;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export declare const extendsPropertySchema: S.optionalKey<S.String>;
|
|
667
|
+
|
|
668
|
+
export declare type ExtendsRefusalReason = 'cycle' | 'non-string-extends';
|
|
669
|
+
|
|
670
|
+
export declare type ExtendsStepDecision = ExtendsStepDone | ExtendsStepRead | ExtendsStepResolve | ExtendsStepRefused;
|
|
671
|
+
|
|
672
|
+
export declare type ExtendsStepDocument = typeof ExtendsStepDocumentSchema.Type;
|
|
673
|
+
|
|
674
|
+
export declare const ExtendsStepDocumentSchema: S.Struct<{
|
|
675
|
+
readonly path: S.String;
|
|
676
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
677
|
+
}>;
|
|
678
|
+
|
|
679
|
+
export declare class ExtendsStepDone extends ExtendsStepDone_base {}
|
|
680
|
+
|
|
681
|
+
declare const ExtendsStepDone_base: S.Class<ExtendsStepDone, S.TaggedStruct<"done", {
|
|
682
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
683
|
+
}>, {}>;
|
|
684
|
+
|
|
685
|
+
export declare class ExtendsStepRead extends ExtendsStepRead_base {}
|
|
686
|
+
|
|
687
|
+
declare const ExtendsStepRead_base: S.Class<ExtendsStepRead, S.TaggedStruct<"read", {
|
|
688
|
+
readonly path: S.String;
|
|
689
|
+
readonly state: S.Struct<{
|
|
690
|
+
readonly visited: S.$Array<S.String>;
|
|
691
|
+
readonly documents: S.$Array<S.Struct<{
|
|
692
|
+
readonly path: S.String;
|
|
693
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
694
|
+
}>>;
|
|
695
|
+
}>;
|
|
696
|
+
}>, {}>;
|
|
697
|
+
|
|
698
|
+
export declare class ExtendsStepRefused extends ExtendsStepRefused_base {}
|
|
699
|
+
|
|
700
|
+
declare const ExtendsStepRefused_base: S.Class<ExtendsStepRefused, S.TaggedStruct<"refused", {
|
|
701
|
+
readonly reason: S.Literals<readonly ["cycle", "non-string-extends"]>;
|
|
702
|
+
readonly file: S.String;
|
|
703
|
+
}>, {}>;
|
|
704
|
+
|
|
705
|
+
export declare class ExtendsStepResolve extends ExtendsStepResolve_base {}
|
|
706
|
+
|
|
707
|
+
declare const ExtendsStepResolve_base: S.Class<ExtendsStepResolve, S.TaggedStruct<"resolve", {
|
|
708
|
+
readonly specifier: S.String;
|
|
709
|
+
readonly state: S.Struct<{
|
|
710
|
+
readonly visited: S.$Array<S.String>;
|
|
711
|
+
readonly documents: S.$Array<S.Struct<{
|
|
712
|
+
readonly path: S.String;
|
|
713
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
714
|
+
}>>;
|
|
715
|
+
}>;
|
|
716
|
+
}>, {}>;
|
|
717
|
+
|
|
718
|
+
export declare type ExtendsStepState = typeof ExtendsStepStateSchema.Type;
|
|
719
|
+
|
|
720
|
+
export declare const ExtendsStepStateSchema: S.Struct<{
|
|
721
|
+
readonly visited: S.$Array<S.String>;
|
|
722
|
+
readonly documents: S.$Array<S.Struct<{
|
|
723
|
+
readonly path: S.String;
|
|
724
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
725
|
+
}>>;
|
|
726
|
+
}>;
|
|
303
727
|
|
|
304
728
|
export declare interface FailedCheckResult {
|
|
305
729
|
readonly reason: string;
|
|
@@ -319,36 +743,6 @@ export declare type FileDescriptions = Record<string, FileDescription>;
|
|
|
319
743
|
|
|
320
744
|
export declare type FileResult = typeof FileResultSchema.Type;
|
|
321
745
|
|
|
322
|
-
export declare type FileResultDictionary = typeof FileResultDictionarySchema.Type;
|
|
323
|
-
|
|
324
|
-
export declare const FileResultDictionarySchema: S.$Record<S.String, S.Struct<{
|
|
325
|
-
readonly language: S.String;
|
|
326
|
-
readonly source: S.String;
|
|
327
|
-
readonly mutants: S.$Array<S.Struct<{
|
|
328
|
-
readonly id: S.String;
|
|
329
|
-
readonly mutatorName: S.String;
|
|
330
|
-
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
331
|
-
readonly location: S.Struct<{
|
|
332
|
-
readonly start: S.Struct<{
|
|
333
|
-
readonly line: S.Finite;
|
|
334
|
-
readonly column: S.Finite;
|
|
335
|
-
}>;
|
|
336
|
-
readonly end: S.Struct<{
|
|
337
|
-
readonly line: S.Finite;
|
|
338
|
-
readonly column: S.Finite;
|
|
339
|
-
}>;
|
|
340
|
-
}>;
|
|
341
|
-
readonly replacement: S.optional<S.String>;
|
|
342
|
-
readonly description: S.optional<S.String>;
|
|
343
|
-
readonly statusReason: S.optional<S.String>;
|
|
344
|
-
readonly static: S.optional<S.Boolean>;
|
|
345
|
-
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
346
|
-
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
347
|
-
readonly testsCompleted: S.optional<S.Finite>;
|
|
348
|
-
readonly duration: S.optional<S.Finite>;
|
|
349
|
-
}>>;
|
|
350
|
-
}>>;
|
|
351
|
-
|
|
352
746
|
export declare const FileResultSchema: S.Struct<{
|
|
353
747
|
readonly language: S.String;
|
|
354
748
|
readonly source: S.String;
|
|
@@ -377,25 +771,174 @@ export declare const FileResultSchema: S.Struct<{
|
|
|
377
771
|
}>>;
|
|
378
772
|
}>;
|
|
379
773
|
|
|
380
|
-
export declare
|
|
774
|
+
export declare function findUnserializables(thing: unknown): UnserializableDescription[] | undefined;
|
|
381
775
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
390
|
-
}>;
|
|
776
|
+
declare interface ForInStatement$1 extends Span$1 {
|
|
777
|
+
type: "ForInStatement";
|
|
778
|
+
left: ForStatementLeft;
|
|
779
|
+
right: Expression$1;
|
|
780
|
+
body: Statement$1;
|
|
781
|
+
parent?: Node$1;
|
|
782
|
+
}
|
|
391
783
|
|
|
392
|
-
export declare
|
|
784
|
+
export declare const forkCoreSchema: Record<string, unknown>;
|
|
393
785
|
|
|
394
|
-
declare const
|
|
395
|
-
readonly
|
|
396
|
-
readonly
|
|
397
|
-
readonly
|
|
398
|
-
|
|
786
|
+
export declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
787
|
+
readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
788
|
+
readonly buildCommand: S.optional<S.String>;
|
|
789
|
+
readonly checkers: S.withDecodingDefaultKey<S.$Array<S.Struct<{
|
|
790
|
+
readonly plugin: S.String;
|
|
791
|
+
readonly nodeArgs: S.optional<S.$Array<S.String>>;
|
|
792
|
+
readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
793
|
+
}>>, never>;
|
|
794
|
+
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
795
|
+
readonly concurrency: S.optional<S.Union<readonly [S.Finite, S.String]>>;
|
|
796
|
+
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
797
|
+
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
798
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
799
|
+
readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never>;
|
|
800
|
+
readonly clearTextReporter: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
801
|
+
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
802
|
+
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
803
|
+
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
804
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never>;
|
|
805
|
+
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
806
|
+
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
807
|
+
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
808
|
+
readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
809
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
810
|
+
readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
811
|
+
readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
812
|
+
readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
813
|
+
readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
814
|
+
readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
|
|
815
|
+
readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
|
|
816
|
+
readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
817
|
+
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
818
|
+
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
819
|
+
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
820
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never>;
|
|
821
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never>;
|
|
822
|
+
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
823
|
+
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
824
|
+
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
825
|
+
}>, never>;
|
|
826
|
+
readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
|
|
827
|
+
readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
828
|
+
readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
829
|
+
readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
830
|
+
readonly htmlReporter: S.withDecodingDefaultKey<S.Struct<{
|
|
831
|
+
readonly fileName: S.withDecodingDefaultKey<S.String, never>;
|
|
832
|
+
}>, never>;
|
|
833
|
+
readonly jsonReporter: S.withDecodingDefaultKey<S.Struct<{
|
|
834
|
+
readonly fileName: S.withDecodingDefaultKey<S.String, never>;
|
|
835
|
+
}>, never>;
|
|
836
|
+
readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.String]>, never>;
|
|
837
|
+
readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
838
|
+
readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
|
|
839
|
+
readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
|
|
840
|
+
readonly testRunner: S.withDecodingDefaultKey<S.Union<readonly [S.String, S.Struct<{
|
|
841
|
+
readonly plugin: S.String;
|
|
842
|
+
readonly nodeArgs: S.optional<S.$Array<S.String>>;
|
|
843
|
+
readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
844
|
+
}>]>, never>;
|
|
845
|
+
readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
846
|
+
readonly thresholds: S.withDecodingDefaultKey<S.Struct<{
|
|
847
|
+
readonly high: S.withDecodingDefaultKey<S.Finite, never>;
|
|
848
|
+
readonly low: S.withDecodingDefaultKey<S.Finite, never>;
|
|
849
|
+
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
850
|
+
}>, never>;
|
|
851
|
+
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
852
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
|
|
853
|
+
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
854
|
+
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
855
|
+
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
856
|
+
readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
857
|
+
readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
858
|
+
readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
859
|
+
readonly slow: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
860
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>]>, never>;
|
|
861
|
+
readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
862
|
+
readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
863
|
+
readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
864
|
+
readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
865
|
+
readonly survivorsPriorReport: S.optionalKey<S.String>;
|
|
866
|
+
readonly extends: S.optionalKey<S.String>;
|
|
867
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
868
|
+
|
|
869
|
+
declare type FormalParameter = {
|
|
870
|
+
decorators?: Array<Decorator$1>;
|
|
871
|
+
} & BindingPattern$1;
|
|
872
|
+
|
|
873
|
+
declare interface FormalParameterRest extends Span$1 {
|
|
874
|
+
type: "RestElement";
|
|
875
|
+
argument: BindingPattern$1;
|
|
876
|
+
decorators?: [];
|
|
877
|
+
optional?: boolean;
|
|
878
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
879
|
+
value?: null;
|
|
880
|
+
parent?: Node$1;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
declare interface ForOfStatement$1 extends Span$1 {
|
|
884
|
+
type: "ForOfStatement";
|
|
885
|
+
await: boolean;
|
|
886
|
+
left: ForStatementLeft;
|
|
887
|
+
right: Expression$1;
|
|
888
|
+
body: Statement$1;
|
|
889
|
+
parent?: Node$1;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
declare interface ForStatement$1 extends Span$1 {
|
|
893
|
+
type: "ForStatement";
|
|
894
|
+
init: ForStatementInit | null;
|
|
895
|
+
test: Expression$1 | null;
|
|
896
|
+
update: Expression$1 | null;
|
|
897
|
+
body: Statement$1;
|
|
898
|
+
parent?: Node$1;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
declare type ForStatementInit = VariableDeclaration$1 | Expression$1;
|
|
902
|
+
|
|
903
|
+
declare type ForStatementLeft = VariableDeclaration$1 | AssignmentTarget;
|
|
904
|
+
|
|
905
|
+
declare interface Function$1 extends Span$1 {
|
|
906
|
+
type: FunctionType;
|
|
907
|
+
id: BindingIdentifier$1 | null;
|
|
908
|
+
generator: boolean;
|
|
909
|
+
async: boolean;
|
|
910
|
+
declare?: boolean;
|
|
911
|
+
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
912
|
+
params: ParamPattern$1[];
|
|
913
|
+
returnType?: TSTypeAnnotation$1 | null;
|
|
914
|
+
body: FunctionBody | null;
|
|
915
|
+
expression: false;
|
|
916
|
+
parent?: Node$1;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
declare interface FunctionBody extends Span$1 {
|
|
920
|
+
type: "BlockStatement";
|
|
921
|
+
body: Array<Directive | Statement$1>;
|
|
922
|
+
parent?: Node$1;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
declare type FunctionType = "FunctionDeclaration" | "FunctionExpression" | "TSDeclareFunction" | "TSEmptyBodyFunctionExpression";
|
|
926
|
+
|
|
927
|
+
export declare function generateRunId(now: DateTime.Utc): string;
|
|
928
|
+
|
|
929
|
+
declare interface Hashbang extends Span$1 {
|
|
930
|
+
type: "Hashbang";
|
|
931
|
+
value: string;
|
|
932
|
+
parent?: Node$1;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
export declare class Heartbeat extends Heartbeat_base {}
|
|
936
|
+
|
|
937
|
+
declare const Heartbeat_base: S.Class<Heartbeat, S.TaggedStruct<"tick", {
|
|
938
|
+
readonly elapsedMs: S.Finite;
|
|
939
|
+
readonly completed: S.Finite;
|
|
940
|
+
readonly total: S.NullOr<S.Finite>;
|
|
941
|
+
}>, {}>;
|
|
399
942
|
|
|
400
943
|
export declare class HelpRendered extends HelpRendered_base {}
|
|
401
944
|
|
|
@@ -407,35 +950,314 @@ declare const HelpRendered_base: S.Class<HelpRendered, S.TaggedStruct<"help", {
|
|
|
407
950
|
|
|
408
951
|
export declare function highestExitClass(pending: Iterable<ExitClass>): ExitClass | null;
|
|
409
952
|
|
|
410
|
-
|
|
953
|
+
declare interface IdentifierName$1 extends Span$1 {
|
|
954
|
+
type: "Identifier";
|
|
955
|
+
decorators?: [];
|
|
956
|
+
name: string;
|
|
957
|
+
optional?: false;
|
|
958
|
+
typeAnnotation?: null;
|
|
959
|
+
parent?: Node$1;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
declare interface IdentifierReference$1 extends Span$1 {
|
|
963
|
+
type: "Identifier";
|
|
964
|
+
decorators?: [];
|
|
965
|
+
name: string;
|
|
966
|
+
optional?: false;
|
|
967
|
+
typeAnnotation?: null;
|
|
968
|
+
parent?: Node$1;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
export declare class IdGenerator extends IdGenerator_base {}
|
|
972
|
+
|
|
973
|
+
declare const IdGenerator_base: Context.ServiceClass<IdGenerator, "@systemfsoftware/stryker-js/Worker/IdGenerator", IdGeneratorShape>;
|
|
411
974
|
|
|
412
|
-
declare
|
|
975
|
+
export declare interface IdGeneratorShape {
|
|
976
|
+
readonly next: Effect.Effect<number>;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
declare interface IfStatement$1 extends Span$1 {
|
|
980
|
+
type: "IfStatement";
|
|
981
|
+
test: Expression$1;
|
|
982
|
+
consequent: Statement$1;
|
|
983
|
+
alternate: Statement$1 | null;
|
|
984
|
+
parent?: Node$1;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
export declare interface Ignorer {
|
|
988
|
+
readonly name: string;
|
|
989
|
+
shouldIgnore(node: Node_2, ancestors: readonly Node_2[]): string | undefined;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export declare type Immutable<T> = T extends ImmutablePrimitive ? T : T extends Array<infer U> ? ReadonlyArray<Immutable<U>> : T extends Map<infer K, infer V> ? ReadonlyMap<Immutable<K>, Immutable<V>> : T extends Set<infer M> ? ReadonlySet<Immutable<M>> : T extends RegExp ? Readonly<RegExp> : { readonly [K in keyof T]: Immutable<T[K]>; };
|
|
993
|
+
|
|
994
|
+
export declare type ImmutablePrimitive = Primitive | ((...args: never[]) => unknown);
|
|
413
995
|
|
|
414
|
-
|
|
415
|
-
|
|
996
|
+
declare interface ImportAttribute$1 extends Span$1 {
|
|
997
|
+
type: "ImportAttribute";
|
|
998
|
+
key: ImportAttributeKey;
|
|
999
|
+
value: StringLiteral$1;
|
|
1000
|
+
parent?: Node$1;
|
|
416
1001
|
}
|
|
417
1002
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
1003
|
+
declare type ImportAttributeKey = IdentifierName$1 | StringLiteral$1;
|
|
1004
|
+
|
|
1005
|
+
declare interface ImportDeclaration$1 extends Span$1 {
|
|
1006
|
+
type: "ImportDeclaration";
|
|
1007
|
+
specifiers: Array<ImportDeclarationSpecifier>;
|
|
1008
|
+
source: StringLiteral$1;
|
|
1009
|
+
phase: ImportPhase | null;
|
|
1010
|
+
attributes: Array<ImportAttribute$1>;
|
|
1011
|
+
importKind?: ImportOrExportKind;
|
|
1012
|
+
parent?: Node$1;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
declare type ImportDeclarationSpecifier = ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier;
|
|
1016
|
+
|
|
1017
|
+
declare interface ImportDefaultSpecifier extends Span$1 {
|
|
1018
|
+
type: "ImportDefaultSpecifier";
|
|
1019
|
+
local: BindingIdentifier$1;
|
|
1020
|
+
parent?: Node$1;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
export declare const ImportedModuleSchema: S.Struct<{
|
|
1024
|
+
readonly default: S.optional<S.Unknown>;
|
|
426
1025
|
}>;
|
|
427
1026
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
1027
|
+
declare interface ImportExpression$1 extends Span$1 {
|
|
1028
|
+
type: "ImportExpression";
|
|
1029
|
+
source: Expression$1;
|
|
1030
|
+
options: Expression$1 | null;
|
|
1031
|
+
phase: ImportPhase | null;
|
|
1032
|
+
parent?: Node$1;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
export declare function importModule(moduleName: string): Effect.Effect<unknown, StrykerError>;
|
|
1036
|
+
|
|
1037
|
+
declare interface ImportNamespaceSpecifier extends Span$1 {
|
|
1038
|
+
type: "ImportNamespaceSpecifier";
|
|
1039
|
+
local: BindingIdentifier$1;
|
|
1040
|
+
parent?: Node$1;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
declare type ImportOrExportKind = "value" | "type";
|
|
1044
|
+
|
|
1045
|
+
declare type ImportPhase = "source" | "defer";
|
|
1046
|
+
|
|
1047
|
+
declare interface ImportSpecifier extends Span$1 {
|
|
1048
|
+
type: "ImportSpecifier";
|
|
1049
|
+
imported: ModuleExportName;
|
|
1050
|
+
local: BindingIdentifier$1;
|
|
1051
|
+
importKind?: ImportOrExportKind;
|
|
1052
|
+
parent?: Node$1;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
export declare const IncrementalReportSchema: S.StructWithRest<S.Struct<{
|
|
1056
|
+
readonly schemaVersion: S.String;
|
|
1057
|
+
readonly thresholds: S.Struct<{
|
|
1058
|
+
readonly high: S.Finite;
|
|
1059
|
+
readonly low: S.Finite;
|
|
1060
|
+
}>;
|
|
1061
|
+
readonly files: S.$Record<S.String, S.Struct<{
|
|
1062
|
+
readonly language: S.String;
|
|
1063
|
+
readonly source: S.String;
|
|
1064
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
1065
|
+
readonly id: S.String;
|
|
1066
|
+
readonly mutatorName: S.String;
|
|
1067
|
+
readonly replacement: S.String;
|
|
1068
|
+
readonly location: S.Struct<{
|
|
1069
|
+
readonly start: S.Struct<{
|
|
1070
|
+
readonly line: S.Finite;
|
|
1071
|
+
readonly column: S.Finite;
|
|
1072
|
+
}>;
|
|
1073
|
+
readonly end: S.Struct<{
|
|
1074
|
+
readonly line: S.Finite;
|
|
1075
|
+
readonly column: S.Finite;
|
|
1076
|
+
}>;
|
|
1077
|
+
}>;
|
|
1078
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
|
|
1079
|
+
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1080
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1081
|
+
readonly static: S.optional<S.Boolean>;
|
|
1082
|
+
readonly statusReason: S.optional<S.String>;
|
|
1083
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
1084
|
+
readonly description: S.optional<S.String>;
|
|
1085
|
+
readonly duration: S.optional<S.Finite>;
|
|
1086
|
+
}>>;
|
|
1087
|
+
}>>;
|
|
1088
|
+
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
1089
|
+
readonly source: S.optional<S.String>;
|
|
1090
|
+
readonly tests: S.$Array<S.Struct<{
|
|
1091
|
+
readonly id: S.String;
|
|
1092
|
+
readonly name: S.String;
|
|
1093
|
+
readonly location: S.optional<S.Struct<{
|
|
1094
|
+
readonly start: S.Struct<{
|
|
1095
|
+
readonly line: S.Finite;
|
|
1096
|
+
readonly column: S.Finite;
|
|
1097
|
+
}>;
|
|
1098
|
+
readonly end: S.optional<S.Struct<{
|
|
1099
|
+
readonly line: S.Finite;
|
|
1100
|
+
readonly column: S.Finite;
|
|
1101
|
+
}>>;
|
|
1102
|
+
}>>;
|
|
1103
|
+
}>>;
|
|
1104
|
+
}>>>;
|
|
1105
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
1106
|
+
|
|
1107
|
+
export declare const initialExtendsStepState: ExtendsStepState;
|
|
1108
|
+
|
|
1109
|
+
export declare interface InstrumentDone extends PrepareDone {
|
|
1110
|
+
readonly mutants: readonly Mutant[];
|
|
1111
|
+
readonly sandbox: SandboxHandle;
|
|
1112
|
+
readonly concurrency: {
|
|
1113
|
+
readonly testRunners: number;
|
|
1114
|
+
readonly checkers: number;
|
|
1115
|
+
};
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export declare function isActionableStatus(status: MutantStatus): boolean;
|
|
1119
|
+
|
|
1120
|
+
/** Whether a configured runner name selects this runner. */
|
|
1121
|
+
export declare const isCommandRunner: (name: TestRunnerConfig) => name is 'command';
|
|
1122
|
+
|
|
1123
|
+
export declare function isModuleSpecifier(value: string): boolean;
|
|
1124
|
+
|
|
1125
|
+
export declare const isVmRunner: (name: TestRunnerConfig) => name is 'vm';
|
|
1126
|
+
|
|
1127
|
+
export declare function isWarningEnabled(warningType: KnownKeys<WarningOptions>, warningOptions: WarningOptions | boolean): boolean;
|
|
1128
|
+
|
|
1129
|
+
declare interface JSDocNonNullableType$1 extends Span$1 {
|
|
1130
|
+
type: "TSJSDocNonNullableType";
|
|
1131
|
+
typeAnnotation: TSType$1;
|
|
1132
|
+
postfix: boolean;
|
|
1133
|
+
parent?: Node$1;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
declare interface JSDocNullableType$1 extends Span$1 {
|
|
1137
|
+
type: "TSJSDocNullableType";
|
|
1138
|
+
typeAnnotation: TSType$1;
|
|
1139
|
+
postfix: boolean;
|
|
1140
|
+
parent?: Node$1;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
declare interface JSDocUnknownType extends Span$1 {
|
|
1144
|
+
type: "TSJSDocUnknownType";
|
|
1145
|
+
parent?: Node$1;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
declare interface JSXAttribute$1 extends Span$1 {
|
|
1149
|
+
type: "JSXAttribute";
|
|
1150
|
+
name: JSXAttributeName;
|
|
1151
|
+
value: JSXAttributeValue | null;
|
|
1152
|
+
parent?: Node$1;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
declare type JSXAttributeItem = JSXAttribute$1 | JSXSpreadAttribute$1;
|
|
1156
|
+
|
|
1157
|
+
declare type JSXAttributeName = JSXIdentifier$1 | JSXNamespacedName$1;
|
|
1158
|
+
|
|
1159
|
+
declare type JSXAttributeValue = StringLiteral$1 | JSXExpressionContainer$1 | JSXElement$1 | JSXFragment$1;
|
|
1160
|
+
|
|
1161
|
+
declare type JSXChild = JSXText$1 | JSXElement$1 | JSXFragment$1 | JSXExpressionContainer$1 | JSXSpreadChild$1;
|
|
1162
|
+
|
|
1163
|
+
declare interface JSXClosingElement extends Span$1 {
|
|
1164
|
+
type: "JSXClosingElement";
|
|
1165
|
+
name: JSXElementName;
|
|
1166
|
+
parent?: Node$1;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
declare interface JSXClosingFragment extends Span$1 {
|
|
1170
|
+
type: "JSXClosingFragment";
|
|
1171
|
+
parent?: Node$1;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
declare interface JSXElement$1 extends Span$1 {
|
|
1175
|
+
type: "JSXElement";
|
|
1176
|
+
openingElement: JSXOpeningElement$1;
|
|
1177
|
+
children: Array<JSXChild>;
|
|
1178
|
+
closingElement: JSXClosingElement | null;
|
|
1179
|
+
parent?: Node$1;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
declare type JSXElementName = JSXIdentifier$1 | JSXNamespacedName$1 | JSXMemberExpression$1;
|
|
1183
|
+
|
|
1184
|
+
declare interface JSXEmptyExpression extends Span$1 {
|
|
1185
|
+
type: "JSXEmptyExpression";
|
|
1186
|
+
parent?: Node$1;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
declare type JSXExpression = JSXEmptyExpression | Expression$1;
|
|
1190
|
+
|
|
1191
|
+
declare interface JSXExpressionContainer$1 extends Span$1 {
|
|
1192
|
+
type: "JSXExpressionContainer";
|
|
1193
|
+
expression: JSXExpression;
|
|
1194
|
+
parent?: Node$1;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
declare interface JSXFragment$1 extends Span$1 {
|
|
1198
|
+
type: "JSXFragment";
|
|
1199
|
+
openingFragment: JSXOpeningFragment;
|
|
1200
|
+
children: Array<JSXChild>;
|
|
1201
|
+
closingFragment: JSXClosingFragment;
|
|
1202
|
+
parent?: Node$1;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
declare interface JSXIdentifier$1 extends Span$1 {
|
|
1206
|
+
type: "JSXIdentifier";
|
|
1207
|
+
name: string;
|
|
1208
|
+
parent?: Node$1;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
declare interface JSXMemberExpression$1 extends Span$1 {
|
|
1212
|
+
type: "JSXMemberExpression";
|
|
1213
|
+
object: JSXMemberExpressionObject;
|
|
1214
|
+
property: JSXIdentifier$1;
|
|
1215
|
+
parent?: Node$1;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
declare type JSXMemberExpressionObject = JSXIdentifier$1 | JSXMemberExpression$1;
|
|
1219
|
+
|
|
1220
|
+
declare interface JSXNamespacedName$1 extends Span$1 {
|
|
1221
|
+
type: "JSXNamespacedName";
|
|
1222
|
+
namespace: JSXIdentifier$1;
|
|
1223
|
+
name: JSXIdentifier$1;
|
|
1224
|
+
parent?: Node$1;
|
|
434
1225
|
}
|
|
435
1226
|
|
|
436
|
-
|
|
1227
|
+
declare interface JSXOpeningElement$1 extends Span$1 {
|
|
1228
|
+
type: "JSXOpeningElement";
|
|
1229
|
+
name: JSXElementName;
|
|
1230
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1231
|
+
attributes: Array<JSXAttributeItem>;
|
|
1232
|
+
selfClosing: boolean;
|
|
1233
|
+
parent?: Node$1;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
declare interface JSXOpeningFragment extends Span$1 {
|
|
1237
|
+
type: "JSXOpeningFragment";
|
|
1238
|
+
attributes?: [];
|
|
1239
|
+
selfClosing?: false;
|
|
1240
|
+
parent?: Node$1;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
declare interface JSXSpreadAttribute$1 extends Span$1 {
|
|
1244
|
+
type: "JSXSpreadAttribute";
|
|
1245
|
+
argument: Expression$1;
|
|
1246
|
+
parent?: Node$1;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
declare interface JSXSpreadChild$1 extends Span$1 {
|
|
1250
|
+
type: "JSXSpreadChild";
|
|
1251
|
+
expression: Expression$1;
|
|
1252
|
+
parent?: Node$1;
|
|
1253
|
+
}
|
|
437
1254
|
|
|
438
|
-
|
|
1255
|
+
declare interface JSXText$1 extends Span$1 {
|
|
1256
|
+
type: "JSXText";
|
|
1257
|
+
value: string;
|
|
1258
|
+
raw: string | null;
|
|
1259
|
+
parent?: Node$1;
|
|
1260
|
+
}
|
|
439
1261
|
|
|
440
1262
|
export declare interface KilledMutantRunResult {
|
|
441
1263
|
readonly status: 'killed';
|
|
@@ -444,12 +1266,34 @@ export declare interface KilledMutantRunResult {
|
|
|
444
1266
|
readonly nrOfTests: number;
|
|
445
1267
|
}
|
|
446
1268
|
|
|
447
|
-
/**
|
|
448
|
-
* Known keys filters out the index signature from the keys of a type
|
|
449
|
-
* @see https://stackoverflow.com/questions/51465182/typescript-remove-index-signature-using-mapped-types
|
|
450
|
-
*/
|
|
451
1269
|
export declare type KnownKeys<T> = keyof { [P in keyof T as string extends P ? never : number extends P ? never : P]: T[P]; };
|
|
452
1270
|
|
|
1271
|
+
declare interface LabeledStatement$1 extends Span$1 {
|
|
1272
|
+
type: "LabeledStatement";
|
|
1273
|
+
label: LabelIdentifier$1;
|
|
1274
|
+
body: Statement$1;
|
|
1275
|
+
parent?: Node$1;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
declare interface LabelIdentifier$1 extends Span$1 {
|
|
1279
|
+
type: "Identifier";
|
|
1280
|
+
decorators?: [];
|
|
1281
|
+
name: string;
|
|
1282
|
+
optional?: false;
|
|
1283
|
+
typeAnnotation?: null;
|
|
1284
|
+
parent?: Node$1;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
export declare const loadConfigCell: typeof readConfig;
|
|
1288
|
+
|
|
1289
|
+
export declare interface LoadedPlugins {
|
|
1290
|
+
readonly schemaContributions: readonly Record<string, unknown>[];
|
|
1291
|
+
readonly pluginsByKind: HashMap.HashMap<PluginKind, readonly PluginDescriptor[]>;
|
|
1292
|
+
readonly pluginModulePaths: readonly string[];
|
|
1293
|
+
readonly pluginSources: readonly PluginSource[];
|
|
1294
|
+
readonly ignorers: readonly Ignorer[];
|
|
1295
|
+
}
|
|
1296
|
+
|
|
453
1297
|
export declare type Location = typeof LocationSchema.Type;
|
|
454
1298
|
|
|
455
1299
|
export declare const LocationSchema: S.Struct<{
|
|
@@ -463,14 +1307,63 @@ export declare const LocationSchema: S.Struct<{
|
|
|
463
1307
|
}>;
|
|
464
1308
|
}>;
|
|
465
1309
|
|
|
466
|
-
declare
|
|
1310
|
+
declare interface LogicalExpression$1 extends Span$1 {
|
|
1311
|
+
type: "LogicalExpression";
|
|
1312
|
+
left: Expression$1;
|
|
1313
|
+
operator: LogicalOperator;
|
|
1314
|
+
right: Expression$1;
|
|
1315
|
+
parent?: Node$1;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
declare type LogicalOperator = "||" | "&&" | "??";
|
|
1319
|
+
|
|
1320
|
+
export declare const makeRunLayer: (env: RunEnvironmentShape, events?: Queue.Queue<RunEvent, Cause.Done>) => Layer.Layer<RunStageServices, never, EnginePorts>;
|
|
1321
|
+
|
|
1322
|
+
export declare const makeWorkerClient: <Rpcs extends Rpc.Any>(params: WorkerClientParams<Rpcs>) => Effect.Effect<RpcClient.RpcClient<Rpcs, RpcClientError>, WorkerBootError, Scope.Scope | WorkerLauncher>;
|
|
1323
|
+
|
|
1324
|
+
export declare function matchesFile(pattern: boolean | string, fileName: string, pathService: Path.Path, allowHiddenFiles?: boolean): boolean;
|
|
1325
|
+
|
|
1326
|
+
declare type MemberExpression$1 = ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression;
|
|
1327
|
+
|
|
1328
|
+
export declare class MergeCommand extends MergeCommand_base {}
|
|
1329
|
+
|
|
1330
|
+
declare const MergeCommand_base: S.Class<MergeCommand, S.TaggedStruct<"MergeCommand", {
|
|
1331
|
+
readonly base: S.$Record<S.String, S.Unknown>;
|
|
1332
|
+
readonly overrides: S.$Record<S.String, S.Unknown>;
|
|
1333
|
+
}>, {}>;
|
|
1334
|
+
|
|
1335
|
+
export declare function mergeConfigs(parent: PartialStrykerOptions, child: PartialStrykerOptions): PartialStrykerOptions;
|
|
1336
|
+
|
|
1337
|
+
export declare class MergeResult extends MergeResult_base {}
|
|
1338
|
+
|
|
1339
|
+
declare const MergeResult_base: S.Class<MergeResult, S.TaggedStruct<"MergeResult", {
|
|
1340
|
+
readonly merged: S.$Record<S.String, S.Unknown>;
|
|
1341
|
+
}>, {}>;
|
|
1342
|
+
|
|
1343
|
+
declare interface MetaProperty$1 extends Span$1 {
|
|
1344
|
+
type: "MetaProperty";
|
|
1345
|
+
meta: IdentifierName$1;
|
|
1346
|
+
property: IdentifierName$1;
|
|
1347
|
+
parent?: Node$1;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
declare interface MethodDefinition$1 extends Span$1 {
|
|
1351
|
+
type: MethodDefinitionType;
|
|
1352
|
+
decorators: Array<Decorator$1>;
|
|
1353
|
+
key: PropertyKey_2;
|
|
1354
|
+
value: Function$1;
|
|
1355
|
+
kind: MethodDefinitionKind;
|
|
1356
|
+
computed: boolean;
|
|
1357
|
+
static: boolean;
|
|
1358
|
+
override?: boolean;
|
|
1359
|
+
optional?: boolean;
|
|
1360
|
+
accessibility?: TSAccessibility | null;
|
|
1361
|
+
parent?: Node$1;
|
|
1362
|
+
}
|
|
467
1363
|
|
|
468
|
-
|
|
469
|
-
declare type LogLevel = typeof LogLevel.Type;
|
|
470
|
-
export { LogLevel }
|
|
471
|
-
export { LogLevel as LogLevelType }
|
|
1364
|
+
declare type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
|
|
472
1365
|
|
|
473
|
-
|
|
1366
|
+
declare type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
|
|
474
1367
|
|
|
475
1368
|
export declare type Metrics = typeof MetricsSchema.Type;
|
|
476
1369
|
|
|
@@ -480,29 +1373,6 @@ export declare interface MetricsResult {
|
|
|
480
1373
|
readonly childResults: readonly MetricsResult[];
|
|
481
1374
|
}
|
|
482
1375
|
|
|
483
|
-
export declare const MetricsResultSchema: S.Struct<{
|
|
484
|
-
readonly name: S.String;
|
|
485
|
-
readonly metrics: S.Struct<{
|
|
486
|
-
readonly pending: S.Finite;
|
|
487
|
-
readonly killed: S.Finite;
|
|
488
|
-
readonly timeout: S.Finite;
|
|
489
|
-
readonly survived: S.Finite;
|
|
490
|
-
readonly noCoverage: S.Finite;
|
|
491
|
-
readonly runtimeErrors: S.Finite;
|
|
492
|
-
readonly compileErrors: S.Finite;
|
|
493
|
-
readonly ignored: S.Finite;
|
|
494
|
-
readonly totalDetected: S.Finite;
|
|
495
|
-
readonly totalUndetected: S.Finite;
|
|
496
|
-
readonly totalInvalid: S.Finite;
|
|
497
|
-
readonly totalValid: S.Finite;
|
|
498
|
-
readonly totalMutants: S.Finite;
|
|
499
|
-
readonly totalCovered: S.Finite;
|
|
500
|
-
readonly mutationScore: S.Finite;
|
|
501
|
-
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
502
|
-
}>;
|
|
503
|
-
readonly childResults: S.$Array<S.suspend<S.Codec<MetricsResult, MetricsResult, never, never>>>;
|
|
504
|
-
}>;
|
|
505
|
-
|
|
506
1376
|
export declare const MetricsSchema: S.Struct<{
|
|
507
1377
|
readonly pending: S.Finite;
|
|
508
1378
|
readonly killed: S.Finite;
|
|
@@ -522,39 +1392,13 @@ export declare const MetricsSchema: S.Struct<{
|
|
|
522
1392
|
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
523
1393
|
}>;
|
|
524
1394
|
|
|
525
|
-
export declare
|
|
1395
|
+
export declare type ModeSignal = 'flag' | 'env' | 'tty' | 'agent' | 'tool';
|
|
526
1396
|
|
|
527
|
-
|
|
1397
|
+
declare type ModuleDeclaration = ImportDeclaration$1 | ExportAllDeclaration$1 | ExportDefaultDeclaration$1 | ExportNamedDeclaration$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1;
|
|
528
1398
|
|
|
529
|
-
|
|
530
|
-
* Port over the host module loader, shaped as the subset of `node:module`
|
|
531
|
-
* feature code may use: `createRequire` and `isBuiltin`. Resolving a
|
|
532
|
-
* specifier against a project directory, importing a plugin, and asking
|
|
533
|
-
* whether a name is a builtin all go through this one tag; no feature module
|
|
534
|
-
* touches the host module API. The Node implementation ships in the
|
|
535
|
-
* composition-root package (`@systemfsoftware/stryker-js-cli`); tests that do
|
|
536
|
-
* not need real plugin resolution substitute a layer returning fixed paths.
|
|
537
|
-
*
|
|
538
|
-
* @since 2.0.0
|
|
539
|
-
*/
|
|
540
|
-
export declare class Module extends Module_base {}
|
|
1399
|
+
declare type ModuleExportName = IdentifierName$1 | IdentifierReference$1 | StringLiteral$1;
|
|
541
1400
|
|
|
542
|
-
declare
|
|
543
|
-
readonly createRequire: (filename: string | URL) => ModuleRequire;
|
|
544
|
-
readonly isBuiltin: (moduleName: string) => boolean;
|
|
545
|
-
}>;
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* The subset of `node:module`'s `createRequire` result this port certifies: a
|
|
549
|
-
* require function bound to one path, plus its resolution. Calling it loads
|
|
550
|
-
* the specifier exactly as a module evaluated next to that path would.
|
|
551
|
-
*/
|
|
552
|
-
export declare interface ModuleRequire {
|
|
553
|
-
(request: string): unknown;
|
|
554
|
-
resolve(request: string, options?: {
|
|
555
|
-
readonly paths?: readonly string[];
|
|
556
|
-
}): string;
|
|
557
|
-
}
|
|
1401
|
+
declare type ModuleKind = "script" | "module" | "commonjs";
|
|
558
1402
|
|
|
559
1403
|
export declare class Mutant extends Mutant_base {}
|
|
560
1404
|
|
|
@@ -581,7 +1425,7 @@ declare const Mutant_base: S.Class<Mutant, S.TaggedStruct<"Mutant", {
|
|
|
581
1425
|
readonly description: S.optional<S.String>;
|
|
582
1426
|
}>, {}>;
|
|
583
1427
|
|
|
584
|
-
export declare type MutantActivation =
|
|
1428
|
+
export declare type MutantActivation = typeof MutantActivationSchema.Type;
|
|
585
1429
|
|
|
586
1430
|
export declare const MutantActivationSchema: S.Literals<readonly ["runtime", "static"]>;
|
|
587
1431
|
|
|
@@ -590,11 +1434,6 @@ export declare interface MutantCoverage {
|
|
|
590
1434
|
readonly static: Record<string, number>;
|
|
591
1435
|
}
|
|
592
1436
|
|
|
593
|
-
export declare const MutantCoverageSchema: S.Struct<{
|
|
594
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Finite>>;
|
|
595
|
-
readonly static: S.$Record<S.String, S.Finite>;
|
|
596
|
-
}>;
|
|
597
|
-
|
|
598
1437
|
export declare type MutantResult = typeof MutantResultSchema.Type;
|
|
599
1438
|
|
|
600
1439
|
export declare const MutantResultSchema: S.Struct<{
|
|
@@ -630,50 +1469,12 @@ export declare interface MutantRunOptions extends RunOptions {
|
|
|
630
1469
|
readonly reloadEnvironment: boolean;
|
|
631
1470
|
}
|
|
632
1471
|
|
|
633
|
-
export declare const MutantRunOptionsSchema: S.Struct<{
|
|
634
|
-
readonly timeout: S.Finite;
|
|
635
|
-
readonly disableBail: S.Boolean;
|
|
636
|
-
readonly activeMutant: typeof Mutant;
|
|
637
|
-
readonly sandboxFileName: S.String;
|
|
638
|
-
readonly mutantActivation: S.Literals<readonly ["runtime", "static"]>;
|
|
639
|
-
readonly reloadEnvironment: S.Boolean;
|
|
640
|
-
readonly testFilter: S.optionalKey<S.$Array<S.String>>;
|
|
641
|
-
readonly hitLimit: S.optionalKey<S.Finite>;
|
|
642
|
-
}>;
|
|
643
|
-
|
|
644
|
-
export declare type MutantRunPlan = RunPlan;
|
|
645
|
-
|
|
646
1472
|
export declare type MutantRunResult = ErrorMutantRunResult | KilledMutantRunResult | SurvivedMutantRunResult | TimeoutMutantRunResult;
|
|
647
1473
|
|
|
648
|
-
export declare const MutantRunResultSchema: S.Union<readonly [S.Struct<{
|
|
649
|
-
readonly status: S.Literal<"killed">;
|
|
650
|
-
readonly killedBy: S.$Array<S.String>;
|
|
651
|
-
readonly failureMessage: S.String;
|
|
652
|
-
readonly nrOfTests: S.Finite;
|
|
653
|
-
}>, S.Struct<{
|
|
654
|
-
readonly status: S.Literal<"survived">;
|
|
655
|
-
readonly nrOfTests: S.Finite;
|
|
656
|
-
}>, S.Struct<{
|
|
657
|
-
readonly status: S.Literal<"timeout">;
|
|
658
|
-
readonly reason: S.optionalKey<S.String>;
|
|
659
|
-
}>, S.Struct<{
|
|
660
|
-
readonly status: S.Literal<"error">;
|
|
661
|
-
readonly errorMessage: S.String;
|
|
662
|
-
}>]>;
|
|
663
|
-
|
|
664
|
-
export declare const MutantRunStatus: S.Literals<readonly ["killed", "survived", "timeout", "error"]>;
|
|
665
|
-
|
|
666
|
-
export declare type MutantRunStatus = typeof MutantRunStatus.Type;
|
|
667
|
-
|
|
668
1474
|
export declare type MutantStatus = typeof MutantStatusSchema.Type;
|
|
669
1475
|
|
|
670
1476
|
export declare const MutantStatusSchema: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
671
1477
|
|
|
672
|
-
export declare type MutantTestCoverage = Mutant & {
|
|
673
|
-
readonly coveredBy: ReadonlyArray<string> | undefined;
|
|
674
|
-
readonly static: boolean | undefined;
|
|
675
|
-
};
|
|
676
|
-
|
|
677
1478
|
export declare class MutantTested extends MutantTested_base {}
|
|
678
1479
|
|
|
679
1480
|
declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTested", {
|
|
@@ -703,25 +1504,12 @@ export declare interface MutationRange {
|
|
|
703
1504
|
readonly end: Position;
|
|
704
1505
|
}
|
|
705
1506
|
|
|
706
|
-
export declare
|
|
707
|
-
readonly read: (command: RunCommand) => Effect.Effect<unknown, S.SchemaError, RunIdentity>;
|
|
708
|
-
readonly write: (output: RunOutput) => Effect.Effect<void, S.SchemaError, RunIdentity>;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
export declare class MutationRunPlan extends MutationRunPlan_base {}
|
|
712
|
-
|
|
713
|
-
declare const MutationRunPlan_base: S.Class<MutationRunPlan, S.TaggedStruct<"MutationRunPlan", {
|
|
714
|
-
readonly mutatePatterns: S.$Array<S.String>;
|
|
715
|
-
readonly mutatorNames: S.$Array<S.String>;
|
|
716
|
-
}>, {}>;
|
|
717
|
-
|
|
718
|
-
export declare type MutationScoreThresholds = typeof MutationScoreThresholdsSchema.Type;
|
|
1507
|
+
export declare const mutationTestCell: Cell.Cell<PrepareExecutorArgs, MutationTestDone, StageError, StageServices>;
|
|
719
1508
|
|
|
720
|
-
export declare
|
|
721
|
-
readonly
|
|
722
|
-
readonly
|
|
723
|
-
|
|
724
|
-
}>;
|
|
1509
|
+
export declare interface MutationTestDone {
|
|
1510
|
+
readonly results: readonly RunMutantResult[];
|
|
1511
|
+
readonly verdict: ExitClass | null;
|
|
1512
|
+
}
|
|
725
1513
|
|
|
726
1514
|
export declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
727
1515
|
|
|
@@ -824,739 +1612,1461 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
824
1612
|
}>;
|
|
825
1613
|
}>, {}>;
|
|
826
1614
|
|
|
827
|
-
export declare type MutationTestResult = typeof MutationTestResultSchema.Type;
|
|
1615
|
+
export declare type MutationTestResult = typeof MutationTestResultSchema.Type;
|
|
1616
|
+
|
|
1617
|
+
export declare const MutationTestResultSchema: S.Struct<{
|
|
1618
|
+
readonly schemaVersion: S.String;
|
|
1619
|
+
readonly files: S.$Record<S.String, S.Struct<{
|
|
1620
|
+
readonly language: S.String;
|
|
1621
|
+
readonly source: S.String;
|
|
1622
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
1623
|
+
readonly id: S.String;
|
|
1624
|
+
readonly mutatorName: S.String;
|
|
1625
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
1626
|
+
readonly location: S.Struct<{
|
|
1627
|
+
readonly start: S.Struct<{
|
|
1628
|
+
readonly line: S.Finite;
|
|
1629
|
+
readonly column: S.Finite;
|
|
1630
|
+
}>;
|
|
1631
|
+
readonly end: S.Struct<{
|
|
1632
|
+
readonly line: S.Finite;
|
|
1633
|
+
readonly column: S.Finite;
|
|
1634
|
+
}>;
|
|
1635
|
+
}>;
|
|
1636
|
+
readonly replacement: S.optional<S.String>;
|
|
1637
|
+
readonly description: S.optional<S.String>;
|
|
1638
|
+
readonly statusReason: S.optional<S.String>;
|
|
1639
|
+
readonly static: S.optional<S.Boolean>;
|
|
1640
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1641
|
+
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1642
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
1643
|
+
readonly duration: S.optional<S.Finite>;
|
|
1644
|
+
}>>;
|
|
1645
|
+
}>>;
|
|
1646
|
+
readonly thresholds: S.Struct<{
|
|
1647
|
+
readonly high: S.Finite;
|
|
1648
|
+
readonly low: S.Finite;
|
|
1649
|
+
}>;
|
|
1650
|
+
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
1651
|
+
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
1652
|
+
readonly source: S.optional<S.String>;
|
|
1653
|
+
readonly tests: S.$Array<S.Struct<{
|
|
1654
|
+
readonly id: S.String;
|
|
1655
|
+
readonly name: S.String;
|
|
1656
|
+
readonly location: S.optional<S.Struct<{
|
|
1657
|
+
readonly start: S.Struct<{
|
|
1658
|
+
readonly line: S.Finite;
|
|
1659
|
+
readonly column: S.Finite;
|
|
1660
|
+
}>;
|
|
1661
|
+
readonly end: S.optional<S.Struct<{
|
|
1662
|
+
readonly line: S.Finite;
|
|
1663
|
+
readonly column: S.Finite;
|
|
1664
|
+
}>>;
|
|
1665
|
+
}>>;
|
|
1666
|
+
}>>;
|
|
1667
|
+
}>>>;
|
|
1668
|
+
readonly projectRoot: S.optional<S.String>;
|
|
1669
|
+
readonly framework: S.optional<S.Struct<{
|
|
1670
|
+
readonly name: S.String;
|
|
1671
|
+
readonly version: S.optional<S.String>;
|
|
1672
|
+
readonly branding: S.optional<S.Struct<{
|
|
1673
|
+
readonly homepageUrl: S.String;
|
|
1674
|
+
readonly imageUrl: S.optional<S.String>;
|
|
1675
|
+
}>>;
|
|
1676
|
+
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
1677
|
+
}>>;
|
|
1678
|
+
}>;
|
|
1679
|
+
|
|
1680
|
+
declare interface NewExpression$1 extends Span$1 {
|
|
1681
|
+
type: "NewExpression";
|
|
1682
|
+
callee: Expression$1;
|
|
1683
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1684
|
+
arguments: Array<Argument$1>;
|
|
1685
|
+
parent?: Node$1;
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
declare type Node$1 = Program$1 | IdentifierName$1 | IdentifierReference$1 | BindingIdentifier$1 | LabelIdentifier$1 | ThisExpression$1 | ArrayExpression$1 | ObjectExpression$1 | ObjectProperty$1 | TemplateLiteral$1 | TaggedTemplateExpression$1 | TemplateElement$1 | ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression | CallExpression$1 | NewExpression$1 | MetaProperty$1 | SpreadElement$1 | UpdateExpression$1 | UnaryExpression$1 | BinaryExpression$1 | PrivateInExpression$1 | LogicalExpression$1 | ConditionalExpression$1 | AssignmentExpression$1 | ArrayAssignmentTarget | ObjectAssignmentTarget | AssignmentTargetRest | AssignmentTargetWithDefault | AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty | SequenceExpression$1 | Super$1 | AwaitExpression | ChainExpression$1 | ParenthesizedExpression | Directive | Hashbang | BlockStatement$1 | VariableDeclaration$1 | VariableDeclarator$1 | EmptyStatement$1 | ExpressionStatement$1 | IfStatement$1 | DoWhileStatement$1 | WhileStatement$1 | ForStatement$1 | ForInStatement$1 | ForOfStatement$1 | ContinueStatement$1 | BreakStatement$1 | ReturnStatement$1 | WithStatement$1 | SwitchStatement$1 | SwitchCase$1 | LabeledStatement$1 | ThrowStatement$1 | TryStatement$1 | CatchClause$1 | DebuggerStatement | AssignmentPattern$1 | ObjectPattern | BindingProperty$1 | ArrayPattern$1 | BindingRestElement$1 | Function$1 | FunctionBody | ArrowFunctionExpression$1 | YieldExpression$1 | Class$1 | ClassBody$1 | MethodDefinition$1 | PropertyDefinition$1 | PrivateIdentifier$1 | StaticBlock$1 | AccessorProperty$1 | ImportExpression$1 | ImportDeclaration$1 | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportAttribute$1 | ExportNamedDeclaration$1 | ExportDefaultDeclaration$1 | ExportAllDeclaration$1 | ExportSpecifier | V8IntrinsicExpression | BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | StringLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | JSXElement$1 | JSXOpeningElement$1 | JSXClosingElement | JSXFragment$1 | JSXOpeningFragment | JSXClosingFragment | JSXNamespacedName$1 | JSXMemberExpression$1 | JSXExpressionContainer$1 | JSXEmptyExpression | JSXAttribute$1 | JSXSpreadAttribute$1 | JSXIdentifier$1 | JSXSpreadChild$1 | JSXText$1 | TSThisParameter | TSEnumDeclaration$1 | TSEnumBody | TSEnumMember | TSTypeAnnotation$1 | TSLiteralType$1 | TSConditionalType$1 | TSUnionType$1 | TSIntersectionType$1 | TSParenthesizedType$1 | TSTypeOperator$1 | TSArrayType$1 | TSIndexedAccessType$1 | TSTupleType$1 | TSNamedTupleMember$1 | TSOptionalType$1 | TSRestType$1 | TSAnyKeyword | TSStringKeyword | TSBooleanKeyword | TSNumberKeyword | TSNeverKeyword | TSIntrinsicKeyword | TSUnknownKeyword | TSNullKeyword | TSUndefinedKeyword | TSVoidKeyword | TSSymbolKeyword | TSThisType | TSObjectKeyword | TSBigIntKeyword | TSTypeReference$1 | TSQualifiedName$1 | TSTypeParameterInstantiation$1 | TSTypeParameter | TSTypeParameterDeclaration$1 | TSTypeAliasDeclaration$1 | TSClassImplements | TSInterfaceDeclaration$1 | TSInterfaceBody$1 | TSPropertySignature$1 | TSIndexSignature$1 | TSCallSignatureDeclaration$1 | TSMethodSignature$1 | TSConstructSignatureDeclaration$1 | TSIndexSignatureName | TSInterfaceHeritage | TSTypePredicate$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSModuleBlock$1 | TSTypeLiteral | TSInferType$1 | TSTypeQuery$1 | TSImportType$1 | TSImportTypeQualifiedName | TSFunctionType$1 | TSConstructorType$1 | TSMappedType$1 | TSTemplateLiteralType$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSImportEqualsDeclaration$1 | TSExternalModuleReference | TSNonNullExpression$1 | Decorator$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1 | TSInstantiationExpression$1 | JSDocNullableType$1 | JSDocNonNullableType$1 | JSDocUnknownType | ParamPattern$1;
|
|
1689
|
+
|
|
1690
|
+
declare type Node_2 = Simplify<Built<Node$1>> | Node$1;
|
|
1691
|
+
|
|
1692
|
+
declare interface NullLiteral$1 extends Span$1 {
|
|
1693
|
+
type: "Literal";
|
|
1694
|
+
value: null;
|
|
1695
|
+
raw: "null" | null;
|
|
1696
|
+
parent?: Node$1;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
declare interface NumericLiteral$1 extends Span$1 {
|
|
1700
|
+
type: "Literal";
|
|
1701
|
+
value: number;
|
|
1702
|
+
raw: string | null;
|
|
1703
|
+
parent?: Node$1;
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
declare interface ObjectAssignmentTarget extends Span$1 {
|
|
1707
|
+
type: "ObjectPattern";
|
|
1708
|
+
decorators?: [];
|
|
1709
|
+
properties: Array<AssignmentTargetProperty | AssignmentTargetRest>;
|
|
1710
|
+
optional?: false;
|
|
1711
|
+
typeAnnotation?: null;
|
|
1712
|
+
parent?: Node$1;
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
declare interface ObjectExpression$1 extends Span$1 {
|
|
1716
|
+
type: "ObjectExpression";
|
|
1717
|
+
properties: Array<ObjectPropertyKind>;
|
|
1718
|
+
parent?: Node$1;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
declare interface ObjectPattern extends Span$1 {
|
|
1722
|
+
type: "ObjectPattern";
|
|
1723
|
+
decorators?: [];
|
|
1724
|
+
properties: Array<BindingProperty$1 | BindingRestElement$1>;
|
|
1725
|
+
optional?: false;
|
|
1726
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1727
|
+
parent?: Node$1;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
declare interface ObjectProperty$1 extends Span$1 {
|
|
1731
|
+
type: "Property";
|
|
1732
|
+
kind: PropertyKind;
|
|
1733
|
+
key: PropertyKey_2;
|
|
1734
|
+
value: Expression$1;
|
|
1735
|
+
method: boolean;
|
|
1736
|
+
shorthand: boolean;
|
|
1737
|
+
computed: boolean;
|
|
1738
|
+
optional?: false;
|
|
1739
|
+
parent?: Node$1;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
declare type ObjectPropertyKind = ObjectProperty$1 | SpreadElement$1;
|
|
1743
|
+
|
|
1744
|
+
export declare const optionsPath: (...path: string[]) => string;
|
|
1745
|
+
|
|
1746
|
+
export declare class OutOfMemoryError extends OutOfMemoryError_base {
|
|
1747
|
+
readonly exitClass: 'RuntimeError';
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
declare const OutOfMemoryError_base: Schema.Class<OutOfMemoryError, Schema.TaggedStruct<"OutOfMemoryError", {
|
|
1751
|
+
readonly pid: Schema.Int;
|
|
1752
|
+
readonly exitCode: Schema.Int;
|
|
1753
|
+
}>, YieldableError>;
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Mode type vocabulary shared with the CLI package. Runtime resolution
|
|
1757
|
+
* (`resolveMode`) and gate functions (`isProgressEnabled`, `isColorEnabled`)
|
|
1758
|
+
* live in the CLI; the `ResolvedMode` fields (`mode`, `signal`,
|
|
1759
|
+
* `stdoutIsTTY`) ride along in `VerdictEnvelope` (`verdict-envelope.ts`),
|
|
1760
|
+
* so the types stay where the data does.
|
|
1761
|
+
*/
|
|
1762
|
+
export declare type OutputMode = 'human' | 'machine';
|
|
1763
|
+
|
|
1764
|
+
declare type ParamPattern$1 = FormalParameter | TSParameterProperty | FormalParameterRest;
|
|
1765
|
+
|
|
1766
|
+
declare interface ParenthesizedExpression extends Span$1 {
|
|
1767
|
+
type: "ParenthesizedExpression";
|
|
1768
|
+
expression: Expression$1;
|
|
1769
|
+
parent?: Node$1;
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* The deep-partial input type: when configuring Stryker, every option is
|
|
1774
|
+
* optional, including deep properties like `dashboard.project`.
|
|
1775
|
+
*/
|
|
1776
|
+
export declare type PartialStrykerOptions = DeepOptional<StrykerOptions>;
|
|
1777
|
+
|
|
1778
|
+
export declare interface PassedCheckResult {
|
|
1779
|
+
readonly status: 'passed';
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
export declare class PhaseEntered extends PhaseEntered_base {}
|
|
1783
|
+
|
|
1784
|
+
declare const PhaseEntered_base: S.Class<PhaseEntered, S.TaggedStruct<"phase", {
|
|
1785
|
+
readonly phase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
|
|
1786
|
+
readonly elapsedMs: S.Finite;
|
|
1787
|
+
}>, {}>;
|
|
1788
|
+
|
|
1789
|
+
export declare class PlanKnown extends PlanKnown_base {}
|
|
1790
|
+
|
|
1791
|
+
declare const PlanKnown_base: S.Class<PlanKnown, S.TaggedStruct<"plan", {
|
|
1792
|
+
readonly total: S.Finite;
|
|
1793
|
+
}>, {}>;
|
|
1794
|
+
|
|
1795
|
+
export declare type PluginDescriptor<K extends PluginKind = PluginKind> = PluginDescriptorOf<K>;
|
|
1796
|
+
|
|
1797
|
+
export declare type PluginDescriptorOf<K extends PluginKind> = Extract<AnyPluginDescriptor, {
|
|
1798
|
+
readonly kind: K;
|
|
1799
|
+
}>;
|
|
1800
|
+
|
|
1801
|
+
export declare type PluginKind = WorkerPluginKind | 'Evaluator';
|
|
1802
|
+
|
|
1803
|
+
export declare type PluginSource = AnyWorkerPluginSource | EvaluatorPluginSource;
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* A test runner in a child process, whose calls can fail the way a child process
|
|
1807
|
+
* fails.
|
|
1808
|
+
*
|
|
1809
|
+
* Wider than `TestRunnerService` on purpose. That port's error channel is
|
|
1810
|
+
* `TestRunnerFailed`, which is right for a runner living in this process — but
|
|
1811
|
+
* folding a crash into it erases the tag a pool retires a worker on, so
|
|
1812
|
+
* `Pool.invalidate` could never fire and a dead worker would be handed out again.
|
|
1813
|
+
* A `WorkerMethodError` is the runner genuinely failing and does become a
|
|
1814
|
+
* `TestRunnerFailed`; a crash or an OOM is the worker dying, and stays itself.
|
|
1815
|
+
*/
|
|
1816
|
+
export declare interface PooledTestRunner {
|
|
1817
|
+
readonly capabilities: Effect.Effect<TestRunnerCapabilities, PooledTestRunnerError>;
|
|
1818
|
+
readonly init: Effect.Effect<void, PooledTestRunnerError>;
|
|
1819
|
+
readonly dryRun: (options: DryRunOptions) => Effect.Effect<DryRunResult, PooledTestRunnerError>;
|
|
1820
|
+
readonly mutantRun: (options: MutantRunOptions) => Effect.Effect<MutantRunResult, PooledTestRunnerError>;
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
/** How a call on a pooled worker can fail. */
|
|
1824
|
+
export declare type PooledTestRunnerError = TestRunnerFailed | ChildProcessCrashedError | OutOfMemoryError;
|
|
1825
|
+
|
|
1826
|
+
export declare type Position = typeof PositionSchema.Type;
|
|
1827
|
+
|
|
1828
|
+
export declare const PositionSchema: S.Struct<{
|
|
1829
|
+
readonly line: S.Finite;
|
|
1830
|
+
readonly column: S.Finite;
|
|
1831
|
+
}>;
|
|
1832
|
+
|
|
1833
|
+
export declare interface PrepareDone {
|
|
1834
|
+
readonly project: Project;
|
|
1835
|
+
readonly loadedPlugins: LoadedPlugins;
|
|
1836
|
+
readonly ignorers: readonly Ignorer[];
|
|
1837
|
+
readonly options: StrykerOptions;
|
|
1838
|
+
readonly temporaryDirectoryPath: string;
|
|
1839
|
+
readonly reporterStage: ReporterStage;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
export declare interface PrepareExecutorArgs {
|
|
1843
|
+
cliOptions: PartialStrykerOptions;
|
|
1844
|
+
targetMutatePatterns: string[] | undefined;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
export declare type Primitive = boolean | number | string | null | undefined;
|
|
1848
|
+
|
|
1849
|
+
declare interface PrivateFieldExpression extends Span$1 {
|
|
1850
|
+
type: "MemberExpression";
|
|
1851
|
+
object: Expression$1;
|
|
1852
|
+
property: PrivateIdentifier$1;
|
|
1853
|
+
optional: boolean;
|
|
1854
|
+
computed: false;
|
|
1855
|
+
parent?: Node$1;
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
declare interface PrivateIdentifier$1 extends Span$1 {
|
|
1859
|
+
type: "PrivateIdentifier";
|
|
1860
|
+
name: string;
|
|
1861
|
+
parent?: Node$1;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
declare interface PrivateInExpression$1 extends Span$1 {
|
|
1865
|
+
type: "BinaryExpression";
|
|
1866
|
+
left: PrivateIdentifier$1;
|
|
1867
|
+
operator: "in";
|
|
1868
|
+
right: Expression$1;
|
|
1869
|
+
parent?: Node$1;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
declare interface Program$1 extends Span$1 {
|
|
1873
|
+
type: "Program";
|
|
1874
|
+
body: Array<Directive | Statement$1>;
|
|
1875
|
+
sourceType: ModuleKind;
|
|
1876
|
+
hashbang: Hashbang | null;
|
|
1877
|
+
parent?: null;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
export declare interface Project {
|
|
1881
|
+
readonly fileDescriptions: FileDescriptions;
|
|
1882
|
+
readonly incrementalReport: MutationTestResult | undefined;
|
|
1883
|
+
readonly testFiles: readonly string[];
|
|
1884
|
+
readonly files: MutableHashMap.MutableHashMap<string, ProjectFile>;
|
|
1885
|
+
readonly filesToMutate: MutableHashMap.MutableHashMap<string, ProjectFile>;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
export declare interface ProjectFile extends FileDescription {
|
|
1889
|
+
readonly name: string;
|
|
1890
|
+
readonly mutate: MutateDescription;
|
|
1891
|
+
readonly content: string | undefined;
|
|
1892
|
+
readonly originalContent: string | undefined;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
declare class PropagatedTrace extends PropagatedTrace_base {}
|
|
1896
|
+
|
|
1897
|
+
declare const PropagatedTrace_base: Context.ServiceClass<PropagatedTrace, "@systemfsoftware/stryker-js-plugin-interface/TraceContextRpc/PropagatedTrace", Option.Option<TraceContextParts>>;
|
|
1898
|
+
|
|
1899
|
+
declare interface PropertyDefinition$1 extends Span$1 {
|
|
1900
|
+
type: PropertyDefinitionType;
|
|
1901
|
+
decorators: Array<Decorator$1>;
|
|
1902
|
+
key: PropertyKey_2;
|
|
1903
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1904
|
+
value: Expression$1 | null;
|
|
1905
|
+
computed: boolean;
|
|
1906
|
+
static: boolean;
|
|
1907
|
+
declare?: boolean;
|
|
1908
|
+
override?: boolean;
|
|
1909
|
+
optional?: boolean;
|
|
1910
|
+
definite?: boolean;
|
|
1911
|
+
readonly?: boolean;
|
|
1912
|
+
accessibility?: TSAccessibility | null;
|
|
1913
|
+
parent?: Node$1;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
declare type PropertyDefinitionType = "PropertyDefinition" | "TSAbstractPropertyDefinition";
|
|
1917
|
+
|
|
1918
|
+
declare type PropertyKey_2 = IdentifierName$1 | PrivateIdentifier$1 | Expression$1;
|
|
1919
|
+
|
|
1920
|
+
declare type PropertyKind = "init" | "get" | "set";
|
|
1921
|
+
|
|
1922
|
+
export declare function readConfig(cliOptions: PartialStrykerOptions, invocation: ConfigInvocation): Effect.Effect<StrykerOptions, ConfigFileNotFoundError | ConfigFileUnreadableError | ConfigFileInvalidError | ConfigFileUnsupportedError, FileSystem.FileSystem | Path.Path>;
|
|
1923
|
+
|
|
1924
|
+
export declare class ReadConfigCommand extends ReadConfigCommand_base {}
|
|
1925
|
+
|
|
1926
|
+
declare const ReadConfigCommand_base: S.Class<ReadConfigCommand, S.TaggedStruct<"ReadConfigCommand", {
|
|
1927
|
+
readonly cliOptions: S.$Record<S.String, S.Unknown>;
|
|
1928
|
+
readonly basePath: S.String;
|
|
1929
|
+
}>, {}>;
|
|
1930
|
+
|
|
1931
|
+
declare interface RegExpLiteral$1 extends Span$1 {
|
|
1932
|
+
type: "Literal";
|
|
1933
|
+
value: RegExp | null;
|
|
1934
|
+
raw: string | null;
|
|
1935
|
+
regex: {
|
|
1936
|
+
pattern: string;
|
|
1937
|
+
flags: string;
|
|
1938
|
+
};
|
|
1939
|
+
parent?: Node$1;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
export declare const REPORTER_EVENT_BATCH_BOUND = 128;
|
|
1943
|
+
|
|
1944
|
+
export declare const ReporterAck: S.Void;
|
|
1945
|
+
|
|
1946
|
+
export declare const ReporterDrained: S.Void;
|
|
1947
|
+
|
|
1948
|
+
export declare type ReporterEvent = DryRunCompleted | MutationTestingPlanReady | MutantTested | MutationTestReportReady;
|
|
1949
|
+
|
|
1950
|
+
export declare const ReporterEventBatch: S.$Array<S.Union<readonly [typeof DryRunCompleted, typeof MutationTestingPlanReady, typeof MutantTested, typeof MutationTestReportReady]>>;
|
|
1951
|
+
|
|
1952
|
+
export declare type ReporterEventBatch = typeof ReporterEventBatch.Type;
|
|
1953
|
+
|
|
1954
|
+
export declare type ReporterFactory = (options: StrykerOptions, init: ReporterInit) => (events: AsyncIterable<ReporterEvent>) => Effect.Effect<void, ReporterFailed>;
|
|
1955
|
+
|
|
1956
|
+
export declare class ReporterFailed extends ReporterFailed_base {}
|
|
1957
|
+
|
|
1958
|
+
declare const ReporterFailed_base: S.Class<ReporterFailed, S.TaggedStruct<"ReporterFailed", {
|
|
1959
|
+
readonly cause: S.String;
|
|
1960
|
+
readonly event: S.Literals<readonly ["dryRunCompleted", "mutationTestingPlanReady", "mutantTested", "mutationTestReportReady"]>;
|
|
1961
|
+
readonly reporterName: S.String;
|
|
1962
|
+
}>, YieldableError>;
|
|
1963
|
+
|
|
1964
|
+
export declare interface ReporterInit {
|
|
1965
|
+
readonly traceparent?: string | undefined;
|
|
1966
|
+
readonly tracestate?: string | undefined;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
export declare const ReporterInitOptions: S.Struct<{
|
|
1970
|
+
readonly traceparent: S.optionalKey<S.String>;
|
|
1971
|
+
readonly tracestate: S.optionalKey<S.String>;
|
|
1972
|
+
}>;
|
|
1973
|
+
|
|
1974
|
+
export declare type ReporterInitOptions = typeof ReporterInitOptions.Type;
|
|
1975
|
+
|
|
1976
|
+
export declare const ReporterRpcs: RpcGroup.RpcGroup<TracedRpc<'init', typeof ReporterInitOptions, typeof ReporterAck, typeof ReporterFailed> | TracedRpc<'onEventBatch', typeof ReporterEventBatch, typeof ReporterAck, typeof ReporterFailed> | TracedRpc<'flush', Schema.Void, typeof ReporterDrained, typeof ReporterFailed>>;
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* An attached reporter stage, opaque at the engine boundary: the published
|
|
1980
|
+
* phase types carry this handle so the attachment machinery (queues, fibers,
|
|
1981
|
+
* the state latch) never reaches an adopter's compiler. Constructed only by
|
|
1982
|
+
* `attachReporterFactories`.
|
|
1983
|
+
*/
|
|
1984
|
+
export declare interface ReporterStage {
|
|
1985
|
+
readonly [ReporterStageTypeId]: typeof ReporterStageTypeId;
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
declare const ReporterStageTypeId: unique symbol;
|
|
1989
|
+
|
|
1990
|
+
export declare type ReporterWorkerClient = RpcClient.RpcClient<RpcGroup.Rpcs<typeof ReporterRpcs>, RpcClientError>;
|
|
1991
|
+
|
|
1992
|
+
export declare const reporterWorkerFactory: (client: ReporterWorkerClient) => ReporterFactory;
|
|
1993
|
+
|
|
1994
|
+
export declare interface ResolvedMode {
|
|
1995
|
+
readonly mode: OutputMode;
|
|
1996
|
+
readonly signal: ModeSignal;
|
|
1997
|
+
readonly stdoutIsTTY: boolean;
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
export declare function resolveExitCode(pending: Iterable<ExitClass>, signal: number | null): number;
|
|
2001
|
+
|
|
2002
|
+
export declare function resolveExtends(configFile: string, document: PartialStrykerOptions, configEnv: ConfigEnv): Effect.Effect<PartialStrykerOptions, ConfigFileUnreadableError | ConfigFileInvalidError | ConfigFileUnsupportedError, Path.Path>;
|
|
2003
|
+
|
|
2004
|
+
declare interface ReturnStatement$1 extends Span$1 {
|
|
2005
|
+
type: "ReturnStatement";
|
|
2006
|
+
argument: Expression$1 | null;
|
|
2007
|
+
parent?: Node$1;
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
export declare const RUN_EVENTS_QUEUE_BOUND = 256;
|
|
2011
|
+
|
|
2012
|
+
export declare class RunEnvironment extends RunEnvironment_base {}
|
|
2013
|
+
|
|
2014
|
+
declare const RunEnvironment_base: Context.ServiceClass<RunEnvironment, "@systemfsoftware/stryker-js/run/RunEnvironment", RunEnvironmentShape>;
|
|
2015
|
+
|
|
2016
|
+
export declare interface RunEnvironmentShape {
|
|
2017
|
+
readonly runId: string;
|
|
2018
|
+
readonly resolvedMode: ResolvedMode;
|
|
2019
|
+
readonly runStartedAt: number;
|
|
2020
|
+
readonly basePath: string;
|
|
2021
|
+
readonly builtinReporters: Readonly<Record<string, ReporterFactory>>;
|
|
2022
|
+
readonly allowConsoleColors: boolean;
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
export declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof RunMutantTested, typeof Heartbeat, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]>;
|
|
2026
|
+
|
|
2027
|
+
export declare type RunEvent = typeof RunEvent.Type;
|
|
2028
|
+
|
|
2029
|
+
export declare class RunEvents extends RunEvents_base {}
|
|
2030
|
+
|
|
2031
|
+
declare const RunEvents_base: Context.ServiceClass<RunEvents, "@systemfsoftware/stryker-js/RunEvents", Queue.Queue<Heartbeat | HelpRendered | PhaseEntered | PlanKnown | RunFailed | RunMutantTested | RunStarted | VerdictReached, Cause.Done<void>>>;
|
|
2032
|
+
|
|
2033
|
+
export declare class RunFailed extends RunFailed_base {}
|
|
2034
|
+
|
|
2035
|
+
declare const RunFailed_base: S.Class<RunFailed, S.TaggedStruct<"error", {
|
|
2036
|
+
readonly schemaVersion: S.String;
|
|
2037
|
+
readonly code: S.Finite;
|
|
2038
|
+
readonly error: S.String;
|
|
2039
|
+
readonly remediation: S.String;
|
|
2040
|
+
}>, {}>;
|
|
2041
|
+
|
|
2042
|
+
export declare class RunIdentity extends RunIdentity_base {}
|
|
2043
|
+
|
|
2044
|
+
declare const RunIdentity_base: Context.ServiceClass<RunIdentity, "@systemfsoftware/stryker-js/RunEvents/RunIdentity", RunIdentityShape>;
|
|
2045
|
+
|
|
2046
|
+
export declare interface RunIdentityShape {
|
|
2047
|
+
readonly runId: string;
|
|
2048
|
+
readonly basePath: string;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
export declare type RunMutantResult = Mutant & {
|
|
2052
|
+
readonly status: MutantStatus;
|
|
2053
|
+
readonly statusReason?: string | undefined;
|
|
2054
|
+
readonly testsCompleted?: number | undefined;
|
|
2055
|
+
readonly killedBy?: readonly string[] | undefined;
|
|
2056
|
+
readonly coveredBy?: readonly string[] | undefined;
|
|
2057
|
+
readonly static?: boolean | undefined;
|
|
2058
|
+
};
|
|
2059
|
+
|
|
2060
|
+
export declare class RunMutantTested extends RunMutantTested_base {}
|
|
2061
|
+
|
|
2062
|
+
declare const RunMutantTested_base: S.Class<RunMutantTested, S.TaggedStruct<"mutant", {
|
|
2063
|
+
readonly id: S.String;
|
|
2064
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
2065
|
+
readonly file: S.String;
|
|
2066
|
+
readonly location: S.Struct<{
|
|
2067
|
+
readonly start: S.Struct<{
|
|
2068
|
+
readonly line: S.Finite;
|
|
2069
|
+
readonly column: S.Finite;
|
|
2070
|
+
}>;
|
|
2071
|
+
readonly end: S.Struct<{
|
|
2072
|
+
readonly line: S.Finite;
|
|
2073
|
+
readonly column: S.Finite;
|
|
2074
|
+
}>;
|
|
2075
|
+
}>;
|
|
2076
|
+
readonly mutator: S.String;
|
|
2077
|
+
readonly replacement: S.NullOr<S.String>;
|
|
2078
|
+
readonly completed: S.Finite;
|
|
2079
|
+
readonly total: S.Finite;
|
|
2080
|
+
}>, {}>;
|
|
2081
|
+
|
|
2082
|
+
export declare interface RunOptions {
|
|
2083
|
+
readonly timeout: number;
|
|
2084
|
+
readonly disableBail: boolean;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
export declare const RunPhase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
|
|
2088
|
+
|
|
2089
|
+
export declare type RunPhase = typeof RunPhase.Type;
|
|
2090
|
+
|
|
2091
|
+
export declare interface RunPlan {
|
|
2092
|
+
readonly plan: 'Run';
|
|
2093
|
+
readonly mutant: Mutant;
|
|
2094
|
+
readonly runOptions: MutantRunOptions;
|
|
2095
|
+
readonly netTime: number;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
export declare type RunStageServices = RunEnvironment | RunEvents | IdGenerator | Scope.Scope;
|
|
2099
|
+
|
|
2100
|
+
export declare class RunStarted extends RunStarted_base {}
|
|
2101
|
+
|
|
2102
|
+
declare const RunStarted_base: S.Class<RunStarted, S.TaggedStruct<"stream", {
|
|
2103
|
+
readonly schemaVersion: S.String;
|
|
2104
|
+
readonly runId: S.String;
|
|
2105
|
+
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
2106
|
+
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
2107
|
+
}>, {}>;
|
|
2108
|
+
|
|
2109
|
+
export declare type RunTerminalEvent = VerdictReached | RunFailed | HelpRendered;
|
|
2110
|
+
|
|
2111
|
+
export declare interface SandboxHandle {
|
|
2112
|
+
readonly workingDirectory: string;
|
|
2113
|
+
readonly sandboxFileFor: (fileName: string) => string;
|
|
2114
|
+
readonly originalFileFor: (sandboxFileName: string) => string;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
declare interface SequenceExpression$1 extends Span$1 {
|
|
2118
|
+
type: "SequenceExpression";
|
|
2119
|
+
expressions: Array<Expression$1>;
|
|
2120
|
+
parent?: Node$1;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
export declare const shouldKeepTempDir: (exit: Exit.Exit<unknown, unknown>, cleanTempDir: 'always' | boolean) => boolean;
|
|
2124
|
+
|
|
2125
|
+
declare type SimpleAssignmentTarget$1 = IdentifierReference$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSNonNullExpression$1 | TSTypeAssertion$1 | MemberExpression$1;
|
|
2126
|
+
|
|
2127
|
+
declare type Simplify<T> = { [K in keyof T]: T[K]; } & {};
|
|
2128
|
+
|
|
2129
|
+
export declare interface SkippedTestResult extends BaseTestResult {
|
|
2130
|
+
readonly status: 'skipped';
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
declare interface Span$1 {
|
|
2134
|
+
start: number;
|
|
2135
|
+
end: number;
|
|
2136
|
+
range?: [number, number];
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
export declare interface SpawnedSocketWorker {
|
|
2140
|
+
readonly pid: number;
|
|
2141
|
+
readonly clientLayer: Layer.Layer<RpcClient.Protocol, Socket.SocketError>;
|
|
2142
|
+
readonly exited: Effect.Effect<never, WorkerExit>;
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
export declare const spawnReporterWorker: (params: SpawnReporterWorkerParams) => Effect.Effect<ReporterWorkerClient, WorkerBootError, Scope.Scope | WorkerLauncher>;
|
|
2146
|
+
|
|
2147
|
+
export declare interface SpawnReporterWorkerParams {
|
|
2148
|
+
readonly entrypoint: string;
|
|
2149
|
+
readonly projectBasePath: string;
|
|
2150
|
+
readonly execArgv: readonly string[];
|
|
2151
|
+
readonly options: StrykerOptions;
|
|
2152
|
+
readonly tempDirPrefix: string;
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
declare interface SpreadElement$1 extends Span$1 {
|
|
2156
|
+
type: "SpreadElement";
|
|
2157
|
+
argument: Expression$1;
|
|
2158
|
+
parent?: Node$1;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
export declare class StageError extends StageError_base {
|
|
2162
|
+
readonly [TypeId]: "~stryker/mutation-run/StageError";
|
|
2163
|
+
get exitClass(): ExitClass;
|
|
2164
|
+
get message(): string;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
declare const StageError_base: S.Class<StageError, S.TaggedStruct<"StageError", {
|
|
2168
|
+
readonly stage: S.Literals<readonly ["prepare", "instrument", "dryRun", "dryRunNoTests", "mutationTest"]>;
|
|
2169
|
+
readonly reason: S.String;
|
|
2170
|
+
readonly cause: S.optional<S.Defect>;
|
|
2171
|
+
readonly command: S.optional<S.String>;
|
|
2172
|
+
}>, YieldableError>;
|
|
2173
|
+
|
|
2174
|
+
export declare type StageServices = ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | IdGenerator | Path.Path | RunEnvironment | RunEvents | Scope.Scope | Stdio.Stdio | WorkerLauncher;
|
|
2175
|
+
|
|
2176
|
+
declare type Statement$1 = BlockStatement$1 | BreakStatement$1 | ContinueStatement$1 | DebuggerStatement | DoWhileStatement$1 | EmptyStatement$1 | ExpressionStatement$1 | ForInStatement$1 | ForOfStatement$1 | ForStatement$1 | IfStatement$1 | LabeledStatement$1 | ReturnStatement$1 | SwitchStatement$1 | ThrowStatement$1 | TryStatement$1 | WhileStatement$1 | WithStatement$1 | Declaration | ModuleDeclaration;
|
|
2177
|
+
|
|
2178
|
+
declare interface StaticBlock$1 extends Span$1 {
|
|
2179
|
+
type: "StaticBlock";
|
|
2180
|
+
body: Array<Statement$1>;
|
|
2181
|
+
parent?: Node$1;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
declare interface StaticMemberExpression$1 extends Span$1 {
|
|
2185
|
+
type: "MemberExpression";
|
|
2186
|
+
object: Expression$1;
|
|
2187
|
+
property: IdentifierName$1;
|
|
2188
|
+
optional: boolean;
|
|
2189
|
+
computed: false;
|
|
2190
|
+
parent?: Node$1;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
declare interface StringLiteral$1 extends Span$1 {
|
|
2194
|
+
type: "Literal";
|
|
2195
|
+
value: string;
|
|
2196
|
+
raw: string | null;
|
|
2197
|
+
parent?: Node$1;
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
export declare const strykerCell: (options: PartialStrykerOptions, targetMutatePatterns?: readonly string[]) => Effect.Effect<MutationTestDone, StageError | PlatformError, FileSystem.FileSystem | Path.Path | Stdio.Stdio>;
|
|
2201
|
+
|
|
2202
|
+
export declare class StrykerError extends StrykerError_base {}
|
|
2203
|
+
|
|
2204
|
+
declare const StrykerError_base: Schema.Class<StrykerError, Schema.TaggedStruct<"StrykerError", {
|
|
2205
|
+
readonly message: Schema.String;
|
|
2206
|
+
readonly cause: Schema.optional<Schema.Unknown>;
|
|
2207
|
+
}>, YieldableError>;
|
|
2208
|
+
|
|
2209
|
+
/** The decoded type: every defaulted option is present. */
|
|
2210
|
+
export declare type StrykerOptions = S.Schema.Type<typeof StrykerOptionsSchema>;
|
|
2211
|
+
|
|
2212
|
+
export declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
2213
|
+
readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2214
|
+
readonly buildCommand: S.optional<S.String>;
|
|
2215
|
+
readonly checkers: S.withDecodingDefaultKey<S.$Array<S.Struct<{
|
|
2216
|
+
readonly plugin: S.String;
|
|
2217
|
+
readonly nodeArgs: S.optional<S.$Array<S.String>>;
|
|
2218
|
+
readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
2219
|
+
}>>, never>;
|
|
2220
|
+
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2221
|
+
readonly concurrency: S.optional<S.Union<readonly [S.Finite, S.String]>>;
|
|
2222
|
+
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
2223
|
+
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
2224
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
2225
|
+
readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never>;
|
|
2226
|
+
readonly clearTextReporter: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
2227
|
+
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2228
|
+
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2229
|
+
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2230
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never>;
|
|
2231
|
+
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2232
|
+
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2233
|
+
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2234
|
+
readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2235
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
2236
|
+
readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2237
|
+
readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2238
|
+
readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2239
|
+
readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2240
|
+
readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
|
|
2241
|
+
readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
|
|
2242
|
+
readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2243
|
+
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
2244
|
+
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2245
|
+
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
2246
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never>;
|
|
2247
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never>;
|
|
2248
|
+
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2249
|
+
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
2250
|
+
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2251
|
+
}>, never>;
|
|
2252
|
+
readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
|
|
2253
|
+
readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2254
|
+
readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2255
|
+
readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2256
|
+
readonly htmlReporter: S.withDecodingDefaultKey<S.Struct<{
|
|
2257
|
+
readonly fileName: S.withDecodingDefaultKey<S.String, never>;
|
|
2258
|
+
}>, never>;
|
|
2259
|
+
readonly jsonReporter: S.withDecodingDefaultKey<S.Struct<{
|
|
2260
|
+
readonly fileName: S.withDecodingDefaultKey<S.String, never>;
|
|
2261
|
+
}>, never>;
|
|
2262
|
+
readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.String]>, never>;
|
|
2263
|
+
readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2264
|
+
readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
|
|
2265
|
+
readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
|
|
2266
|
+
readonly testRunner: S.withDecodingDefaultKey<S.Union<readonly [S.String, S.Struct<{
|
|
2267
|
+
readonly plugin: S.String;
|
|
2268
|
+
readonly nodeArgs: S.optional<S.$Array<S.String>>;
|
|
2269
|
+
readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
2270
|
+
}>]>, never>;
|
|
2271
|
+
readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2272
|
+
readonly thresholds: S.withDecodingDefaultKey<S.Struct<{
|
|
2273
|
+
readonly high: S.withDecodingDefaultKey<S.Finite, never>;
|
|
2274
|
+
readonly low: S.withDecodingDefaultKey<S.Finite, never>;
|
|
2275
|
+
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
2276
|
+
}>, never>;
|
|
2277
|
+
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
2278
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
|
|
2279
|
+
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
2280
|
+
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
2281
|
+
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
2282
|
+
readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2283
|
+
readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2284
|
+
readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2285
|
+
readonly slow: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2286
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>]>, never>;
|
|
2287
|
+
readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2288
|
+
readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
2289
|
+
readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2290
|
+
readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
2291
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
2292
|
+
|
|
2293
|
+
export declare type StrykerRun = (options: PartialStrykerOptions, targetMutatePatterns?: string[]) => Effect.Effect<MutationTestDone, StageError, never>;
|
|
2294
|
+
|
|
2295
|
+
export declare const strykerVersion: string;
|
|
2296
|
+
|
|
2297
|
+
export declare interface SuccessTestResult extends BaseTestResult {
|
|
2298
|
+
readonly status: 'success';
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
declare interface Super$1 extends Span$1 {
|
|
2302
|
+
type: "Super";
|
|
2303
|
+
parent?: Node$1;
|
|
2304
|
+
}
|
|
828
2305
|
|
|
829
|
-
export declare const
|
|
830
|
-
readonly schemaVersion: S.String;
|
|
831
|
-
readonly files: S.$Record<S.String, S.Struct<{
|
|
832
|
-
readonly language: S.String;
|
|
833
|
-
readonly source: S.String;
|
|
834
|
-
readonly mutants: S.$Array<S.Struct<{
|
|
835
|
-
readonly id: S.String;
|
|
836
|
-
readonly mutatorName: S.String;
|
|
837
|
-
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
838
|
-
readonly location: S.Struct<{
|
|
839
|
-
readonly start: S.Struct<{
|
|
840
|
-
readonly line: S.Finite;
|
|
841
|
-
readonly column: S.Finite;
|
|
842
|
-
}>;
|
|
843
|
-
readonly end: S.Struct<{
|
|
844
|
-
readonly line: S.Finite;
|
|
845
|
-
readonly column: S.Finite;
|
|
846
|
-
}>;
|
|
847
|
-
}>;
|
|
848
|
-
readonly replacement: S.optional<S.String>;
|
|
849
|
-
readonly description: S.optional<S.String>;
|
|
850
|
-
readonly statusReason: S.optional<S.String>;
|
|
851
|
-
readonly static: S.optional<S.Boolean>;
|
|
852
|
-
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
853
|
-
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
854
|
-
readonly testsCompleted: S.optional<S.Finite>;
|
|
855
|
-
readonly duration: S.optional<S.Finite>;
|
|
856
|
-
}>>;
|
|
857
|
-
}>>;
|
|
858
|
-
readonly thresholds: S.Struct<{
|
|
859
|
-
readonly high: S.Finite;
|
|
860
|
-
readonly low: S.Finite;
|
|
861
|
-
}>;
|
|
862
|
-
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
863
|
-
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
864
|
-
readonly source: S.optional<S.String>;
|
|
865
|
-
readonly tests: S.$Array<S.Struct<{
|
|
866
|
-
readonly id: S.String;
|
|
867
|
-
readonly name: S.String;
|
|
868
|
-
readonly location: S.optional<S.Struct<{
|
|
869
|
-
readonly start: S.Struct<{
|
|
870
|
-
readonly line: S.Finite;
|
|
871
|
-
readonly column: S.Finite;
|
|
872
|
-
}>;
|
|
873
|
-
readonly end: S.optional<S.Struct<{
|
|
874
|
-
readonly line: S.Finite;
|
|
875
|
-
readonly column: S.Finite;
|
|
876
|
-
}>>;
|
|
877
|
-
}>>;
|
|
878
|
-
}>>;
|
|
879
|
-
}>>>;
|
|
880
|
-
readonly projectRoot: S.optional<S.String>;
|
|
881
|
-
readonly framework: S.optional<S.Struct<{
|
|
882
|
-
readonly name: S.String;
|
|
883
|
-
readonly version: S.optional<S.String>;
|
|
884
|
-
readonly branding: S.optional<S.Struct<{
|
|
885
|
-
readonly homepageUrl: S.String;
|
|
886
|
-
readonly imageUrl: S.optional<S.String>;
|
|
887
|
-
}>>;
|
|
888
|
-
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
889
|
-
}>>;
|
|
890
|
-
}>;
|
|
2306
|
+
export declare const SUPPORTED_CONFIG_FILE_NAMES: readonly string[];
|
|
891
2307
|
|
|
892
|
-
export declare interface
|
|
893
|
-
readonly
|
|
894
|
-
readonly
|
|
895
|
-
isObjectExpression(): boolean;
|
|
896
|
-
isCallExpression(): boolean;
|
|
897
|
-
isClassProperty(): boolean;
|
|
898
|
-
isClassPrivateProperty(): boolean;
|
|
899
|
-
isClassAccessorProperty(): boolean;
|
|
2308
|
+
export declare interface SurvivedMutantRunResult {
|
|
2309
|
+
readonly status: 'survived';
|
|
2310
|
+
readonly nrOfTests: number;
|
|
900
2311
|
}
|
|
901
2312
|
|
|
902
|
-
export declare
|
|
2313
|
+
export declare const survivorsPriorReport: S.optionalKey<S.String>;
|
|
903
2314
|
|
|
904
|
-
|
|
2315
|
+
declare interface SwitchCase$1 extends Span$1 {
|
|
2316
|
+
type: "SwitchCase";
|
|
2317
|
+
test: Expression$1 | null;
|
|
2318
|
+
consequent: Array<Statement$1>;
|
|
2319
|
+
parent?: Node$1;
|
|
2320
|
+
}
|
|
905
2321
|
|
|
906
|
-
|
|
2322
|
+
declare interface SwitchStatement$1 extends Span$1 {
|
|
2323
|
+
type: "SwitchStatement";
|
|
2324
|
+
discriminant: Expression$1;
|
|
2325
|
+
cases: Array<SwitchCase$1>;
|
|
2326
|
+
parent?: Node$1;
|
|
2327
|
+
}
|
|
907
2328
|
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
readonly column: S.Finite;
|
|
916
|
-
}>>;
|
|
917
|
-
}>;
|
|
2329
|
+
declare interface TaggedTemplateExpression$1 extends Span$1 {
|
|
2330
|
+
type: "TaggedTemplateExpression";
|
|
2331
|
+
tag: Expression$1;
|
|
2332
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
2333
|
+
quasi: TemplateLiteral$1;
|
|
2334
|
+
parent?: Node$1;
|
|
2335
|
+
}
|
|
918
2336
|
|
|
919
|
-
|
|
2337
|
+
declare interface TemplateElement$1 extends Span$1 {
|
|
2338
|
+
type: "TemplateElement";
|
|
2339
|
+
value: TemplateElementValue;
|
|
2340
|
+
tail: boolean;
|
|
2341
|
+
parent?: Node$1;
|
|
2342
|
+
}
|
|
920
2343
|
|
|
921
|
-
|
|
2344
|
+
declare interface TemplateElementValue {
|
|
2345
|
+
raw: string;
|
|
2346
|
+
cooked: string | null;
|
|
2347
|
+
}
|
|
922
2348
|
|
|
923
|
-
declare
|
|
2349
|
+
declare interface TemplateLiteral$1 extends Span$1 {
|
|
2350
|
+
type: "TemplateLiteral";
|
|
2351
|
+
quasis: Array<TemplateElement$1>;
|
|
2352
|
+
expressions: Array<Expression$1>;
|
|
2353
|
+
parent?: Node$1;
|
|
2354
|
+
}
|
|
924
2355
|
|
|
925
|
-
declare
|
|
926
|
-
|
|
927
|
-
|
|
2356
|
+
export declare interface TestCoverage {
|
|
2357
|
+
readonly testsByMutantId: MutableHashMap.MutableHashMap<string, MutableHashSet.MutableHashSet<TestResult>>;
|
|
2358
|
+
readonly testsById: MutableHashMap.MutableHashMap<string, TestResult>;
|
|
2359
|
+
readonly staticCoverage: CoverageData | undefined;
|
|
2360
|
+
readonly hitsByMutantId: MutableHashMap.MutableHashMap<string, number>;
|
|
2361
|
+
}
|
|
928
2362
|
|
|
929
|
-
|
|
930
|
-
* The deep-partial input type: when configuring Stryker, every option is
|
|
931
|
-
* optional, including deep properties like `dashboard.project`.
|
|
932
|
-
*/
|
|
933
|
-
export declare type PartialStrykerOptions = DeepOptional<StrykerOptions>;
|
|
2363
|
+
export declare type TestResult = FailedTestResult | SkippedTestResult | SuccessTestResult;
|
|
934
2364
|
|
|
935
|
-
|
|
936
|
-
|
|
2365
|
+
/** What building a runner for this run needs. */
|
|
2366
|
+
export declare interface TestRunnerBuildContext {
|
|
2367
|
+
readonly options: StrykerOptions;
|
|
2368
|
+
readonly fileDescriptions: FileDescriptions;
|
|
2369
|
+
readonly sandboxWorkingDirectory: string;
|
|
2370
|
+
readonly idGenerator: IdGeneratorShape;
|
|
2371
|
+
/**
|
|
2372
|
+
* Retire this runner's worker. Supplied by whoever owns the worker's
|
|
2373
|
+
* lifetime — the pool — so a combinator never restarts a process the pool
|
|
2374
|
+
* still believes it owns.
|
|
2375
|
+
*/
|
|
2376
|
+
readonly retire: Effect.Effect<void>;
|
|
2377
|
+
readonly testFiles: readonly string[];
|
|
937
2378
|
}
|
|
938
2379
|
|
|
939
|
-
export declare
|
|
2380
|
+
export declare interface TestRunnerCapabilities {
|
|
2381
|
+
readonly reloadEnvironment: boolean;
|
|
2382
|
+
}
|
|
940
2383
|
|
|
941
|
-
declare
|
|
942
|
-
readonly phase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
|
|
943
|
-
readonly elapsedMs: S.Finite;
|
|
944
|
-
}>, {}>;
|
|
2384
|
+
export declare type TestRunnerConfig = typeof TestRunnerConfigSchema.Type;
|
|
945
2385
|
|
|
946
|
-
export declare
|
|
2386
|
+
export declare const TestRunnerConfigSchema: S.Union<readonly [S.String, S.Struct<{
|
|
2387
|
+
readonly plugin: S.String;
|
|
2388
|
+
readonly nodeArgs: S.optional<S.$Array<S.String>>;
|
|
2389
|
+
readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
2390
|
+
}>]>;
|
|
947
2391
|
|
|
948
|
-
declare
|
|
949
|
-
|
|
950
|
-
|
|
2392
|
+
export declare class TestRunnerFailed extends TestRunnerFailed_base {}
|
|
2393
|
+
|
|
2394
|
+
declare const TestRunnerFailed_base: S.Class<TestRunnerFailed, S.TaggedStruct<"TestRunnerFailed", {
|
|
2395
|
+
readonly cause: S.String;
|
|
2396
|
+
readonly phase: S.Literals<readonly ["capabilities", "dispose", "dryRun", "init", "mutantRun"]>;
|
|
2397
|
+
readonly runnerName: S.String;
|
|
2398
|
+
}>, YieldableError>;
|
|
951
2399
|
|
|
952
|
-
|
|
2400
|
+
declare interface ThisExpression$1 extends Span$1 {
|
|
2401
|
+
type: "ThisExpression";
|
|
2402
|
+
parent?: Node$1;
|
|
2403
|
+
}
|
|
953
2404
|
|
|
954
|
-
|
|
2405
|
+
declare interface ThrowStatement$1 extends Span$1 {
|
|
2406
|
+
type: "ThrowStatement";
|
|
2407
|
+
argument: Expression$1;
|
|
2408
|
+
parent?: Node$1;
|
|
2409
|
+
}
|
|
955
2410
|
|
|
956
|
-
declare
|
|
957
|
-
readonly
|
|
958
|
-
readonly
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
2411
|
+
export declare interface TimeoutDryRunResult {
|
|
2412
|
+
readonly status: 'timeout';
|
|
2413
|
+
readonly reason?: string;
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
export declare interface TimeoutMutantRunResult {
|
|
2417
|
+
readonly status: 'timeout';
|
|
2418
|
+
readonly reason?: string;
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
export declare const toRelativeNormalizedFileName: (fileName: string | undefined, basePath: string) => string;
|
|
2422
|
+
|
|
2423
|
+
export declare class TraceContextMiddleware extends TraceContextMiddleware_base {}
|
|
962
2424
|
|
|
963
|
-
|
|
2425
|
+
declare const TraceContextMiddleware_base: RpcMiddleware.ServiceClass<TraceContextMiddleware, "@systemfsoftware/stryker-js-plugin-interface/TraceContextMiddleware", typeof PropagatedTrace, Schema.Never, never, never, true>;
|
|
964
2426
|
|
|
965
|
-
|
|
2427
|
+
declare interface TraceContextParts {
|
|
2428
|
+
readonly version: string;
|
|
2429
|
+
readonly traceId: string;
|
|
2430
|
+
readonly spanId: string;
|
|
2431
|
+
readonly traceFlags: number;
|
|
2432
|
+
readonly traceState?: string | undefined;
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
export declare type TracedRpc<Tag extends string, Payload extends Schema.Top = Schema.Void, Success extends Schema.Top = Schema.Void, Error extends Schema.Top = Schema.Never> = Rpc.Rpc<Tag, Payload, Success, Error, typeof TraceContextMiddleware, RpcMiddleware.ApplyServices<typeof TraceContextMiddleware['Identifier'], never>>;
|
|
966
2436
|
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
2437
|
+
declare interface TryStatement$1 extends Span$1 {
|
|
2438
|
+
type: "TryStatement";
|
|
2439
|
+
block: BlockStatement$1;
|
|
2440
|
+
handler: CatchClause$1 | null;
|
|
2441
|
+
finalizer: BlockStatement$1 | null;
|
|
2442
|
+
parent?: Node$1;
|
|
972
2443
|
}
|
|
973
2444
|
|
|
974
|
-
|
|
2445
|
+
declare type TSAccessibility = "private" | "protected" | "public";
|
|
975
2446
|
|
|
976
|
-
|
|
2447
|
+
declare interface TSAnyKeyword extends Span$1 {
|
|
2448
|
+
type: "TSAnyKeyword";
|
|
2449
|
+
parent?: Node$1;
|
|
2450
|
+
}
|
|
977
2451
|
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
2452
|
+
declare interface TSArrayType$1 extends Span$1 {
|
|
2453
|
+
type: "TSArrayType";
|
|
2454
|
+
elementType: TSType$1;
|
|
2455
|
+
parent?: Node$1;
|
|
982
2456
|
}
|
|
983
2457
|
|
|
984
|
-
declare
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
2458
|
+
declare interface TSAsExpression$1 extends Span$1 {
|
|
2459
|
+
type: "TSAsExpression";
|
|
2460
|
+
expression: Expression$1;
|
|
2461
|
+
typeAnnotation: TSType$1;
|
|
2462
|
+
parent?: Node$1;
|
|
2463
|
+
}
|
|
989
2464
|
|
|
990
|
-
|
|
2465
|
+
declare interface TSBigIntKeyword extends Span$1 {
|
|
2466
|
+
type: "TSBigIntKeyword";
|
|
2467
|
+
parent?: Node$1;
|
|
2468
|
+
}
|
|
991
2469
|
|
|
992
|
-
|
|
2470
|
+
declare interface TSBooleanKeyword extends Span$1 {
|
|
2471
|
+
type: "TSBooleanKeyword";
|
|
2472
|
+
parent?: Node$1;
|
|
2473
|
+
}
|
|
993
2474
|
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
2475
|
+
declare interface TSCallSignatureDeclaration$1 extends Span$1 {
|
|
2476
|
+
type: "TSCallSignatureDeclaration";
|
|
2477
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2478
|
+
params: ParamPattern$1[];
|
|
2479
|
+
returnType: TSTypeAnnotation$1 | null;
|
|
2480
|
+
parent?: Node$1;
|
|
998
2481
|
}
|
|
999
2482
|
|
|
1000
|
-
declare
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
2483
|
+
declare interface TSClassImplements extends Span$1 {
|
|
2484
|
+
type: "TSClassImplements";
|
|
2485
|
+
expression: IdentifierReference$1 | ThisExpression$1 | MemberExpression$1;
|
|
2486
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2487
|
+
parent?: Node$1;
|
|
2488
|
+
}
|
|
1005
2489
|
|
|
1006
|
-
|
|
2490
|
+
declare interface TSConditionalType$1 extends Span$1 {
|
|
2491
|
+
type: "TSConditionalType";
|
|
2492
|
+
checkType: TSType$1;
|
|
2493
|
+
extendsType: TSType$1;
|
|
2494
|
+
trueType: TSType$1;
|
|
2495
|
+
falseType: TSType$1;
|
|
2496
|
+
parent?: Node$1;
|
|
2497
|
+
}
|
|
1007
2498
|
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
2499
|
+
declare interface TSConstructorType$1 extends Span$1 {
|
|
2500
|
+
type: "TSConstructorType";
|
|
2501
|
+
abstract: boolean;
|
|
2502
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2503
|
+
params: ParamPattern$1[];
|
|
2504
|
+
returnType: TSTypeAnnotation$1;
|
|
2505
|
+
parent?: Node$1;
|
|
2506
|
+
}
|
|
1012
2507
|
|
|
1013
|
-
|
|
2508
|
+
declare interface TSConstructSignatureDeclaration$1 extends Span$1 {
|
|
2509
|
+
type: "TSConstructSignatureDeclaration";
|
|
2510
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2511
|
+
params: ParamPattern$1[];
|
|
2512
|
+
returnType: TSTypeAnnotation$1 | null;
|
|
2513
|
+
parent?: Node$1;
|
|
2514
|
+
}
|
|
1014
2515
|
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
2516
|
+
declare interface TSEnumBody extends Span$1 {
|
|
2517
|
+
type: "TSEnumBody";
|
|
2518
|
+
members: Array<TSEnumMember>;
|
|
2519
|
+
parent?: Node$1;
|
|
2520
|
+
}
|
|
1020
2521
|
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
2522
|
+
declare interface TSEnumDeclaration$1 extends Span$1 {
|
|
2523
|
+
type: "TSEnumDeclaration";
|
|
2524
|
+
id: BindingIdentifier$1;
|
|
2525
|
+
body: TSEnumBody;
|
|
2526
|
+
const: boolean;
|
|
2527
|
+
declare: boolean;
|
|
2528
|
+
parent?: Node$1;
|
|
1025
2529
|
}
|
|
1026
2530
|
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
*
|
|
1035
|
-
* Only these four are here because only these four are rendered. A default
|
|
1036
|
-
* nobody prints has one declaration site already, which is the schema.
|
|
1037
|
-
*/
|
|
1038
|
-
export declare const RENDERED_OPTION_DEFAULTS: {
|
|
1039
|
-
readonly coverageAnalysis: 'perTest';
|
|
1040
|
-
readonly fileLogLevel: 'off';
|
|
1041
|
-
readonly logLevel: 'info';
|
|
1042
|
-
readonly tempDirName: '.stryker-tmp';
|
|
1043
|
-
};
|
|
2531
|
+
declare interface TSEnumMember extends Span$1 {
|
|
2532
|
+
type: "TSEnumMember";
|
|
2533
|
+
id: TSEnumMemberName;
|
|
2534
|
+
initializer: Expression$1 | null;
|
|
2535
|
+
computed: boolean;
|
|
2536
|
+
parent?: Node$1;
|
|
2537
|
+
}
|
|
1044
2538
|
|
|
1045
|
-
|
|
2539
|
+
declare type TSEnumMemberName = IdentifierName$1 | StringLiteral$1 | TemplateLiteral$1;
|
|
2540
|
+
|
|
2541
|
+
declare interface TSExportAssignment$1 extends Span$1 {
|
|
2542
|
+
type: "TSExportAssignment";
|
|
2543
|
+
expression: Expression$1;
|
|
2544
|
+
parent?: Node$1;
|
|
2545
|
+
}
|
|
1046
2546
|
|
|
1047
|
-
|
|
2547
|
+
declare interface TSExternalModuleReference extends Span$1 {
|
|
2548
|
+
type: "TSExternalModuleReference";
|
|
2549
|
+
expression: StringLiteral$1;
|
|
2550
|
+
parent?: Node$1;
|
|
2551
|
+
}
|
|
1048
2552
|
|
|
1049
|
-
|
|
2553
|
+
declare interface TSFunctionType$1 extends Span$1 {
|
|
2554
|
+
type: "TSFunctionType";
|
|
2555
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2556
|
+
params: ParamPattern$1[];
|
|
2557
|
+
returnType: TSTypeAnnotation$1;
|
|
2558
|
+
parent?: Node$1;
|
|
2559
|
+
}
|
|
1050
2560
|
|
|
1051
|
-
|
|
2561
|
+
declare interface TSGlobalDeclaration extends Span$1 {
|
|
2562
|
+
type: "TSModuleDeclaration";
|
|
2563
|
+
id: IdentifierName$1;
|
|
2564
|
+
body: TSModuleBlock$1;
|
|
2565
|
+
kind: "global";
|
|
2566
|
+
declare: boolean;
|
|
2567
|
+
global: true;
|
|
2568
|
+
parent?: Node$1;
|
|
2569
|
+
}
|
|
1052
2570
|
|
|
1053
|
-
|
|
2571
|
+
declare interface TSImportEqualsDeclaration$1 extends Span$1 {
|
|
2572
|
+
type: "TSImportEqualsDeclaration";
|
|
2573
|
+
id: BindingIdentifier$1;
|
|
2574
|
+
moduleReference: TSModuleReference;
|
|
2575
|
+
importKind: ImportOrExportKind;
|
|
2576
|
+
parent?: Node$1;
|
|
2577
|
+
}
|
|
1054
2578
|
|
|
1055
|
-
|
|
2579
|
+
declare interface TSImportType$1 extends Span$1 {
|
|
2580
|
+
type: "TSImportType";
|
|
2581
|
+
source: StringLiteral$1;
|
|
2582
|
+
options: ObjectExpression$1 | null;
|
|
2583
|
+
qualifier: TSImportTypeQualifier | null;
|
|
2584
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2585
|
+
parent?: Node$1;
|
|
2586
|
+
}
|
|
1056
2587
|
|
|
1057
|
-
|
|
2588
|
+
declare interface TSImportTypeQualifiedName extends Span$1 {
|
|
2589
|
+
type: "TSQualifiedName";
|
|
2590
|
+
left: TSImportTypeQualifier;
|
|
2591
|
+
right: IdentifierName$1;
|
|
2592
|
+
parent?: Node$1;
|
|
2593
|
+
}
|
|
1058
2594
|
|
|
1059
|
-
declare
|
|
1060
|
-
readonly cause: S.String;
|
|
1061
|
-
readonly event: S.Literals<readonly ["dryRunCompleted", "mutationTestingPlanReady", "mutantTested", "mutationTestReportReady"]>;
|
|
1062
|
-
readonly reporterName: S.String;
|
|
1063
|
-
}>, YieldableError>;
|
|
2595
|
+
declare type TSImportTypeQualifier = IdentifierName$1 | TSImportTypeQualifiedName;
|
|
1064
2596
|
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
2597
|
+
declare interface TSIndexedAccessType$1 extends Span$1 {
|
|
2598
|
+
type: "TSIndexedAccessType";
|
|
2599
|
+
objectType: TSType$1;
|
|
2600
|
+
indexType: TSType$1;
|
|
2601
|
+
parent?: Node$1;
|
|
1068
2602
|
}
|
|
1069
2603
|
|
|
1070
|
-
|
|
2604
|
+
declare interface TSIndexSignature$1 extends Span$1 {
|
|
2605
|
+
type: "TSIndexSignature";
|
|
2606
|
+
parameters: Array<TSIndexSignatureName>;
|
|
2607
|
+
typeAnnotation: TSTypeAnnotation$1;
|
|
2608
|
+
readonly: boolean;
|
|
2609
|
+
static: boolean;
|
|
2610
|
+
accessibility: null;
|
|
2611
|
+
parent?: Node$1;
|
|
2612
|
+
}
|
|
1071
2613
|
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
2614
|
+
declare interface TSIndexSignatureName extends Span$1 {
|
|
2615
|
+
type: "Identifier";
|
|
2616
|
+
decorators: [];
|
|
2617
|
+
name: string;
|
|
2618
|
+
optional: false;
|
|
2619
|
+
typeAnnotation: TSTypeAnnotation$1;
|
|
2620
|
+
parent?: Node$1;
|
|
2621
|
+
}
|
|
1078
2622
|
|
|
1079
|
-
|
|
2623
|
+
declare interface TSInferType$1 extends Span$1 {
|
|
2624
|
+
type: "TSInferType";
|
|
2625
|
+
typeParameter: TSTypeParameter;
|
|
2626
|
+
parent?: Node$1;
|
|
2627
|
+
}
|
|
1080
2628
|
|
|
1081
|
-
|
|
2629
|
+
declare interface TSInstantiationExpression$1 extends Span$1 {
|
|
2630
|
+
type: "TSInstantiationExpression";
|
|
2631
|
+
expression: Expression$1;
|
|
2632
|
+
typeArguments: TSTypeParameterInstantiation$1;
|
|
2633
|
+
parent?: Node$1;
|
|
2634
|
+
}
|
|
1082
2635
|
|
|
1083
|
-
|
|
2636
|
+
declare interface TSInterfaceBody$1 extends Span$1 {
|
|
2637
|
+
type: "TSInterfaceBody";
|
|
2638
|
+
body: Array<TSSignature>;
|
|
2639
|
+
parent?: Node$1;
|
|
2640
|
+
}
|
|
1084
2641
|
|
|
1085
|
-
|
|
2642
|
+
declare interface TSInterfaceDeclaration$1 extends Span$1 {
|
|
2643
|
+
type: "TSInterfaceDeclaration";
|
|
2644
|
+
id: BindingIdentifier$1;
|
|
2645
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2646
|
+
extends: Array<TSInterfaceHeritage>;
|
|
2647
|
+
body: TSInterfaceBody$1;
|
|
2648
|
+
declare: boolean;
|
|
2649
|
+
parent?: Node$1;
|
|
2650
|
+
}
|
|
1086
2651
|
|
|
1087
|
-
|
|
2652
|
+
declare interface TSInterfaceHeritage extends Span$1 {
|
|
2653
|
+
type: "TSInterfaceHeritage";
|
|
2654
|
+
expression: Expression$1;
|
|
2655
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2656
|
+
parent?: Node$1;
|
|
2657
|
+
}
|
|
1088
2658
|
|
|
1089
|
-
declare
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
2659
|
+
declare interface TSIntersectionType$1 extends Span$1 {
|
|
2660
|
+
type: "TSIntersectionType";
|
|
2661
|
+
types: Array<TSType$1>;
|
|
2662
|
+
parent?: Node$1;
|
|
2663
|
+
}
|
|
1093
2664
|
|
|
1094
|
-
|
|
2665
|
+
declare interface TSIntrinsicKeyword extends Span$1 {
|
|
2666
|
+
type: "TSIntrinsicKeyword";
|
|
2667
|
+
parent?: Node$1;
|
|
2668
|
+
}
|
|
1095
2669
|
|
|
1096
|
-
declare
|
|
1097
|
-
readonly [x: string]: unknown;
|
|
1098
|
-
readonly allowConsoleColors: boolean;
|
|
1099
|
-
readonly buildCommand?: string | undefined;
|
|
1100
|
-
readonly checkers: readonly string[];
|
|
1101
|
-
readonly checkerNodeArgs: readonly string[];
|
|
1102
|
-
readonly concurrency?: string | number | undefined;
|
|
1103
|
-
readonly commandRunner: {
|
|
1104
|
-
readonly [x: string]: unknown;
|
|
1105
|
-
readonly command: string;
|
|
1106
|
-
};
|
|
1107
|
-
readonly coverageAnalysis: "all" | "off" | "perTest";
|
|
1108
|
-
readonly clearTextReporter: {
|
|
1109
|
-
readonly [x: string]: unknown;
|
|
1110
|
-
readonly allowColor: boolean;
|
|
1111
|
-
readonly allowEmojis: boolean;
|
|
1112
|
-
readonly logTests: boolean;
|
|
1113
|
-
readonly maxTestsToLog: number;
|
|
1114
|
-
readonly reportTests: boolean;
|
|
1115
|
-
readonly reportMutants: boolean;
|
|
1116
|
-
readonly reportScoreTable: boolean;
|
|
1117
|
-
readonly skipFull: boolean;
|
|
1118
|
-
};
|
|
1119
|
-
readonly dryRunOnly: boolean;
|
|
1120
|
-
readonly ignorePatterns: readonly string[];
|
|
1121
|
-
readonly ignoreStatic: boolean;
|
|
1122
|
-
readonly incremental: boolean;
|
|
1123
|
-
readonly incrementalFile: string;
|
|
1124
|
-
readonly progressStreamFile: string;
|
|
1125
|
-
readonly force: boolean;
|
|
1126
|
-
readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
|
|
1127
|
-
readonly inPlace: boolean;
|
|
1128
|
-
readonly logLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
|
|
1129
|
-
readonly maxConcurrentTestRunners: number;
|
|
1130
|
-
readonly maxTestRunnerReuse: number;
|
|
1131
|
-
readonly mutate: readonly string[];
|
|
1132
|
-
readonly mutator: {
|
|
1133
|
-
readonly excludedMutations: readonly string[];
|
|
1134
|
-
};
|
|
1135
|
-
readonly packageManager?: "npm" | "pnpm" | "yarn" | undefined;
|
|
1136
|
-
readonly plugins: readonly string[];
|
|
1137
|
-
readonly appendPlugins: readonly string[];
|
|
1138
|
-
readonly reporters: readonly string[];
|
|
1139
|
-
readonly htmlReporter: {
|
|
1140
|
-
readonly fileName: string;
|
|
1141
|
-
};
|
|
1142
|
-
readonly jsonReporter: {
|
|
1143
|
-
readonly fileName: string;
|
|
1144
|
-
};
|
|
1145
|
-
readonly disableTypeChecks: string | boolean;
|
|
1146
|
-
readonly symlinkNodeModules: boolean;
|
|
1147
|
-
readonly tempDirName: string;
|
|
1148
|
-
readonly cleanTempDir: "always" | boolean;
|
|
1149
|
-
readonly testRunner: string;
|
|
1150
|
-
readonly testRunnerNodeArgs: readonly string[];
|
|
1151
|
-
readonly thresholds: {
|
|
1152
|
-
readonly high: number;
|
|
1153
|
-
readonly low: number;
|
|
1154
|
-
readonly break: number | null;
|
|
1155
|
-
};
|
|
1156
|
-
readonly timeoutFactor: number;
|
|
1157
|
-
readonly timeoutMS: number;
|
|
1158
|
-
readonly dryRunTimeoutMinutes: number;
|
|
1159
|
-
readonly tsconfigFile: string;
|
|
1160
|
-
readonly warnings: boolean | {
|
|
1161
|
-
readonly [x: string]: unknown;
|
|
1162
|
-
readonly unknownOptions: boolean;
|
|
1163
|
-
readonly preprocessorErrors: boolean;
|
|
1164
|
-
readonly unserializableOptions: boolean;
|
|
1165
|
-
readonly slow: boolean;
|
|
1166
|
-
};
|
|
1167
|
-
readonly disableBail: boolean;
|
|
1168
|
-
readonly allowEmpty: boolean;
|
|
1169
|
-
readonly ignorers: readonly string[];
|
|
1170
|
-
readonly testFiles: readonly string[];
|
|
1171
|
-
}>;
|
|
2670
|
+
declare type TSLiteral = BooleanLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | UnaryExpression$1;
|
|
1172
2671
|
|
|
1173
|
-
declare
|
|
2672
|
+
declare interface TSLiteralType$1 extends Span$1 {
|
|
2673
|
+
type: "TSLiteralType";
|
|
2674
|
+
literal: TSLiteral;
|
|
2675
|
+
parent?: Node$1;
|
|
2676
|
+
}
|
|
1174
2677
|
|
|
1175
|
-
declare
|
|
1176
|
-
|
|
1177
|
-
|
|
2678
|
+
declare interface TSMappedType$1 extends Span$1 {
|
|
2679
|
+
type: "TSMappedType";
|
|
2680
|
+
key: BindingIdentifier$1;
|
|
2681
|
+
constraint: TSType$1;
|
|
2682
|
+
nameType: TSType$1 | null;
|
|
2683
|
+
typeAnnotation: TSType$1 | null;
|
|
2684
|
+
optional: TSMappedTypeModifierOperator | false;
|
|
2685
|
+
readonly: TSMappedTypeModifierOperator | null;
|
|
2686
|
+
parent?: Node$1;
|
|
2687
|
+
}
|
|
1178
2688
|
|
|
1179
|
-
|
|
2689
|
+
declare type TSMappedTypeModifierOperator = true | "+" | "-";
|
|
2690
|
+
|
|
2691
|
+
declare interface TSMethodSignature$1 extends Span$1 {
|
|
2692
|
+
type: "TSMethodSignature";
|
|
2693
|
+
key: PropertyKey_2;
|
|
2694
|
+
computed: boolean;
|
|
2695
|
+
optional: boolean;
|
|
2696
|
+
kind: TSMethodSignatureKind;
|
|
2697
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2698
|
+
params: ParamPattern$1[];
|
|
2699
|
+
returnType: TSTypeAnnotation$1 | null;
|
|
2700
|
+
accessibility: null;
|
|
2701
|
+
readonly: false;
|
|
2702
|
+
static: false;
|
|
2703
|
+
parent?: Node$1;
|
|
2704
|
+
}
|
|
1180
2705
|
|
|
1181
|
-
declare
|
|
2706
|
+
declare type TSMethodSignatureKind = "method" | "get" | "set";
|
|
1182
2707
|
|
|
1183
|
-
|
|
2708
|
+
declare interface TSModuleBlock$1 extends Span$1 {
|
|
2709
|
+
type: "TSModuleBlock";
|
|
2710
|
+
body: Array<Directive | Statement$1>;
|
|
2711
|
+
parent?: Node$1;
|
|
2712
|
+
}
|
|
1184
2713
|
|
|
1185
|
-
declare
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
2714
|
+
declare interface TSModuleDeclaration$1 extends Span$1 {
|
|
2715
|
+
type: "TSModuleDeclaration";
|
|
2716
|
+
id: BindingIdentifier$1 | StringLiteral$1 | TSQualifiedName$1;
|
|
2717
|
+
body: TSModuleBlock$1 | null;
|
|
2718
|
+
kind: TSModuleDeclarationKind;
|
|
2719
|
+
declare: boolean;
|
|
2720
|
+
global: false;
|
|
2721
|
+
parent?: Node$1;
|
|
2722
|
+
}
|
|
1191
2723
|
|
|
1192
|
-
|
|
2724
|
+
declare type TSModuleDeclarationKind = "module" | "namespace";
|
|
1193
2725
|
|
|
1194
|
-
declare
|
|
2726
|
+
declare type TSModuleReference = TSExternalModuleReference | IdentifierReference$1 | TSQualifiedName$1;
|
|
1195
2727
|
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
2728
|
+
declare interface TSNamedTupleMember$1 extends Span$1 {
|
|
2729
|
+
type: "TSNamedTupleMember";
|
|
2730
|
+
label: IdentifierName$1;
|
|
2731
|
+
elementType: TSTupleElement;
|
|
2732
|
+
optional: boolean;
|
|
2733
|
+
parent?: Node$1;
|
|
1199
2734
|
}
|
|
1200
2735
|
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
readonly coveredBy?: readonly string[] | undefined;
|
|
1207
|
-
readonly static?: boolean | undefined;
|
|
1208
|
-
};
|
|
2736
|
+
declare interface TSNamespaceExportDeclaration$1 extends Span$1 {
|
|
2737
|
+
type: "TSNamespaceExportDeclaration";
|
|
2738
|
+
id: IdentifierName$1;
|
|
2739
|
+
parent?: Node$1;
|
|
2740
|
+
}
|
|
1209
2741
|
|
|
1210
|
-
|
|
2742
|
+
declare interface TSNeverKeyword extends Span$1 {
|
|
2743
|
+
type: "TSNeverKeyword";
|
|
2744
|
+
parent?: Node$1;
|
|
2745
|
+
}
|
|
1211
2746
|
|
|
1212
|
-
declare
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
readonly line: S.Finite;
|
|
1223
|
-
readonly column: S.Finite;
|
|
1224
|
-
}>;
|
|
1225
|
-
}>;
|
|
1226
|
-
readonly mutator: S.String;
|
|
1227
|
-
readonly replacement: S.NullOr<S.String>;
|
|
1228
|
-
readonly completed: S.Finite;
|
|
1229
|
-
readonly total: S.Finite;
|
|
1230
|
-
}>, {}>;
|
|
2747
|
+
declare interface TSNonNullExpression$1 extends Span$1 {
|
|
2748
|
+
type: "TSNonNullExpression";
|
|
2749
|
+
expression: Expression$1;
|
|
2750
|
+
parent?: Node$1;
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
declare interface TSNullKeyword extends Span$1 {
|
|
2754
|
+
type: "TSNullKeyword";
|
|
2755
|
+
parent?: Node$1;
|
|
2756
|
+
}
|
|
1231
2757
|
|
|
1232
|
-
|
|
2758
|
+
declare interface TSNumberKeyword extends Span$1 {
|
|
2759
|
+
type: "TSNumberKeyword";
|
|
2760
|
+
parent?: Node$1;
|
|
2761
|
+
}
|
|
1233
2762
|
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
2763
|
+
declare interface TSObjectKeyword extends Span$1 {
|
|
2764
|
+
type: "TSObjectKeyword";
|
|
2765
|
+
parent?: Node$1;
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
declare interface TSOptionalType$1 extends Span$1 {
|
|
2769
|
+
type: "TSOptionalType";
|
|
2770
|
+
typeAnnotation: TSType$1;
|
|
2771
|
+
parent?: Node$1;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
declare interface TSParameterProperty extends Span$1 {
|
|
2775
|
+
type: "TSParameterProperty";
|
|
2776
|
+
accessibility: TSAccessibility | null;
|
|
2777
|
+
decorators: Array<Decorator$1>;
|
|
2778
|
+
override: boolean;
|
|
2779
|
+
parameter: FormalParameter;
|
|
2780
|
+
readonly: boolean;
|
|
2781
|
+
static: boolean;
|
|
2782
|
+
parent?: Node$1;
|
|
1237
2783
|
}
|
|
1238
2784
|
|
|
1239
|
-
|
|
2785
|
+
declare interface TSParenthesizedType$1 extends Span$1 {
|
|
2786
|
+
type: "TSParenthesizedType";
|
|
2787
|
+
typeAnnotation: TSType$1;
|
|
2788
|
+
parent?: Node$1;
|
|
2789
|
+
}
|
|
1240
2790
|
|
|
1241
|
-
declare
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
2791
|
+
declare interface TSPropertySignature$1 extends Span$1 {
|
|
2792
|
+
type: "TSPropertySignature";
|
|
2793
|
+
computed: boolean;
|
|
2794
|
+
optional: boolean;
|
|
2795
|
+
readonly: boolean;
|
|
2796
|
+
key: PropertyKey_2;
|
|
2797
|
+
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
2798
|
+
accessibility: null;
|
|
2799
|
+
static: false;
|
|
2800
|
+
parent?: Node$1;
|
|
2801
|
+
}
|
|
1245
2802
|
|
|
1246
|
-
|
|
2803
|
+
declare interface TSQualifiedName$1 extends Span$1 {
|
|
2804
|
+
type: "TSQualifiedName";
|
|
2805
|
+
left: TSTypeName;
|
|
2806
|
+
right: IdentifierName$1;
|
|
2807
|
+
parent?: Node$1;
|
|
2808
|
+
}
|
|
1247
2809
|
|
|
1248
|
-
|
|
2810
|
+
declare interface TSRestType$1 extends Span$1 {
|
|
2811
|
+
type: "TSRestType";
|
|
2812
|
+
typeAnnotation: TSType$1;
|
|
2813
|
+
parent?: Node$1;
|
|
2814
|
+
}
|
|
1249
2815
|
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
2816
|
+
declare interface TSSatisfiesExpression$1 extends Span$1 {
|
|
2817
|
+
type: "TSSatisfiesExpression";
|
|
2818
|
+
expression: Expression$1;
|
|
2819
|
+
typeAnnotation: TSType$1;
|
|
2820
|
+
parent?: Node$1;
|
|
1255
2821
|
}
|
|
1256
2822
|
|
|
1257
|
-
|
|
2823
|
+
declare type TSSignature = TSIndexSignature$1 | TSPropertySignature$1 | TSCallSignatureDeclaration$1 | TSConstructSignatureDeclaration$1 | TSMethodSignature$1;
|
|
1258
2824
|
|
|
1259
|
-
declare
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
1264
|
-
}>, {}>;
|
|
2825
|
+
declare interface TSStringKeyword extends Span$1 {
|
|
2826
|
+
type: "TSStringKeyword";
|
|
2827
|
+
parent?: Node$1;
|
|
2828
|
+
}
|
|
1265
2829
|
|
|
1266
|
-
|
|
2830
|
+
declare interface TSSymbolKeyword extends Span$1 {
|
|
2831
|
+
type: "TSSymbolKeyword";
|
|
2832
|
+
parent?: Node$1;
|
|
2833
|
+
}
|
|
1267
2834
|
|
|
1268
|
-
|
|
2835
|
+
declare interface TSTemplateLiteralType$1 extends Span$1 {
|
|
2836
|
+
type: "TSTemplateLiteralType";
|
|
2837
|
+
quasis: Array<TemplateElement$1>;
|
|
2838
|
+
types: Array<TSType$1>;
|
|
2839
|
+
parent?: Node$1;
|
|
2840
|
+
}
|
|
1269
2841
|
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
2842
|
+
declare interface TSThisParameter extends Span$1 {
|
|
2843
|
+
type: "Identifier";
|
|
2844
|
+
decorators: [];
|
|
2845
|
+
name: "this";
|
|
2846
|
+
optional: false;
|
|
2847
|
+
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
2848
|
+
parent?: Node$1;
|
|
2849
|
+
}
|
|
1274
2850
|
|
|
1275
|
-
|
|
2851
|
+
declare interface TSThisType extends Span$1 {
|
|
2852
|
+
type: "TSThisType";
|
|
2853
|
+
parent?: Node$1;
|
|
2854
|
+
}
|
|
1276
2855
|
|
|
1277
|
-
declare
|
|
2856
|
+
declare type TSTupleElement = TSOptionalType$1 | TSRestType$1 | TSType$1;
|
|
1278
2857
|
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
2858
|
+
declare interface TSTupleType$1 extends Span$1 {
|
|
2859
|
+
type: "TSTupleType";
|
|
2860
|
+
elementTypes: Array<TSTupleElement>;
|
|
2861
|
+
parent?: Node$1;
|
|
1282
2862
|
}
|
|
1283
2863
|
|
|
1284
|
-
|
|
2864
|
+
declare type TSType$1 = TSAnyKeyword | TSBigIntKeyword | TSBooleanKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSArrayType$1 | TSConditionalType$1 | TSConstructorType$1 | TSFunctionType$1 | TSImportType$1 | TSIndexedAccessType$1 | TSInferType$1 | TSIntersectionType$1 | TSLiteralType$1 | TSMappedType$1 | TSNamedTupleMember$1 | TSTemplateLiteralType$1 | TSThisType | TSTupleType$1 | TSTypeLiteral | TSTypeOperator$1 | TSTypePredicate$1 | TSTypeQuery$1 | TSTypeReference$1 | TSUnionType$1 | TSParenthesizedType$1 | JSDocNullableType$1 | JSDocNonNullableType$1 | JSDocUnknownType;
|
|
1285
2865
|
|
|
1286
|
-
declare
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
2866
|
+
declare interface TSTypeAliasDeclaration$1 extends Span$1 {
|
|
2867
|
+
type: "TSTypeAliasDeclaration";
|
|
2868
|
+
id: BindingIdentifier$1;
|
|
2869
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2870
|
+
typeAnnotation: TSType$1;
|
|
2871
|
+
declare: boolean;
|
|
2872
|
+
parent?: Node$1;
|
|
2873
|
+
}
|
|
1292
2874
|
|
|
1293
|
-
|
|
2875
|
+
declare interface TSTypeAnnotation$1 extends Span$1 {
|
|
2876
|
+
type: "TSTypeAnnotation";
|
|
2877
|
+
typeAnnotation: TSType$1;
|
|
2878
|
+
parent?: Node$1;
|
|
2879
|
+
}
|
|
1294
2880
|
|
|
1295
|
-
|
|
1296
|
-
|
|
2881
|
+
declare interface TSTypeAssertion$1 extends Span$1 {
|
|
2882
|
+
type: "TSTypeAssertion";
|
|
2883
|
+
typeAnnotation: TSType$1;
|
|
2884
|
+
expression: Expression$1;
|
|
2885
|
+
parent?: Node$1;
|
|
1297
2886
|
}
|
|
1298
2887
|
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
* schema and returns a plain document. Keeping uses out of a `*.schema.ts` is
|
|
1305
|
-
* what lets a tool read every exported schema in a package and trust that each
|
|
1306
|
-
* one is a schema - the generated law suite does exactly that, and a document
|
|
1307
|
-
* handed to `toEncoded` takes the whole suite down with it.
|
|
1308
|
-
*/
|
|
1309
|
-
export declare const strykerCoreSchema: Record<string, unknown>;
|
|
2888
|
+
declare interface TSTypeLiteral extends Span$1 {
|
|
2889
|
+
type: "TSTypeLiteral";
|
|
2890
|
+
members: Array<TSSignature>;
|
|
2891
|
+
parent?: Node$1;
|
|
2892
|
+
}
|
|
1310
2893
|
|
|
1311
|
-
|
|
1312
|
-
export declare type StrykerOptions = S.Schema.Type<typeof StrykerOptionsSchema>;
|
|
2894
|
+
declare type TSTypeName = IdentifierReference$1 | TSQualifiedName$1 | ThisExpression$1;
|
|
1313
2895
|
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
1321
|
-
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
1322
|
-
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
1323
|
-
readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never>;
|
|
1324
|
-
readonly clearTextReporter: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
1325
|
-
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1326
|
-
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1327
|
-
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1328
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never>;
|
|
1329
|
-
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1330
|
-
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1331
|
-
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1332
|
-
readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1333
|
-
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
1334
|
-
readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1335
|
-
readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1336
|
-
readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1337
|
-
readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1338
|
-
readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
|
|
1339
|
-
readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
|
|
1340
|
-
readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1341
|
-
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
1342
|
-
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1343
|
-
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
1344
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never>;
|
|
1345
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never>;
|
|
1346
|
-
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1347
|
-
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
1348
|
-
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1349
|
-
}>, never>;
|
|
1350
|
-
readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
|
|
1351
|
-
readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1352
|
-
readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1353
|
-
readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1354
|
-
readonly htmlReporter: S.withDecodingDefaultKey<S.Struct<{
|
|
1355
|
-
readonly fileName: S.withDecodingDefaultKey<S.String, never>;
|
|
1356
|
-
}>, never>;
|
|
1357
|
-
readonly jsonReporter: S.withDecodingDefaultKey<S.Struct<{
|
|
1358
|
-
readonly fileName: S.withDecodingDefaultKey<S.String, never>;
|
|
1359
|
-
}>, never>;
|
|
1360
|
-
readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.String]>, never>;
|
|
1361
|
-
readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1362
|
-
readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
|
|
1363
|
-
readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
|
|
1364
|
-
readonly testRunner: S.withDecodingDefaultKey<S.String, never>;
|
|
1365
|
-
readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1366
|
-
readonly thresholds: S.withDecodingDefaultKey<S.Struct<{
|
|
1367
|
-
readonly high: S.withDecodingDefaultKey<S.Finite, never>;
|
|
1368
|
-
readonly low: S.withDecodingDefaultKey<S.Finite, never>;
|
|
1369
|
-
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
1370
|
-
}>, never>;
|
|
1371
|
-
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
1372
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
|
|
1373
|
-
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
1374
|
-
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
1375
|
-
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
1376
|
-
readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1377
|
-
readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1378
|
-
readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1379
|
-
readonly slow: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1380
|
-
}>, readonly [S.$Record<S.String, S.Unknown>]>]>, never>;
|
|
1381
|
-
readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1382
|
-
readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
1383
|
-
readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1384
|
-
readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
1385
|
-
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
2896
|
+
declare interface TSTypeOperator$1 extends Span$1 {
|
|
2897
|
+
type: "TSTypeOperator";
|
|
2898
|
+
operator: TSTypeOperatorOperator;
|
|
2899
|
+
typeAnnotation: TSType$1;
|
|
2900
|
+
parent?: Node$1;
|
|
2901
|
+
}
|
|
1386
2902
|
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
2903
|
+
declare type TSTypeOperatorOperator = "keyof" | "unique" | "readonly";
|
|
2904
|
+
|
|
2905
|
+
declare interface TSTypeParameter extends Span$1 {
|
|
2906
|
+
type: "TSTypeParameter";
|
|
2907
|
+
name: BindingIdentifier$1;
|
|
2908
|
+
constraint: TSType$1 | null;
|
|
2909
|
+
default: TSType$1 | null;
|
|
2910
|
+
in: boolean;
|
|
2911
|
+
out: boolean;
|
|
2912
|
+
const: boolean;
|
|
2913
|
+
parent?: Node$1;
|
|
2914
|
+
}
|
|
1399
2915
|
|
|
1400
|
-
|
|
1401
|
-
|
|
2916
|
+
declare interface TSTypeParameterDeclaration$1 extends Span$1 {
|
|
2917
|
+
type: "TSTypeParameterDeclaration";
|
|
2918
|
+
params: Array<TSTypeParameter>;
|
|
2919
|
+
parent?: Node$1;
|
|
1402
2920
|
}
|
|
1403
2921
|
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
2922
|
+
declare interface TSTypeParameterInstantiation$1 extends Span$1 {
|
|
2923
|
+
type: "TSTypeParameterInstantiation";
|
|
2924
|
+
params: Array<TSType$1>;
|
|
2925
|
+
parent?: Node$1;
|
|
1407
2926
|
}
|
|
1408
2927
|
|
|
1409
|
-
|
|
2928
|
+
declare interface TSTypePredicate$1 extends Span$1 {
|
|
2929
|
+
type: "TSTypePredicate";
|
|
2930
|
+
parameterName: TSTypePredicateName;
|
|
2931
|
+
asserts: boolean;
|
|
2932
|
+
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
2933
|
+
parent?: Node$1;
|
|
2934
|
+
}
|
|
1410
2935
|
|
|
1411
|
-
|
|
1412
|
-
readonly id: S.String;
|
|
1413
|
-
readonly name: S.String;
|
|
1414
|
-
readonly location: S.optional<S.Struct<{
|
|
1415
|
-
readonly start: S.Struct<{
|
|
1416
|
-
readonly line: S.Finite;
|
|
1417
|
-
readonly column: S.Finite;
|
|
1418
|
-
}>;
|
|
1419
|
-
readonly end: S.optional<S.Struct<{
|
|
1420
|
-
readonly line: S.Finite;
|
|
1421
|
-
readonly column: S.Finite;
|
|
1422
|
-
}>>;
|
|
1423
|
-
}>>;
|
|
1424
|
-
}>;
|
|
2936
|
+
declare type TSTypePredicateName = IdentifierName$1 | TSThisType;
|
|
1425
2937
|
|
|
1426
|
-
|
|
2938
|
+
declare interface TSTypeQuery$1 extends Span$1 {
|
|
2939
|
+
type: "TSTypeQuery";
|
|
2940
|
+
exprName: TSTypeQueryExprName;
|
|
2941
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2942
|
+
parent?: Node$1;
|
|
2943
|
+
}
|
|
1427
2944
|
|
|
1428
|
-
|
|
2945
|
+
declare type TSTypeQueryExprName = TSImportType$1 | TSTypeName;
|
|
1429
2946
|
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
readonly start: S.Struct<{
|
|
1437
|
-
readonly line: S.Finite;
|
|
1438
|
-
readonly column: S.Finite;
|
|
1439
|
-
}>;
|
|
1440
|
-
readonly end: S.optional<S.Struct<{
|
|
1441
|
-
readonly line: S.Finite;
|
|
1442
|
-
readonly column: S.Finite;
|
|
1443
|
-
}>>;
|
|
1444
|
-
}>>;
|
|
1445
|
-
}>>;
|
|
1446
|
-
}>>;
|
|
2947
|
+
declare interface TSTypeReference$1 extends Span$1 {
|
|
2948
|
+
type: "TSTypeReference";
|
|
2949
|
+
typeName: TSTypeName;
|
|
2950
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2951
|
+
parent?: Node$1;
|
|
2952
|
+
}
|
|
1447
2953
|
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
readonly name: S.String;
|
|
1453
|
-
readonly location: S.optional<S.Struct<{
|
|
1454
|
-
readonly start: S.Struct<{
|
|
1455
|
-
readonly line: S.Finite;
|
|
1456
|
-
readonly column: S.Finite;
|
|
1457
|
-
}>;
|
|
1458
|
-
readonly end: S.optional<S.Struct<{
|
|
1459
|
-
readonly line: S.Finite;
|
|
1460
|
-
readonly column: S.Finite;
|
|
1461
|
-
}>>;
|
|
1462
|
-
}>>;
|
|
1463
|
-
}>>;
|
|
1464
|
-
}>;
|
|
2954
|
+
declare interface TSUndefinedKeyword extends Span$1 {
|
|
2955
|
+
type: "TSUndefinedKeyword";
|
|
2956
|
+
parent?: Node$1;
|
|
2957
|
+
}
|
|
1465
2958
|
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
2959
|
+
declare interface TSUnionType$1 extends Span$1 {
|
|
2960
|
+
type: "TSUnionType";
|
|
2961
|
+
types: Array<TSType$1>;
|
|
2962
|
+
parent?: Node$1;
|
|
2963
|
+
}
|
|
1469
2964
|
|
|
1470
|
-
|
|
2965
|
+
declare interface TSUnknownKeyword extends Span$1 {
|
|
2966
|
+
type: "TSUnknownKeyword";
|
|
2967
|
+
parent?: Node$1;
|
|
2968
|
+
}
|
|
1471
2969
|
|
|
1472
|
-
|
|
2970
|
+
declare interface TSVoidKeyword extends Span$1 {
|
|
2971
|
+
type: "TSVoidKeyword";
|
|
2972
|
+
parent?: Node$1;
|
|
2973
|
+
}
|
|
1473
2974
|
|
|
1474
|
-
|
|
1475
|
-
readonly id: S.String;
|
|
1476
|
-
readonly name: S.String;
|
|
1477
|
-
readonly timeSpentMs: S.Finite;
|
|
1478
|
-
readonly fileName: S.optionalKey<S.String>;
|
|
1479
|
-
readonly startPosition: S.optionalKey<S.Struct<{
|
|
1480
|
-
readonly line: S.Finite;
|
|
1481
|
-
readonly column: S.Finite;
|
|
1482
|
-
}>>;
|
|
1483
|
-
readonly status: S.Literal<"failed">;
|
|
1484
|
-
readonly failureMessage: S.String;
|
|
1485
|
-
}>, S.Struct<{
|
|
1486
|
-
readonly id: S.String;
|
|
1487
|
-
readonly name: S.String;
|
|
1488
|
-
readonly timeSpentMs: S.Finite;
|
|
1489
|
-
readonly fileName: S.optionalKey<S.String>;
|
|
1490
|
-
readonly startPosition: S.optionalKey<S.Struct<{
|
|
1491
|
-
readonly line: S.Finite;
|
|
1492
|
-
readonly column: S.Finite;
|
|
1493
|
-
}>>;
|
|
1494
|
-
readonly status: S.Literal<"skipped">;
|
|
1495
|
-
}>, S.Struct<{
|
|
1496
|
-
readonly id: S.String;
|
|
1497
|
-
readonly name: S.String;
|
|
1498
|
-
readonly timeSpentMs: S.Finite;
|
|
1499
|
-
readonly fileName: S.optionalKey<S.String>;
|
|
1500
|
-
readonly startPosition: S.optionalKey<S.Struct<{
|
|
1501
|
-
readonly line: S.Finite;
|
|
1502
|
-
readonly column: S.Finite;
|
|
1503
|
-
}>>;
|
|
1504
|
-
readonly status: S.Literal<"success">;
|
|
1505
|
-
}>]>;
|
|
2975
|
+
declare const TypeId: '~stryker/mutation-run/StageError';
|
|
1506
2976
|
|
|
1507
|
-
|
|
2977
|
+
declare interface UnaryExpression$1 extends Span$1 {
|
|
2978
|
+
type: "UnaryExpression";
|
|
2979
|
+
operator: UnaryOperator;
|
|
2980
|
+
argument: Expression$1;
|
|
2981
|
+
prefix: true;
|
|
2982
|
+
parent?: Node$1;
|
|
2983
|
+
}
|
|
1508
2984
|
|
|
1509
|
-
declare
|
|
2985
|
+
declare type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
|
|
1510
2986
|
|
|
1511
|
-
export declare interface
|
|
1512
|
-
|
|
2987
|
+
export declare interface UnserializableDescription {
|
|
2988
|
+
path: string[];
|
|
2989
|
+
reason: string;
|
|
1513
2990
|
}
|
|
1514
2991
|
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
2992
|
+
declare interface UpdateExpression$1 extends Span$1 {
|
|
2993
|
+
type: "UpdateExpression";
|
|
2994
|
+
operator: UpdateOperator;
|
|
2995
|
+
prefix: boolean;
|
|
2996
|
+
argument: SimpleAssignmentTarget$1;
|
|
2997
|
+
parent?: Node$1;
|
|
2998
|
+
}
|
|
1520
2999
|
|
|
1521
|
-
declare
|
|
1522
|
-
readonly cause: S.String;
|
|
1523
|
-
readonly phase: S.Literals<readonly ["capabilities", "dispose", "dryRun", "init", "mutantRun"]>;
|
|
1524
|
-
readonly runnerName: S.String;
|
|
1525
|
-
}>, YieldableError>;
|
|
3000
|
+
declare type UpdateOperator = "++" | "--";
|
|
1526
3001
|
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
readonly dispose: Effect.Effect<void, TestRunnerFailed>;
|
|
3002
|
+
declare interface V8IntrinsicExpression extends Span$1 {
|
|
3003
|
+
type: "V8IntrinsicExpression";
|
|
3004
|
+
name: IdentifierName$1;
|
|
3005
|
+
arguments: Array<Argument$1>;
|
|
3006
|
+
parent?: Node$1;
|
|
1533
3007
|
}
|
|
1534
3008
|
|
|
1535
|
-
export declare
|
|
3009
|
+
export declare function validateOptions(options: Record<string, unknown>, schema: ValidationSchemaDocument): Effect.Effect<StrykerOptions, ConfigError>;
|
|
1536
3010
|
|
|
1537
|
-
export declare type
|
|
3011
|
+
export declare type ValidationSchemaDocument = {
|
|
3012
|
+
readonly properties?: unknown;
|
|
3013
|
+
readonly [key: string]: unknown;
|
|
3014
|
+
};
|
|
1538
3015
|
|
|
1539
|
-
|
|
3016
|
+
declare interface VariableDeclaration$1 extends Span$1 {
|
|
3017
|
+
type: "VariableDeclaration";
|
|
3018
|
+
kind: VariableDeclarationKind;
|
|
3019
|
+
declarations: Array<VariableDeclarator$1>;
|
|
3020
|
+
declare?: boolean;
|
|
3021
|
+
parent?: Node$1;
|
|
3022
|
+
}
|
|
1540
3023
|
|
|
1541
|
-
|
|
1542
|
-
readonly high: S.Finite;
|
|
1543
|
-
readonly low: S.Finite;
|
|
1544
|
-
}>;
|
|
3024
|
+
declare type VariableDeclarationKind = "var" | "let" | "const" | "using" | "await using";
|
|
1545
3025
|
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
3026
|
+
declare interface VariableDeclarator$1 extends Span$1 {
|
|
3027
|
+
type: "VariableDeclarator";
|
|
3028
|
+
id: BindingPattern$1;
|
|
3029
|
+
init: Expression$1 | null;
|
|
3030
|
+
definite?: boolean;
|
|
3031
|
+
parent?: Node$1;
|
|
1549
3032
|
}
|
|
1550
3033
|
|
|
1551
|
-
export declare
|
|
1552
|
-
|
|
1553
|
-
|
|
3034
|
+
export declare const VERDICT_ENVELOPE_SCHEMA_VERSION = "1.1";
|
|
3035
|
+
|
|
3036
|
+
export declare interface VerdictCounts {
|
|
3037
|
+
readonly killed: number;
|
|
3038
|
+
readonly timeout: number;
|
|
3039
|
+
readonly survived: number;
|
|
3040
|
+
readonly noCoverage: number;
|
|
3041
|
+
readonly runtimeErrors: number;
|
|
3042
|
+
readonly compileErrors: number;
|
|
3043
|
+
readonly ignored: number;
|
|
3044
|
+
readonly pending: number;
|
|
1554
3045
|
}
|
|
1555
3046
|
|
|
1556
|
-
export declare
|
|
3047
|
+
export declare interface VerdictEnvelope {
|
|
3048
|
+
readonly schemaVersion: string;
|
|
3049
|
+
readonly runId: string;
|
|
3050
|
+
readonly mode: OutputMode;
|
|
3051
|
+
readonly signal: ModeSignal;
|
|
3052
|
+
readonly score: number | null;
|
|
3053
|
+
readonly thresholds: VerdictThresholds;
|
|
3054
|
+
readonly counts: VerdictCounts;
|
|
3055
|
+
readonly reportFile: string | null;
|
|
3056
|
+
readonly mutants: readonly VerdictMutant[];
|
|
3057
|
+
}
|
|
1557
3058
|
|
|
1558
3059
|
export declare function verdictExitClass(score: number | null, breakingThreshold: number | null): ExitClass | null;
|
|
1559
3060
|
|
|
3061
|
+
export declare interface VerdictMutant {
|
|
3062
|
+
readonly id: string;
|
|
3063
|
+
readonly file: string;
|
|
3064
|
+
readonly location: Location;
|
|
3065
|
+
readonly mutator: string;
|
|
3066
|
+
readonly replacement: string | null;
|
|
3067
|
+
readonly status: MutantStatus;
|
|
3068
|
+
}
|
|
3069
|
+
|
|
1560
3070
|
export declare class VerdictReached extends VerdictReached_base {}
|
|
1561
3071
|
|
|
1562
3072
|
declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdict", {
|
|
@@ -1600,4 +3110,126 @@ declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdi
|
|
|
1600
3110
|
}>>;
|
|
1601
3111
|
}>, {}>;
|
|
1602
3112
|
|
|
3113
|
+
export declare interface VerdictThresholds {
|
|
3114
|
+
readonly high: number;
|
|
3115
|
+
readonly low: number;
|
|
3116
|
+
readonly break: number | null;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
export declare interface VmModule {
|
|
3120
|
+
readonly createContext: (sandbox: object) => object;
|
|
3121
|
+
readonly Script: new (code: string, options?: {
|
|
3122
|
+
readonly filename?: string;
|
|
3123
|
+
}) => VmScript;
|
|
3124
|
+
}
|
|
3125
|
+
|
|
3126
|
+
export declare interface VmModuleBuiltin {
|
|
3127
|
+
readonly createRequire: (fileName: string | URL) => VmRequire;
|
|
3128
|
+
readonly stripTypeScriptTypes: (source: string, options?: {
|
|
3129
|
+
readonly mode?: 'strip' | 'transform';
|
|
3130
|
+
}) => string;
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
export declare interface VmPlatform {
|
|
3134
|
+
readonly module: VmModuleBuiltin;
|
|
3135
|
+
readonly vm: VmModule;
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
export declare type VmRequire = (specifier: string) => unknown;
|
|
3139
|
+
|
|
3140
|
+
export declare class VmRunner extends VmRunner_base {}
|
|
3141
|
+
|
|
3142
|
+
declare const VmRunner_base: Context.ServiceClass<VmRunner, "@systemfsoftware/stryker-js/VmRunner", VmPlatform>;
|
|
3143
|
+
|
|
3144
|
+
export declare const vmRunnerCapabilities: {
|
|
3145
|
+
readonly reloadEnvironment: true;
|
|
3146
|
+
};
|
|
3147
|
+
|
|
3148
|
+
export declare const vmRunnerName = "vm";
|
|
3149
|
+
|
|
3150
|
+
export declare interface VmScript {
|
|
3151
|
+
readonly runInContext: (context: object) => unknown;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
export declare const vmTestRunner: (config: VmTestRunnerConfig) => Effect.Effect<PooledTestRunner, TestRunnerFailed, FileSystem.FileSystem | VmRunner>;
|
|
3155
|
+
|
|
3156
|
+
export declare interface VmTestRunnerConfig {
|
|
3157
|
+
readonly testFiles: readonly string[];
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
export declare type WarningOptions = Exclude<StrykerOptions['warnings'], boolean>;
|
|
3161
|
+
|
|
3162
|
+
declare interface WhileStatement$1 extends Span$1 {
|
|
3163
|
+
type: "WhileStatement";
|
|
3164
|
+
test: Expression$1;
|
|
3165
|
+
body: Statement$1;
|
|
3166
|
+
parent?: Node$1;
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
export declare type WiredRunLayer = Layer.Layer<RunStageServices | EnginePorts, never, never>;
|
|
3170
|
+
|
|
3171
|
+
declare interface WithStatement$1 extends Span$1 {
|
|
3172
|
+
type: "WithStatement";
|
|
3173
|
+
object: Expression$1;
|
|
3174
|
+
body: Statement$1;
|
|
3175
|
+
parent?: Node$1;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
export declare type WorkerBootError = WorkerExit | WorkerBootTimeoutError;
|
|
3179
|
+
|
|
3180
|
+
export declare class WorkerBootTimeoutError extends WorkerBootTimeoutError_base {
|
|
3181
|
+
readonly exitClass: 'InternalError';
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
declare const WorkerBootTimeoutError_base: Schema.Class<WorkerBootTimeoutError, Schema.TaggedStruct<"WorkerBootTimeoutError", {
|
|
3185
|
+
readonly pid: Schema.Int;
|
|
3186
|
+
}>, YieldableError>;
|
|
3187
|
+
|
|
3188
|
+
export declare interface WorkerClientParams<Rpcs extends Rpc.Any> extends WorkerSpawnParams {
|
|
3189
|
+
readonly rpcs: RpcGroup.RpcGroup<Rpcs>;
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
export declare type WorkerExit = ChildProcessCrashedError | OutOfMemoryError;
|
|
3193
|
+
|
|
3194
|
+
export declare class WorkerLauncher extends WorkerLauncher_base {}
|
|
3195
|
+
|
|
3196
|
+
declare const WorkerLauncher_base: Context.ServiceClass<WorkerLauncher, "@systemfsoftware/stryker-js/WorkerLauncher", WorkerLauncherShape>;
|
|
3197
|
+
|
|
3198
|
+
export declare interface WorkerLauncherShape {
|
|
3199
|
+
readonly spawn: (params: WorkerSpawnParams) => Effect.Effect<SpawnedSocketWorker, ChildProcessCrashedError, Scope.Scope>;
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
export declare interface WorkerPluginDescriptor<K extends WorkerPluginKind = WorkerPluginKind> {
|
|
3203
|
+
readonly kind: K;
|
|
3204
|
+
readonly name: string;
|
|
3205
|
+
readonly workerEntry: string;
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
export declare const WorkerPluginKind: S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>;
|
|
3209
|
+
|
|
3210
|
+
export declare type WorkerPluginKind = typeof WorkerPluginKind.Type;
|
|
3211
|
+
|
|
3212
|
+
export declare interface WorkerPluginSource<K extends WorkerPluginKind = WorkerPluginKind> {
|
|
3213
|
+
readonly kind: K;
|
|
3214
|
+
readonly name: string;
|
|
3215
|
+
readonly modulePath: string;
|
|
3216
|
+
readonly workerEntry: string;
|
|
3217
|
+
}
|
|
3218
|
+
|
|
3219
|
+
export declare interface WorkerSpawnParams {
|
|
3220
|
+
readonly entrypoint: string;
|
|
3221
|
+
readonly workingDirectory: string;
|
|
3222
|
+
readonly execArgv: readonly string[];
|
|
3223
|
+
readonly optionsJson: string;
|
|
3224
|
+
readonly tempDirPrefix: string;
|
|
3225
|
+
readonly env?: Readonly<Record<string, string>> | undefined;
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
declare interface YieldExpression$1 extends Span$1 {
|
|
3229
|
+
type: "YieldExpression";
|
|
3230
|
+
delegate: boolean;
|
|
3231
|
+
argument: Expression$1 | null;
|
|
3232
|
+
parent?: Node$1;
|
|
3233
|
+
}
|
|
3234
|
+
|
|
1603
3235
|
export { }
|