@systemfsoftware/stryker-js 5.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +68 -0
- package/README.md +144 -39
- package/dist/Plugins-DF95m9KO.d.mts +1400 -0
- package/dist/{builtin-reporters-wAuKFSsd.mjs → builtin-reporters-BqePgAN0.mjs} +3 -4
- package/dist/builtin-reporters.d.mts +299 -1
- package/dist/builtin-reporters.mjs +3 -2
- package/dist/compiler-C8aLIb5U.mjs +48406 -0
- package/dist/config.d.mts +2 -1
- package/dist/dist-CWbipfGB.mjs +711 -0
- package/dist/index-BInJWa0x.d.mts +1148 -0
- package/dist/index.d.mts +2538 -312
- package/dist/index.mjs +4 -3
- package/dist/main.mjs +499 -1893
- package/dist/{mutation-test.cell-RmF-sBUm.d.mts → mutation-test.cell-Cw1ZzDnb.d.mts} +70 -18
- package/dist/plugin-loader.d.mts +1577 -10
- package/dist/plugin-loader.mjs +3 -2
- package/dist/{plugin-worker-entry-DNu0SHO8.mjs → plugin-worker-entry-D00fedxV.mjs} +356 -184
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/rolldown-runtime-XITHOX9H.mjs +15 -0
- package/dist/src-BoVgxGWD.mjs +12466 -0
- package/dist/src-js-DRK8boNV.mjs +1009 -0
- package/dist/{stryker-config-BlfHxS7n.d.mts → stryker-config-DIGmQrm1.d.mts} +2 -2
- package/package.json +35 -13
- package/dist/Plugins-sA_9VKus.d.mts +0 -96
- package/dist/src-Bzh7ykDp.mjs +0 -4724
package/dist/index.d.mts
CHANGED
|
@@ -1,78 +1,291 @@
|
|
|
1
1
|
import * as Cause from 'effect/Cause';
|
|
2
2
|
import { Cell } from '@systemfsoftware/effect-cell-types';
|
|
3
|
-
import { CheckResult } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
4
3
|
import * as ChildProcessSpawner from 'effect/unstable/process/ChildProcessSpawner';
|
|
5
|
-
import { CompleteDryRunResult } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
6
4
|
import * as Context from 'effect/Context';
|
|
7
|
-
import { CoverageData } from '@systemfsoftware/stryker-js-instrumenter/mutants';
|
|
8
5
|
import * as DateTime from 'effect/DateTime';
|
|
9
|
-
import { DryRunOptions } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
10
|
-
import { DryRunResult } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
11
6
|
import * as Duration from 'effect/Duration';
|
|
12
7
|
import { Duration as Duration_2 } from 'effect/Duration';
|
|
13
8
|
import * as Effect from 'effect/Effect';
|
|
14
9
|
import * as Exit from 'effect/Exit';
|
|
15
|
-
import { ExitClass } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
16
|
-
import { FileDescription } from '@systemfsoftware/stryker-js-instrumenter/mutants';
|
|
17
|
-
import { FileDescriptions } from '@systemfsoftware/stryker-js-instrumenter/mutants';
|
|
18
|
-
import { FileResult } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
19
10
|
import * as FileSystem from 'effect/FileSystem';
|
|
20
11
|
import * as HashMap from 'effect/HashMap';
|
|
21
|
-
import { Ignorer } from '@systemfsoftware/stryker-ignorer-interface';
|
|
22
12
|
import * as Layer from 'effect/Layer';
|
|
23
|
-
import { Metrics } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
24
|
-
import { MetricsResult } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
25
13
|
import * as MutableHashMap from 'effect/MutableHashMap';
|
|
26
14
|
import * as MutableHashSet from 'effect/MutableHashSet';
|
|
27
|
-
import
|
|
28
|
-
import { MutantResult } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
29
|
-
import { MutantRunOptions } from '@systemfsoftware/stryker-js-instrumenter/mutants';
|
|
30
|
-
import { MutantRunResult } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
31
|
-
import * as mutants from '@systemfsoftware/stryker-js-instrumenter/mutants';
|
|
32
|
-
import { MutantStatus } from '@systemfsoftware/stryker-js-instrumenter/mutants';
|
|
33
|
-
import { MutateDescription } from '@systemfsoftware/stryker-js-instrumenter/mutants';
|
|
34
|
-
import { MutationTestResult } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
35
|
-
import { PartialStrykerOptions } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
15
|
+
import * as Option from 'effect/Option';
|
|
36
16
|
import * as Path from 'effect/Path';
|
|
37
17
|
import { PlatformError } from 'effect/PlatformError';
|
|
38
18
|
import * as Queue from 'effect/Queue';
|
|
39
|
-
import { ReporterFactory } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
40
|
-
import { ReporterRpcs } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
41
19
|
import * as Rpc from 'effect/unstable/rpc/Rpc';
|
|
42
20
|
import * as RpcClient from 'effect/unstable/rpc/RpcClient';
|
|
43
21
|
import { RpcClientError } from 'effect/unstable/rpc/RpcClientError';
|
|
44
22
|
import * as RpcGroup from 'effect/unstable/rpc/RpcGroup';
|
|
45
|
-
import
|
|
46
|
-
import { RunPlan } from '@systemfsoftware/stryker-js-instrumenter/mutants';
|
|
23
|
+
import * as RpcMiddleware from 'effect/unstable/rpc/RpcMiddleware';
|
|
47
24
|
import * as S from 'effect/Schema';
|
|
48
25
|
import * as Schedule from 'effect/Schedule';
|
|
49
26
|
import { Schema } from 'effect';
|
|
50
|
-
import * as schema from '@systemfsoftware/stryker-js-plugin-interface';
|
|
51
27
|
import * as Scope from 'effect/Scope';
|
|
52
28
|
import * as Socket from 'effect/unstable/socket/Socket';
|
|
53
29
|
import * as Stdio from 'effect/Stdio';
|
|
54
|
-
import { StrykerOptions } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
55
|
-
import { TestResult } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
56
|
-
import { TestRunnerCapabilities } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
57
|
-
import { TestRunnerFailed } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
58
|
-
import { WorkerPluginKind } from '@systemfsoftware/stryker-js-plugin-interface';
|
|
59
30
|
import { YieldableError } from 'effect/Cause';
|
|
60
31
|
|
|
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
|
+
|
|
61
51
|
export declare const ACTIONABLE_STATUSES: readonly ['Survived', 'NoCoverage', 'Timeout', 'RuntimeError'];
|
|
62
52
|
|
|
63
|
-
declare type AnyPluginDescriptor = AnyWorkerPluginDescriptor | EvaluatorPluginDescriptor;
|
|
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
|
+
}
|
|
177
|
+
|
|
178
|
+
export declare interface BaseTestResult {
|
|
179
|
+
readonly id: string;
|
|
180
|
+
readonly name: string;
|
|
181
|
+
readonly timeSpentMs: number;
|
|
182
|
+
readonly fileName?: string;
|
|
183
|
+
readonly startPosition?: Position;
|
|
184
|
+
}
|
|
185
|
+
|
|
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";
|
|
203
|
+
|
|
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
|
+
}
|
|
64
242
|
|
|
65
|
-
declare
|
|
243
|
+
declare interface BooleanLiteral$1 extends Span$1 {
|
|
244
|
+
type: "Literal";
|
|
245
|
+
value: boolean;
|
|
246
|
+
raw: string | null;
|
|
247
|
+
parent?: Node$1;
|
|
248
|
+
}
|
|
66
249
|
|
|
67
|
-
declare
|
|
250
|
+
declare interface BreakStatement$1 extends Span$1 {
|
|
251
|
+
type: "BreakStatement";
|
|
252
|
+
label: LabelIdentifier$1 | null;
|
|
253
|
+
parent?: Node$1;
|
|
254
|
+
}
|
|
68
255
|
|
|
69
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>;
|
|
70
257
|
|
|
71
|
-
export declare function buildVerdictEnvelope(report:
|
|
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;
|
|
72
261
|
|
|
73
262
|
export declare const calculateMetrics: (files: Readonly<Record<string, FileResult>>) => MetricsResult;
|
|
74
263
|
|
|
75
|
-
declare
|
|
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
|
+
}
|
|
279
|
+
|
|
280
|
+
declare type ChainElement = CallExpression$1 | TSNonNullExpression$1 | MemberExpression$1;
|
|
281
|
+
|
|
282
|
+
declare interface ChainExpression$1 extends Span$1 {
|
|
283
|
+
type: "ChainExpression";
|
|
284
|
+
expression: ChainElement;
|
|
285
|
+
parent?: Node$1;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export declare class CheckerAnsweredUnrequested extends CheckerAnsweredUnrequested_base {}
|
|
76
289
|
|
|
77
290
|
declare const CheckerAnsweredUnrequested_base: S.Class<CheckerAnsweredUnrequested, S.TaggedStruct<"CheckerAnsweredUnrequested", {
|
|
78
291
|
readonly checkerName: S.String;
|
|
@@ -81,9 +294,9 @@ declare const CheckerAnsweredUnrequested_base: S.Class<CheckerAnsweredUnrequeste
|
|
|
81
294
|
readonly requestedIds: S.$Array<S.String>;
|
|
82
295
|
}>, YieldableError>;
|
|
83
296
|
|
|
84
|
-
declare type CheckerContractBroken = CheckerAnsweredUnrequested | CheckerSkippedRequested;
|
|
297
|
+
export declare type CheckerContractBroken = CheckerAnsweredUnrequested | CheckerSkippedRequested;
|
|
85
298
|
|
|
86
|
-
declare type CheckerCrash = ChildProcessCrashedError | OutOfMemoryError;
|
|
299
|
+
export declare type CheckerCrash = ChildProcessCrashedError | OutOfMemoryError;
|
|
87
300
|
|
|
88
301
|
/**
|
|
89
302
|
* A checker held by the pool.
|
|
@@ -105,7 +318,7 @@ export declare interface CheckerResourceService {
|
|
|
105
318
|
readonly group: (checkerName: string, mutants: readonly Mutant[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash>;
|
|
106
319
|
}
|
|
107
320
|
|
|
108
|
-
declare class CheckerSkippedRequested extends CheckerSkippedRequested_base {}
|
|
321
|
+
export declare class CheckerSkippedRequested extends CheckerSkippedRequested_base {}
|
|
109
322
|
|
|
110
323
|
declare const CheckerSkippedRequested_base: S.Class<CheckerSkippedRequested, S.TaggedStruct<"CheckerSkippedRequested", {
|
|
111
324
|
readonly checkerName: S.String;
|
|
@@ -115,6 +328,10 @@ declare const CheckerSkippedRequested_base: S.Class<CheckerSkippedRequested, S.T
|
|
|
115
328
|
|
|
116
329
|
export declare const checkGroupedPlans: (checker: CheckerResourceService, checkerName: string, plans: readonly RunPlan[]) => Effect.Effect<readonly (readonly [RunPlan, CheckResult])[], CheckerCrash | CheckerContractBroken>;
|
|
117
330
|
|
|
331
|
+
export declare type CheckResult = FailedCheckResult | PassedCheckResult;
|
|
332
|
+
|
|
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;
|
|
334
|
+
|
|
118
335
|
/**
|
|
119
336
|
* The child process hosting a worker ended when it was not supposed to.
|
|
120
337
|
*/
|
|
@@ -134,18 +351,65 @@ declare const ChildProcessCrashedError_base: Schema.Class<ChildProcessCrashedErr
|
|
|
134
351
|
readonly cause: Schema.optional<Schema.String>;
|
|
135
352
|
}>, YieldableError>;
|
|
136
353
|
|
|
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
|
+
}
|
|
367
|
+
|
|
368
|
+
declare interface ClassBody$1 extends Span$1 {
|
|
369
|
+
type: "ClassBody";
|
|
370
|
+
body: Array<ClassElement>;
|
|
371
|
+
parent?: Node$1;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
declare type ClassElement = StaticBlock$1 | MethodDefinition$1 | PropertyDefinition$1 | AccessorProperty$1 | TSIndexSignature$1;
|
|
375
|
+
|
|
137
376
|
export declare const classifyWorkerExit: (pid: number, exitCode: number) => ChildProcessCrashedError | OutOfMemoryError;
|
|
138
377
|
|
|
378
|
+
declare type ClassType = "ClassDeclaration" | "ClassExpression";
|
|
379
|
+
|
|
139
380
|
export declare interface CompiledTests {
|
|
140
381
|
readonly fileName: string;
|
|
141
382
|
readonly script: VmScript;
|
|
142
383
|
}
|
|
143
384
|
|
|
385
|
+
export declare interface CompleteDryRunResult {
|
|
386
|
+
readonly tests: readonly TestResult[];
|
|
387
|
+
readonly mutantCoverage?: MutantCoverage;
|
|
388
|
+
readonly status: 'complete';
|
|
389
|
+
}
|
|
390
|
+
|
|
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;
|
|
398
|
+
}
|
|
399
|
+
|
|
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
|
+
}
|
|
407
|
+
|
|
144
408
|
export declare const CONFIG_SYNTAX_HELP: string;
|
|
145
409
|
|
|
146
410
|
export declare const ConfigDocumentSchema: S.$Record<S.String, S.Unknown>;
|
|
147
411
|
|
|
148
|
-
declare interface ConfigEnv {
|
|
412
|
+
export declare interface ConfigEnv {
|
|
149
413
|
readonly command: 'run' | 'merge-reports';
|
|
150
414
|
readonly isDryRun: boolean;
|
|
151
415
|
readonly mode: OutputMode;
|
|
@@ -203,25 +467,108 @@ export declare interface ConfigInvocation {
|
|
|
203
467
|
|
|
204
468
|
export declare const connectRetry: Schedule.Schedule<Duration_2, unknown, never, never>;
|
|
205
469
|
|
|
470
|
+
declare interface ContinueStatement$1 extends Span$1 {
|
|
471
|
+
type: "ContinueStatement";
|
|
472
|
+
label: LabelIdentifier$1 | null;
|
|
473
|
+
parent?: Node$1;
|
|
474
|
+
}
|
|
475
|
+
|
|
206
476
|
export declare const countMutants: (mutants: readonly MutantResult[]) => Metrics;
|
|
207
477
|
|
|
478
|
+
export declare type CoverageAnalysis = 'off' | 'all' | 'perTest';
|
|
479
|
+
|
|
480
|
+
export declare type CoverageData = Record<string, number>;
|
|
481
|
+
|
|
208
482
|
export declare const createDefaultOptions: Effect.Effect<StrykerOptions>;
|
|
209
483
|
|
|
210
484
|
export declare function createFileMatcher(pattern: boolean | string, pathService: Path.Path, allowHiddenFiles?: boolean): (fileName: string) => boolean;
|
|
211
485
|
|
|
486
|
+
declare interface DebuggerStatement extends Span$1 {
|
|
487
|
+
type: "DebuggerStatement";
|
|
488
|
+
parent?: Node$1;
|
|
489
|
+
}
|
|
490
|
+
|
|
212
491
|
export declare const decideExtendsStep: (state: ExtendsStepState, document: PartialStrykerOptions, file: string, pathService: Path.Path) => ExtendsStepDecision;
|
|
213
492
|
|
|
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
|
+
}
|
|
500
|
+
|
|
214
501
|
export declare function deepFreeze<T>(target: T): Immutable<T>;
|
|
215
502
|
|
|
503
|
+
/**
|
|
504
|
+
* Every option optional, all the way down, and mutable: this is the type a
|
|
505
|
+
* caller CONSTRUCTS by assignment, so `readonly` is stripped. The decoded
|
|
506
|
+
* `StrykerOptions` keeps it - that side is read, never built.
|
|
507
|
+
*/
|
|
508
|
+
export declare type DeepOptional<T> = { -readonly [P in keyof T]?: T[P] extends Record<string, unknown> ? DeepOptional<T[P]> | undefined : T[P]; };
|
|
509
|
+
|
|
216
510
|
export declare const defaultOptions: Effect.Effect<Immutable<StrykerOptions>, never, never>;
|
|
217
511
|
|
|
218
512
|
export declare function describeErrors(error: S.SchemaError): string[];
|
|
219
513
|
|
|
220
|
-
declare
|
|
221
|
-
|
|
222
|
-
|
|
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
|
+
}
|
|
527
|
+
|
|
528
|
+
export declare class DryRunCompleted extends DryRunCompleted_base {}
|
|
223
529
|
|
|
224
|
-
declare
|
|
530
|
+
declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dryRunCompleted", {
|
|
531
|
+
readonly timing: S.Struct<{
|
|
532
|
+
readonly net: S.Finite;
|
|
533
|
+
readonly overhead: S.Finite;
|
|
534
|
+
}>;
|
|
535
|
+
readonly capabilities: S.Struct<{
|
|
536
|
+
readonly reloadEnvironment: S.Boolean;
|
|
537
|
+
}>;
|
|
538
|
+
readonly testCount: S.Finite;
|
|
539
|
+
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
540
|
+
readonly id: S.String;
|
|
541
|
+
readonly name: S.String;
|
|
542
|
+
readonly timeSpentMs: S.Finite;
|
|
543
|
+
readonly fileName: S.optionalKey<S.String>;
|
|
544
|
+
readonly startPosition: S.optionalKey<S.Struct<{
|
|
545
|
+
readonly line: S.Finite;
|
|
546
|
+
readonly column: S.Finite;
|
|
547
|
+
}>>;
|
|
548
|
+
readonly status: S.Literal<"failed">;
|
|
549
|
+
readonly failureMessage: S.String;
|
|
550
|
+
}>, S.Struct<{
|
|
551
|
+
readonly id: S.String;
|
|
552
|
+
readonly name: S.String;
|
|
553
|
+
readonly timeSpentMs: S.Finite;
|
|
554
|
+
readonly fileName: S.optionalKey<S.String>;
|
|
555
|
+
readonly startPosition: S.optionalKey<S.Struct<{
|
|
556
|
+
readonly line: S.Finite;
|
|
557
|
+
readonly column: S.Finite;
|
|
558
|
+
}>>;
|
|
559
|
+
readonly status: S.Literal<"skipped">;
|
|
560
|
+
}>, S.Struct<{
|
|
561
|
+
readonly id: S.String;
|
|
562
|
+
readonly name: S.String;
|
|
563
|
+
readonly timeSpentMs: S.Finite;
|
|
564
|
+
readonly fileName: S.optionalKey<S.String>;
|
|
565
|
+
readonly startPosition: S.optionalKey<S.Struct<{
|
|
566
|
+
readonly line: S.Finite;
|
|
567
|
+
readonly column: S.Finite;
|
|
568
|
+
}>>;
|
|
569
|
+
readonly status: S.Literal<"success">;
|
|
570
|
+
}>]>>;
|
|
571
|
+
}>, {}>;
|
|
225
572
|
|
|
226
573
|
export declare interface DryRunDone extends InstrumentDone {
|
|
227
574
|
readonly dryRunResult: CompleteDryRunResult;
|
|
@@ -229,14 +576,37 @@ export declare interface DryRunDone extends InstrumentDone {
|
|
|
229
576
|
readonly timeOverhead: Duration.Duration;
|
|
230
577
|
}
|
|
231
578
|
|
|
579
|
+
export declare interface DryRunOptions extends RunOptions {
|
|
580
|
+
readonly coverageAnalysis: CoverageAnalysis;
|
|
581
|
+
readonly files?: readonly string[];
|
|
582
|
+
readonly testFiles?: readonly string[];
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export declare type DryRunResult = CompleteDryRunResult | ErrorDryRunResult | TimeoutDryRunResult;
|
|
586
|
+
|
|
587
|
+
declare interface EmptyStatement$1 extends Span$1 {
|
|
588
|
+
type: "EmptyStatement";
|
|
589
|
+
parent?: Node$1;
|
|
590
|
+
}
|
|
591
|
+
|
|
232
592
|
export declare type EnginePorts = ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Path.Path | Stdio.Stdio | WorkerLauncher;
|
|
233
593
|
|
|
234
|
-
declare interface
|
|
594
|
+
export declare interface ErrorDryRunResult {
|
|
595
|
+
readonly status: 'error';
|
|
596
|
+
readonly errorMessage: string;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export declare interface ErrorMutantRunResult {
|
|
600
|
+
readonly status: 'error';
|
|
601
|
+
readonly errorMessage: string;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export declare interface EvaluatorPluginDescriptor {
|
|
235
605
|
readonly kind: 'Evaluator';
|
|
236
606
|
readonly name: string;
|
|
237
607
|
}
|
|
238
608
|
|
|
239
|
-
declare interface EvaluatorPluginSource {
|
|
609
|
+
export declare interface EvaluatorPluginSource {
|
|
240
610
|
readonly kind: 'Evaluator';
|
|
241
611
|
readonly name: string;
|
|
242
612
|
readonly modulePath: string;
|
|
@@ -244,43 +614,183 @@ declare interface EvaluatorPluginSource {
|
|
|
244
614
|
|
|
245
615
|
export declare const EXIT_CODE: Record<ExitClass, number>;
|
|
246
616
|
|
|
247
|
-
export
|
|
617
|
+
export declare const ExitClass: S.Literals<readonly ["VerdictFail", "ConfigError", "RuntimeError", "InternalError"]>;
|
|
618
|
+
|
|
619
|
+
export declare type ExitClass = typeof ExitClass.Type;
|
|
620
|
+
|
|
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
|
+
}
|
|
629
|
+
|
|
630
|
+
declare interface ExportDefaultDeclaration$1 extends Span$1 {
|
|
631
|
+
type: "ExportDefaultDeclaration";
|
|
632
|
+
declaration: ExportDefaultDeclarationKind;
|
|
633
|
+
exportKind?: "value";
|
|
634
|
+
parent?: Node$1;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
declare type ExportDefaultDeclarationKind = Function$1 | Class$1 | TSInterfaceDeclaration$1 | Expression$1;
|
|
638
|
+
|
|
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
|
+
}
|
|
648
|
+
|
|
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
|
+
}
|
|
248
665
|
|
|
249
666
|
export declare const extendsPropertySchema: S.optionalKey<S.String>;
|
|
250
667
|
|
|
251
668
|
export declare type ExtendsRefusalReason = 'cycle' | 'non-string-extends';
|
|
252
669
|
|
|
253
|
-
export declare type ExtendsStepDecision =
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
readonly
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
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
|
+
}>;
|
|
727
|
+
|
|
728
|
+
export declare interface FailedCheckResult {
|
|
729
|
+
readonly reason: string;
|
|
730
|
+
readonly status: 'compileError';
|
|
731
|
+
}
|
|
265
732
|
|
|
266
|
-
export declare interface
|
|
267
|
-
readonly
|
|
268
|
-
readonly
|
|
733
|
+
export declare interface FailedTestResult extends BaseTestResult {
|
|
734
|
+
readonly status: 'failed';
|
|
735
|
+
readonly failureMessage: string;
|
|
269
736
|
}
|
|
270
737
|
|
|
271
|
-
export declare interface
|
|
272
|
-
readonly
|
|
273
|
-
readonly documents: readonly ExtendsStepDocument[];
|
|
738
|
+
export declare interface FileDescription {
|
|
739
|
+
readonly mutate: MutateDescription;
|
|
274
740
|
}
|
|
275
741
|
|
|
742
|
+
export declare type FileDescriptions = Record<string, FileDescription>;
|
|
743
|
+
|
|
744
|
+
export declare type FileResult = typeof FileResultSchema.Type;
|
|
745
|
+
|
|
746
|
+
export declare const FileResultSchema: S.Struct<{
|
|
747
|
+
readonly language: S.String;
|
|
748
|
+
readonly source: S.String;
|
|
749
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
750
|
+
readonly id: S.String;
|
|
751
|
+
readonly mutatorName: S.String;
|
|
752
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
753
|
+
readonly location: S.Struct<{
|
|
754
|
+
readonly start: S.Struct<{
|
|
755
|
+
readonly line: S.Finite;
|
|
756
|
+
readonly column: S.Finite;
|
|
757
|
+
}>;
|
|
758
|
+
readonly end: S.Struct<{
|
|
759
|
+
readonly line: S.Finite;
|
|
760
|
+
readonly column: S.Finite;
|
|
761
|
+
}>;
|
|
762
|
+
}>;
|
|
763
|
+
readonly replacement: S.optional<S.String>;
|
|
764
|
+
readonly description: S.optional<S.String>;
|
|
765
|
+
readonly statusReason: S.optional<S.String>;
|
|
766
|
+
readonly static: S.optional<S.Boolean>;
|
|
767
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
768
|
+
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
769
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
770
|
+
readonly duration: S.optional<S.Finite>;
|
|
771
|
+
}>>;
|
|
772
|
+
}>;
|
|
773
|
+
|
|
276
774
|
export declare function findUnserializables(thing: unknown): UnserializableDescription[] | undefined;
|
|
277
775
|
|
|
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
|
+
}
|
|
783
|
+
|
|
278
784
|
export declare const forkCoreSchema: Record<string, unknown>;
|
|
279
785
|
|
|
280
786
|
export declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
281
787
|
readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
282
788
|
readonly buildCommand: S.optional<S.String>;
|
|
283
|
-
readonly checkers: S.withDecodingDefaultKey<S.$Array<S.
|
|
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>;
|
|
284
794
|
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
285
795
|
readonly concurrency: S.optional<S.Union<readonly [S.Finite, S.String]>>;
|
|
286
796
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
@@ -327,7 +837,11 @@ export declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
327
837
|
readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
328
838
|
readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
|
|
329
839
|
readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
|
|
330
|
-
readonly testRunner: S.withDecodingDefaultKey<S.String,
|
|
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>;
|
|
331
845
|
readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
332
846
|
readonly thresholds: S.withDecodingDefaultKey<S.Struct<{
|
|
333
847
|
readonly high: S.withDecodingDefaultKey<S.Finite, never>;
|
|
@@ -352,8 +866,72 @@ export declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
352
866
|
readonly extends: S.optionalKey<S.String>;
|
|
353
867
|
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
354
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
|
+
|
|
355
927
|
export declare function generateRunId(now: DateTime.Utc): string;
|
|
356
928
|
|
|
929
|
+
declare interface Hashbang extends Span$1 {
|
|
930
|
+
type: "Hashbang";
|
|
931
|
+
value: string;
|
|
932
|
+
parent?: Node$1;
|
|
933
|
+
}
|
|
934
|
+
|
|
357
935
|
export declare class Heartbeat extends Heartbeat_base {}
|
|
358
936
|
|
|
359
937
|
declare const Heartbeat_base: S.Class<Heartbeat, S.TaggedStruct<"tick", {
|
|
@@ -372,24 +950,108 @@ declare const HelpRendered_base: S.Class<HelpRendered, S.TaggedStruct<"help", {
|
|
|
372
950
|
|
|
373
951
|
export declare function highestExitClass(pending: Iterable<ExitClass>): ExitClass | null;
|
|
374
952
|
|
|
375
|
-
declare
|
|
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 {}
|
|
376
972
|
|
|
377
973
|
declare const IdGenerator_base: Context.ServiceClass<IdGenerator, "@systemfsoftware/stryker-js/Worker/IdGenerator", IdGeneratorShape>;
|
|
378
974
|
|
|
379
|
-
declare interface IdGeneratorShape {
|
|
975
|
+
export declare interface IdGeneratorShape {
|
|
380
976
|
readonly next: Effect.Effect<number>;
|
|
381
977
|
}
|
|
382
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
|
+
|
|
383
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]>; };
|
|
384
993
|
|
|
385
|
-
declare type ImmutablePrimitive = Primitive | ((...args: never[]) => unknown);
|
|
994
|
+
export declare type ImmutablePrimitive = Primitive | ((...args: never[]) => unknown);
|
|
995
|
+
|
|
996
|
+
declare interface ImportAttribute$1 extends Span$1 {
|
|
997
|
+
type: "ImportAttribute";
|
|
998
|
+
key: ImportAttributeKey;
|
|
999
|
+
value: StringLiteral$1;
|
|
1000
|
+
parent?: Node$1;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
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
|
+
}
|
|
386
1022
|
|
|
387
1023
|
export declare const ImportedModuleSchema: S.Struct<{
|
|
388
1024
|
readonly default: S.optional<S.Unknown>;
|
|
389
1025
|
}>;
|
|
390
1026
|
|
|
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
|
+
|
|
391
1035
|
export declare function importModule(moduleName: string): Effect.Effect<unknown, StrykerError>;
|
|
392
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
|
+
|
|
393
1055
|
export declare const IncrementalReportSchema: S.StructWithRest<S.Struct<{
|
|
394
1056
|
readonly schemaVersion: S.String;
|
|
395
1057
|
readonly thresholds: S.Struct<{
|
|
@@ -456,66 +1118,639 @@ export declare interface InstrumentDone extends PrepareDone {
|
|
|
456
1118
|
export declare function isActionableStatus(status: MutantStatus): boolean;
|
|
457
1119
|
|
|
458
1120
|
/** Whether a configured runner name selects this runner. */
|
|
459
|
-
export declare const isCommandRunner: (name:
|
|
1121
|
+
export declare const isCommandRunner: (name: TestRunnerConfig) => name is 'command';
|
|
460
1122
|
|
|
461
1123
|
export declare function isModuleSpecifier(value: string): boolean;
|
|
462
1124
|
|
|
463
|
-
export declare const isVmRunner: (name:
|
|
1125
|
+
export declare const isVmRunner: (name: TestRunnerConfig) => name is 'vm';
|
|
464
1126
|
|
|
465
1127
|
export declare function isWarningEnabled(warningType: KnownKeys<WarningOptions>, warningOptions: WarningOptions | boolean): boolean;
|
|
466
1128
|
|
|
467
|
-
declare
|
|
1129
|
+
declare interface JSDocNonNullableType$1 extends Span$1 {
|
|
1130
|
+
type: "TSJSDocNonNullableType";
|
|
1131
|
+
typeAnnotation: TSType$1;
|
|
1132
|
+
postfix: boolean;
|
|
1133
|
+
parent?: Node$1;
|
|
1134
|
+
}
|
|
468
1135
|
|
|
469
|
-
|
|
1136
|
+
declare interface JSDocNullableType$1 extends Span$1 {
|
|
1137
|
+
type: "TSJSDocNullableType";
|
|
1138
|
+
typeAnnotation: TSType$1;
|
|
1139
|
+
postfix: boolean;
|
|
1140
|
+
parent?: Node$1;
|
|
1141
|
+
}
|
|
470
1142
|
|
|
471
|
-
declare interface
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
readonly pluginModulePaths: readonly string[];
|
|
475
|
-
readonly pluginSources: readonly PluginSource[];
|
|
476
|
-
readonly ignorers: readonly Ignorer[];
|
|
1143
|
+
declare interface JSDocUnknownType extends Span$1 {
|
|
1144
|
+
type: "TSJSDocUnknownType";
|
|
1145
|
+
parent?: Node$1;
|
|
477
1146
|
}
|
|
478
1147
|
|
|
479
|
-
|
|
1148
|
+
declare interface JSXAttribute$1 extends Span$1 {
|
|
1149
|
+
type: "JSXAttribute";
|
|
1150
|
+
name: JSXAttributeName;
|
|
1151
|
+
value: JSXAttributeValue | null;
|
|
1152
|
+
parent?: Node$1;
|
|
1153
|
+
}
|
|
480
1154
|
|
|
481
|
-
|
|
1155
|
+
declare type JSXAttributeItem = JSXAttribute$1 | JSXSpreadAttribute$1;
|
|
482
1156
|
|
|
483
|
-
|
|
1157
|
+
declare type JSXAttributeName = JSXIdentifier$1 | JSXNamespacedName$1;
|
|
484
1158
|
|
|
485
|
-
|
|
1159
|
+
declare type JSXAttributeValue = StringLiteral$1 | JSXExpressionContainer$1 | JSXElement$1 | JSXFragment$1;
|
|
486
1160
|
|
|
487
|
-
declare
|
|
488
|
-
readonly base: S.$Record<S.String, S.Unknown>;
|
|
489
|
-
readonly overrides: S.$Record<S.String, S.Unknown>;
|
|
490
|
-
}>, {}>;
|
|
1161
|
+
declare type JSXChild = JSXText$1 | JSXElement$1 | JSXFragment$1 | JSXExpressionContainer$1 | JSXSpreadChild$1;
|
|
491
1162
|
|
|
492
|
-
|
|
1163
|
+
declare interface JSXClosingElement extends Span$1 {
|
|
1164
|
+
type: "JSXClosingElement";
|
|
1165
|
+
name: JSXElementName;
|
|
1166
|
+
parent?: Node$1;
|
|
1167
|
+
}
|
|
493
1168
|
|
|
494
|
-
|
|
1169
|
+
declare interface JSXClosingFragment extends Span$1 {
|
|
1170
|
+
type: "JSXClosingFragment";
|
|
1171
|
+
parent?: Node$1;
|
|
1172
|
+
}
|
|
495
1173
|
|
|
496
|
-
declare
|
|
497
|
-
|
|
498
|
-
|
|
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
|
+
}
|
|
499
1181
|
|
|
500
|
-
|
|
1182
|
+
declare type JSXElementName = JSXIdentifier$1 | JSXNamespacedName$1 | JSXMemberExpression$1;
|
|
501
1183
|
|
|
502
|
-
|
|
1184
|
+
declare interface JSXEmptyExpression extends Span$1 {
|
|
1185
|
+
type: "JSXEmptyExpression";
|
|
1186
|
+
parent?: Node$1;
|
|
1187
|
+
}
|
|
503
1188
|
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
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;
|
|
507
1195
|
}
|
|
508
1196
|
|
|
509
|
-
|
|
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
|
+
}
|
|
510
1204
|
|
|
511
|
-
|
|
512
|
-
|
|
1205
|
+
declare interface JSXIdentifier$1 extends Span$1 {
|
|
1206
|
+
type: "JSXIdentifier";
|
|
1207
|
+
name: string;
|
|
1208
|
+
parent?: Node$1;
|
|
513
1209
|
}
|
|
514
1210
|
|
|
515
|
-
declare
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
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;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
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
|
+
}
|
|
1254
|
+
|
|
1255
|
+
declare interface JSXText$1 extends Span$1 {
|
|
1256
|
+
type: "JSXText";
|
|
1257
|
+
value: string;
|
|
1258
|
+
raw: string | null;
|
|
1259
|
+
parent?: Node$1;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
export declare interface KilledMutantRunResult {
|
|
1263
|
+
readonly status: 'killed';
|
|
1264
|
+
readonly killedBy: readonly string[];
|
|
1265
|
+
readonly failureMessage: string;
|
|
1266
|
+
readonly nrOfTests: number;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
export declare type KnownKeys<T> = keyof { [P in keyof T as string extends P ? never : number extends P ? never : P]: T[P]; };
|
|
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
|
+
|
|
1297
|
+
export declare type Location = typeof LocationSchema.Type;
|
|
1298
|
+
|
|
1299
|
+
export declare const LocationSchema: S.Struct<{
|
|
1300
|
+
readonly start: S.Struct<{
|
|
1301
|
+
readonly line: S.Finite;
|
|
1302
|
+
readonly column: S.Finite;
|
|
1303
|
+
}>;
|
|
1304
|
+
readonly end: S.Struct<{
|
|
1305
|
+
readonly line: S.Finite;
|
|
1306
|
+
readonly column: S.Finite;
|
|
1307
|
+
}>;
|
|
1308
|
+
}>;
|
|
1309
|
+
|
|
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
|
+
}
|
|
1363
|
+
|
|
1364
|
+
declare type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
|
|
1365
|
+
|
|
1366
|
+
declare type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
|
|
1367
|
+
|
|
1368
|
+
export declare type Metrics = typeof MetricsSchema.Type;
|
|
1369
|
+
|
|
1370
|
+
export declare interface MetricsResult {
|
|
1371
|
+
readonly name: string;
|
|
1372
|
+
readonly metrics: Metrics;
|
|
1373
|
+
readonly childResults: readonly MetricsResult[];
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
export declare const MetricsSchema: S.Struct<{
|
|
1377
|
+
readonly pending: S.Finite;
|
|
1378
|
+
readonly killed: S.Finite;
|
|
1379
|
+
readonly timeout: S.Finite;
|
|
1380
|
+
readonly survived: S.Finite;
|
|
1381
|
+
readonly noCoverage: S.Finite;
|
|
1382
|
+
readonly runtimeErrors: S.Finite;
|
|
1383
|
+
readonly compileErrors: S.Finite;
|
|
1384
|
+
readonly ignored: S.Finite;
|
|
1385
|
+
readonly totalDetected: S.Finite;
|
|
1386
|
+
readonly totalUndetected: S.Finite;
|
|
1387
|
+
readonly totalInvalid: S.Finite;
|
|
1388
|
+
readonly totalValid: S.Finite;
|
|
1389
|
+
readonly totalMutants: S.Finite;
|
|
1390
|
+
readonly totalCovered: S.Finite;
|
|
1391
|
+
readonly mutationScore: S.Finite;
|
|
1392
|
+
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
1393
|
+
}>;
|
|
1394
|
+
|
|
1395
|
+
export declare type ModeSignal = 'flag' | 'env' | 'tty' | 'agent' | 'tool';
|
|
1396
|
+
|
|
1397
|
+
declare type ModuleDeclaration = ImportDeclaration$1 | ExportAllDeclaration$1 | ExportDefaultDeclaration$1 | ExportNamedDeclaration$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1;
|
|
1398
|
+
|
|
1399
|
+
declare type ModuleExportName = IdentifierName$1 | IdentifierReference$1 | StringLiteral$1;
|
|
1400
|
+
|
|
1401
|
+
declare type ModuleKind = "script" | "module" | "commonjs";
|
|
1402
|
+
|
|
1403
|
+
export declare class Mutant extends Mutant_base {}
|
|
1404
|
+
|
|
1405
|
+
declare const Mutant_base: S.Class<Mutant, S.TaggedStruct<"Mutant", {
|
|
1406
|
+
readonly id: S.NonEmptyString;
|
|
1407
|
+
readonly fileName: S.NonEmptyString;
|
|
1408
|
+
readonly mutatorName: S.NonEmptyString;
|
|
1409
|
+
readonly replacement: S.String;
|
|
1410
|
+
readonly location: S.Struct<{
|
|
1411
|
+
readonly start: S.Struct<{
|
|
1412
|
+
readonly line: S.Finite;
|
|
1413
|
+
readonly column: S.Finite;
|
|
1414
|
+
}>;
|
|
1415
|
+
readonly end: S.Struct<{
|
|
1416
|
+
readonly line: S.Finite;
|
|
1417
|
+
readonly column: S.Finite;
|
|
1418
|
+
}>;
|
|
1419
|
+
}>;
|
|
1420
|
+
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
1421
|
+
readonly statusReason: S.optional<S.String>;
|
|
1422
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1423
|
+
readonly static: S.optional<S.Boolean>;
|
|
1424
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
1425
|
+
readonly description: S.optional<S.String>;
|
|
1426
|
+
}>, {}>;
|
|
1427
|
+
|
|
1428
|
+
export declare type MutantActivation = typeof MutantActivationSchema.Type;
|
|
1429
|
+
|
|
1430
|
+
export declare const MutantActivationSchema: S.Literals<readonly ["runtime", "static"]>;
|
|
1431
|
+
|
|
1432
|
+
export declare interface MutantCoverage {
|
|
1433
|
+
readonly perTest: Record<string, Record<string, number>>;
|
|
1434
|
+
readonly static: Record<string, number>;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
export declare type MutantResult = typeof MutantResultSchema.Type;
|
|
1438
|
+
|
|
1439
|
+
export declare const MutantResultSchema: S.Struct<{
|
|
1440
|
+
readonly id: S.String;
|
|
1441
|
+
readonly mutatorName: S.String;
|
|
1442
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
1443
|
+
readonly location: S.Struct<{
|
|
1444
|
+
readonly start: S.Struct<{
|
|
1445
|
+
readonly line: S.Finite;
|
|
1446
|
+
readonly column: S.Finite;
|
|
1447
|
+
}>;
|
|
1448
|
+
readonly end: S.Struct<{
|
|
1449
|
+
readonly line: S.Finite;
|
|
1450
|
+
readonly column: S.Finite;
|
|
1451
|
+
}>;
|
|
1452
|
+
}>;
|
|
1453
|
+
readonly replacement: S.optional<S.String>;
|
|
1454
|
+
readonly description: S.optional<S.String>;
|
|
1455
|
+
readonly statusReason: S.optional<S.String>;
|
|
1456
|
+
readonly static: S.optional<S.Boolean>;
|
|
1457
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1458
|
+
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1459
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
1460
|
+
readonly duration: S.optional<S.Finite>;
|
|
1461
|
+
}>;
|
|
1462
|
+
|
|
1463
|
+
export declare interface MutantRunOptions extends RunOptions {
|
|
1464
|
+
readonly testFilter?: readonly string[];
|
|
1465
|
+
readonly hitLimit?: number;
|
|
1466
|
+
readonly activeMutant: Mutant;
|
|
1467
|
+
readonly sandboxFileName: string;
|
|
1468
|
+
readonly mutantActivation: MutantActivation;
|
|
1469
|
+
readonly reloadEnvironment: boolean;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
export declare type MutantRunResult = ErrorMutantRunResult | KilledMutantRunResult | SurvivedMutantRunResult | TimeoutMutantRunResult;
|
|
1473
|
+
|
|
1474
|
+
export declare type MutantStatus = typeof MutantStatusSchema.Type;
|
|
1475
|
+
|
|
1476
|
+
export declare const MutantStatusSchema: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
1477
|
+
|
|
1478
|
+
export declare class MutantTested extends MutantTested_base {}
|
|
1479
|
+
|
|
1480
|
+
declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTested", {
|
|
1481
|
+
readonly id: S.String;
|
|
1482
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
1483
|
+
readonly file: S.String;
|
|
1484
|
+
readonly location: S.Struct<{
|
|
1485
|
+
readonly start: S.Struct<{
|
|
1486
|
+
readonly line: S.Finite;
|
|
1487
|
+
readonly column: S.Finite;
|
|
1488
|
+
}>;
|
|
1489
|
+
readonly end: S.Struct<{
|
|
1490
|
+
readonly line: S.Finite;
|
|
1491
|
+
readonly column: S.Finite;
|
|
1492
|
+
}>;
|
|
1493
|
+
}>;
|
|
1494
|
+
readonly mutator: S.String;
|
|
1495
|
+
readonly replacement: S.NullOr<S.String>;
|
|
1496
|
+
readonly completed: S.Finite;
|
|
1497
|
+
readonly total: S.Finite;
|
|
1498
|
+
}>, {}>;
|
|
1499
|
+
|
|
1500
|
+
export declare type MutateDescription = ReadonlyArray<MutationRange> | boolean;
|
|
1501
|
+
|
|
1502
|
+
export declare interface MutationRange {
|
|
1503
|
+
readonly start: Position;
|
|
1504
|
+
readonly end: Position;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
export declare const mutationTestCell: Cell.Cell<PrepareExecutorArgs, MutationTestDone, StageError, StageServices>;
|
|
1508
|
+
|
|
1509
|
+
export declare interface MutationTestDone {
|
|
1510
|
+
readonly results: readonly RunMutantResult[];
|
|
1511
|
+
readonly verdict: ExitClass | null;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
export declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
1515
|
+
|
|
1516
|
+
declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
|
|
1517
|
+
readonly total: S.Finite;
|
|
1518
|
+
readonly plans: S.$Array<S.Struct<{
|
|
1519
|
+
readonly mutantId: S.String;
|
|
1520
|
+
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
1521
|
+
readonly netTime: S.Finite;
|
|
1522
|
+
readonly reloadEnvironment: S.Boolean;
|
|
1523
|
+
}>>;
|
|
1524
|
+
}>, {}>;
|
|
1525
|
+
|
|
1526
|
+
export declare class MutationTestReportReady extends MutationTestReportReady_base {}
|
|
1527
|
+
|
|
1528
|
+
declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.TaggedStruct<"mutationTestReportReady", {
|
|
1529
|
+
readonly report: S.Struct<{
|
|
1530
|
+
readonly schemaVersion: S.String;
|
|
1531
|
+
readonly files: S.$Record<S.String, S.Struct<{
|
|
1532
|
+
readonly language: S.String;
|
|
1533
|
+
readonly source: S.String;
|
|
1534
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
1535
|
+
readonly id: S.String;
|
|
1536
|
+
readonly mutatorName: S.String;
|
|
1537
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
1538
|
+
readonly location: S.Struct<{
|
|
1539
|
+
readonly start: S.Struct<{
|
|
1540
|
+
readonly line: S.Finite;
|
|
1541
|
+
readonly column: S.Finite;
|
|
1542
|
+
}>;
|
|
1543
|
+
readonly end: S.Struct<{
|
|
1544
|
+
readonly line: S.Finite;
|
|
1545
|
+
readonly column: S.Finite;
|
|
1546
|
+
}>;
|
|
1547
|
+
}>;
|
|
1548
|
+
readonly replacement: S.optional<S.String>;
|
|
1549
|
+
readonly description: S.optional<S.String>;
|
|
1550
|
+
readonly statusReason: S.optional<S.String>;
|
|
1551
|
+
readonly static: S.optional<S.Boolean>;
|
|
1552
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1553
|
+
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1554
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
1555
|
+
readonly duration: S.optional<S.Finite>;
|
|
1556
|
+
}>>;
|
|
1557
|
+
}>>;
|
|
1558
|
+
readonly thresholds: S.Struct<{
|
|
1559
|
+
readonly high: S.Finite;
|
|
1560
|
+
readonly low: S.Finite;
|
|
1561
|
+
}>;
|
|
1562
|
+
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
1563
|
+
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
1564
|
+
readonly source: S.optional<S.String>;
|
|
1565
|
+
readonly tests: S.$Array<S.Struct<{
|
|
1566
|
+
readonly id: S.String;
|
|
1567
|
+
readonly name: S.String;
|
|
1568
|
+
readonly location: S.optional<S.Struct<{
|
|
1569
|
+
readonly start: S.Struct<{
|
|
1570
|
+
readonly line: S.Finite;
|
|
1571
|
+
readonly column: S.Finite;
|
|
1572
|
+
}>;
|
|
1573
|
+
readonly end: S.optional<S.Struct<{
|
|
1574
|
+
readonly line: S.Finite;
|
|
1575
|
+
readonly column: S.Finite;
|
|
1576
|
+
}>>;
|
|
1577
|
+
}>>;
|
|
1578
|
+
}>>;
|
|
1579
|
+
}>>>;
|
|
1580
|
+
readonly projectRoot: S.optional<S.String>;
|
|
1581
|
+
readonly framework: S.optional<S.Struct<{
|
|
1582
|
+
readonly name: S.String;
|
|
1583
|
+
readonly version: S.optional<S.String>;
|
|
1584
|
+
readonly branding: S.optional<S.Struct<{
|
|
1585
|
+
readonly homepageUrl: S.String;
|
|
1586
|
+
readonly imageUrl: S.optional<S.String>;
|
|
1587
|
+
}>>;
|
|
1588
|
+
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
1589
|
+
}>>;
|
|
1590
|
+
}>;
|
|
1591
|
+
readonly metrics: S.Struct<{
|
|
1592
|
+
readonly name: S.String;
|
|
1593
|
+
readonly metrics: S.Struct<{
|
|
1594
|
+
readonly pending: S.Finite;
|
|
1595
|
+
readonly killed: S.Finite;
|
|
1596
|
+
readonly timeout: S.Finite;
|
|
1597
|
+
readonly survived: S.Finite;
|
|
1598
|
+
readonly noCoverage: S.Finite;
|
|
1599
|
+
readonly runtimeErrors: S.Finite;
|
|
1600
|
+
readonly compileErrors: S.Finite;
|
|
1601
|
+
readonly ignored: S.Finite;
|
|
1602
|
+
readonly totalDetected: S.Finite;
|
|
1603
|
+
readonly totalUndetected: S.Finite;
|
|
1604
|
+
readonly totalInvalid: S.Finite;
|
|
1605
|
+
readonly totalValid: S.Finite;
|
|
1606
|
+
readonly totalMutants: S.Finite;
|
|
1607
|
+
readonly totalCovered: S.Finite;
|
|
1608
|
+
readonly mutationScore: S.Finite;
|
|
1609
|
+
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
1610
|
+
}>;
|
|
1611
|
+
readonly childResults: S.$Array<S.suspend<S.Codec<MetricsResult, MetricsResult, never, never>>>;
|
|
1612
|
+
}>;
|
|
1613
|
+
}>, {}>;
|
|
1614
|
+
|
|
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>;
|
|
519
1754
|
|
|
520
1755
|
/**
|
|
521
1756
|
* Mode type vocabulary shared with the CLI package. Runtime resolution
|
|
@@ -526,303 +1761,1251 @@ declare const OutOfMemoryError_base: Schema.Class<OutOfMemoryError, Schema.Tagge
|
|
|
526
1761
|
*/
|
|
527
1762
|
export declare type OutputMode = 'human' | 'machine';
|
|
528
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
|
+
|
|
529
1782
|
export declare class PhaseEntered extends PhaseEntered_base {}
|
|
530
1783
|
|
|
531
|
-
declare const PhaseEntered_base: S.Class<PhaseEntered, S.TaggedStruct<"phase", {
|
|
532
|
-
readonly phase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
|
|
533
|
-
readonly elapsedMs: S.Finite;
|
|
534
|
-
}>, {}>;
|
|
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
|
+
}
|
|
2305
|
+
|
|
2306
|
+
export declare const SUPPORTED_CONFIG_FILE_NAMES: readonly string[];
|
|
2307
|
+
|
|
2308
|
+
export declare interface SurvivedMutantRunResult {
|
|
2309
|
+
readonly status: 'survived';
|
|
2310
|
+
readonly nrOfTests: number;
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
export declare const survivorsPriorReport: S.optionalKey<S.String>;
|
|
2314
|
+
|
|
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
|
+
}
|
|
2321
|
+
|
|
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
|
+
}
|
|
2328
|
+
|
|
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
|
+
}
|
|
2336
|
+
|
|
2337
|
+
declare interface TemplateElement$1 extends Span$1 {
|
|
2338
|
+
type: "TemplateElement";
|
|
2339
|
+
value: TemplateElementValue;
|
|
2340
|
+
tail: boolean;
|
|
2341
|
+
parent?: Node$1;
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
declare interface TemplateElementValue {
|
|
2345
|
+
raw: string;
|
|
2346
|
+
cooked: string | null;
|
|
2347
|
+
}
|
|
2348
|
+
|
|
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
|
+
}
|
|
2355
|
+
|
|
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
|
+
}
|
|
2362
|
+
|
|
2363
|
+
export declare type TestResult = FailedTestResult | SkippedTestResult | SuccessTestResult;
|
|
2364
|
+
|
|
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[];
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
export declare interface TestRunnerCapabilities {
|
|
2381
|
+
readonly reloadEnvironment: boolean;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
export declare type TestRunnerConfig = typeof TestRunnerConfigSchema.Type;
|
|
2385
|
+
|
|
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
|
+
}>]>;
|
|
2391
|
+
|
|
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>;
|
|
2399
|
+
|
|
2400
|
+
declare interface ThisExpression$1 extends Span$1 {
|
|
2401
|
+
type: "ThisExpression";
|
|
2402
|
+
parent?: Node$1;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
declare interface ThrowStatement$1 extends Span$1 {
|
|
2406
|
+
type: "ThrowStatement";
|
|
2407
|
+
argument: Expression$1;
|
|
2408
|
+
parent?: Node$1;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
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 {}
|
|
2424
|
+
|
|
2425
|
+
declare const TraceContextMiddleware_base: RpcMiddleware.ServiceClass<TraceContextMiddleware, "@systemfsoftware/stryker-js-plugin-interface/TraceContextMiddleware", typeof PropagatedTrace, Schema.Never, never, never, true>;
|
|
2426
|
+
|
|
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>>;
|
|
2436
|
+
|
|
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;
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
declare type TSAccessibility = "private" | "protected" | "public";
|
|
2446
|
+
|
|
2447
|
+
declare interface TSAnyKeyword extends Span$1 {
|
|
2448
|
+
type: "TSAnyKeyword";
|
|
2449
|
+
parent?: Node$1;
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
declare interface TSArrayType$1 extends Span$1 {
|
|
2453
|
+
type: "TSArrayType";
|
|
2454
|
+
elementType: TSType$1;
|
|
2455
|
+
parent?: Node$1;
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
declare interface TSAsExpression$1 extends Span$1 {
|
|
2459
|
+
type: "TSAsExpression";
|
|
2460
|
+
expression: Expression$1;
|
|
2461
|
+
typeAnnotation: TSType$1;
|
|
2462
|
+
parent?: Node$1;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
declare interface TSBigIntKeyword extends Span$1 {
|
|
2466
|
+
type: "TSBigIntKeyword";
|
|
2467
|
+
parent?: Node$1;
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
declare interface TSBooleanKeyword extends Span$1 {
|
|
2471
|
+
type: "TSBooleanKeyword";
|
|
2472
|
+
parent?: Node$1;
|
|
2473
|
+
}
|
|
2474
|
+
|
|
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;
|
|
2481
|
+
}
|
|
2482
|
+
|
|
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
|
+
}
|
|
2489
|
+
|
|
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
|
+
}
|
|
2498
|
+
|
|
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
|
+
}
|
|
535
2507
|
|
|
536
|
-
|
|
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
|
+
}
|
|
537
2515
|
|
|
538
|
-
declare
|
|
539
|
-
|
|
540
|
-
|
|
2516
|
+
declare interface TSEnumBody extends Span$1 {
|
|
2517
|
+
type: "TSEnumBody";
|
|
2518
|
+
members: Array<TSEnumMember>;
|
|
2519
|
+
parent?: Node$1;
|
|
2520
|
+
}
|
|
541
2521
|
|
|
542
|
-
declare
|
|
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;
|
|
2529
|
+
}
|
|
543
2530
|
|
|
544
|
-
declare
|
|
545
|
-
|
|
546
|
-
|
|
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
|
+
}
|
|
547
2538
|
|
|
548
|
-
declare type
|
|
2539
|
+
declare type TSEnumMemberName = IdentifierName$1 | StringLiteral$1 | TemplateLiteral$1;
|
|
549
2540
|
|
|
550
|
-
declare
|
|
2541
|
+
declare interface TSExportAssignment$1 extends Span$1 {
|
|
2542
|
+
type: "TSExportAssignment";
|
|
2543
|
+
expression: Expression$1;
|
|
2544
|
+
parent?: Node$1;
|
|
2545
|
+
}
|
|
551
2546
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
* Wider than `TestRunnerService` on purpose. That port's error channel is
|
|
557
|
-
* `TestRunnerFailed`, which is right for a runner living in this process — but
|
|
558
|
-
* folding a crash into it erases the tag a pool retires a worker on, so
|
|
559
|
-
* `Pool.invalidate` could never fire and a dead worker would be handed out again.
|
|
560
|
-
* A `WorkerMethodError` is the runner genuinely failing and does become a
|
|
561
|
-
* `TestRunnerFailed`; a crash or an OOM is the worker dying, and stays itself.
|
|
562
|
-
*/
|
|
563
|
-
export declare interface PooledTestRunner {
|
|
564
|
-
readonly capabilities: Effect.Effect<TestRunnerCapabilities, PooledTestRunnerError>;
|
|
565
|
-
readonly init: Effect.Effect<void, PooledTestRunnerError>;
|
|
566
|
-
readonly dryRun: (options: DryRunOptions) => Effect.Effect<DryRunResult, PooledTestRunnerError>;
|
|
567
|
-
readonly mutantRun: (options: MutantRunOptions) => Effect.Effect<MutantRunResult, PooledTestRunnerError>;
|
|
2547
|
+
declare interface TSExternalModuleReference extends Span$1 {
|
|
2548
|
+
type: "TSExternalModuleReference";
|
|
2549
|
+
expression: StringLiteral$1;
|
|
2550
|
+
parent?: Node$1;
|
|
568
2551
|
}
|
|
569
2552
|
|
|
570
|
-
|
|
571
|
-
|
|
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
|
+
}
|
|
572
2560
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
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;
|
|
580
2569
|
}
|
|
581
2570
|
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
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;
|
|
585
2577
|
}
|
|
586
2578
|
|
|
587
|
-
|
|
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
|
+
}
|
|
588
2587
|
|
|
589
|
-
declare interface
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
readonly filesToMutate: MutableHashMap.MutableHashMap<string, ProjectFile>;
|
|
2588
|
+
declare interface TSImportTypeQualifiedName extends Span$1 {
|
|
2589
|
+
type: "TSQualifiedName";
|
|
2590
|
+
left: TSImportTypeQualifier;
|
|
2591
|
+
right: IdentifierName$1;
|
|
2592
|
+
parent?: Node$1;
|
|
595
2593
|
}
|
|
596
2594
|
|
|
597
|
-
declare
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
2595
|
+
declare type TSImportTypeQualifier = IdentifierName$1 | TSImportTypeQualifiedName;
|
|
2596
|
+
|
|
2597
|
+
declare interface TSIndexedAccessType$1 extends Span$1 {
|
|
2598
|
+
type: "TSIndexedAccessType";
|
|
2599
|
+
objectType: TSType$1;
|
|
2600
|
+
indexType: TSType$1;
|
|
2601
|
+
parent?: Node$1;
|
|
602
2602
|
}
|
|
603
2603
|
|
|
604
|
-
|
|
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
|
+
}
|
|
605
2613
|
|
|
606
|
-
|
|
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
|
+
}
|
|
607
2622
|
|
|
608
|
-
declare
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
2623
|
+
declare interface TSInferType$1 extends Span$1 {
|
|
2624
|
+
type: "TSInferType";
|
|
2625
|
+
typeParameter: TSTypeParameter;
|
|
2626
|
+
parent?: Node$1;
|
|
2627
|
+
}
|
|
612
2628
|
|
|
613
|
-
declare
|
|
614
|
-
|
|
615
|
-
|
|
2629
|
+
declare interface TSInstantiationExpression$1 extends Span$1 {
|
|
2630
|
+
type: "TSInstantiationExpression";
|
|
2631
|
+
expression: Expression$1;
|
|
2632
|
+
typeArguments: TSTypeParameterInstantiation$1;
|
|
2633
|
+
parent?: Node$1;
|
|
2634
|
+
}
|
|
616
2635
|
|
|
617
|
-
declare
|
|
2636
|
+
declare interface TSInterfaceBody$1 extends Span$1 {
|
|
2637
|
+
type: "TSInterfaceBody";
|
|
2638
|
+
body: Array<TSSignature>;
|
|
2639
|
+
parent?: Node$1;
|
|
2640
|
+
}
|
|
618
2641
|
|
|
619
|
-
declare
|
|
620
|
-
|
|
621
|
-
|
|
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
|
+
}
|
|
622
2651
|
|
|
623
|
-
declare
|
|
2652
|
+
declare interface TSInterfaceHeritage extends Span$1 {
|
|
2653
|
+
type: "TSInterfaceHeritage";
|
|
2654
|
+
expression: Expression$1;
|
|
2655
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2656
|
+
parent?: Node$1;
|
|
2657
|
+
}
|
|
624
2658
|
|
|
625
|
-
|
|
2659
|
+
declare interface TSIntersectionType$1 extends Span$1 {
|
|
2660
|
+
type: "TSIntersectionType";
|
|
2661
|
+
types: Array<TSType$1>;
|
|
2662
|
+
parent?: Node$1;
|
|
2663
|
+
}
|
|
626
2664
|
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
* the state latch) never reaches an adopter's compiler. Constructed only by
|
|
631
|
-
* `attachReporterFactories`.
|
|
632
|
-
*/
|
|
633
|
-
declare interface ReporterStage {
|
|
634
|
-
readonly [ReporterStageTypeId]: typeof ReporterStageTypeId;
|
|
2665
|
+
declare interface TSIntrinsicKeyword extends Span$1 {
|
|
2666
|
+
type: "TSIntrinsicKeyword";
|
|
2667
|
+
parent?: Node$1;
|
|
635
2668
|
}
|
|
636
2669
|
|
|
637
|
-
declare
|
|
2670
|
+
declare type TSLiteral = BooleanLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | UnaryExpression$1;
|
|
638
2671
|
|
|
639
|
-
|
|
2672
|
+
declare interface TSLiteralType$1 extends Span$1 {
|
|
2673
|
+
type: "TSLiteralType";
|
|
2674
|
+
literal: TSLiteral;
|
|
2675
|
+
parent?: Node$1;
|
|
2676
|
+
}
|
|
640
2677
|
|
|
641
|
-
|
|
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
|
+
}
|
|
642
2688
|
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
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;
|
|
647
2704
|
}
|
|
648
2705
|
|
|
649
|
-
|
|
2706
|
+
declare type TSMethodSignatureKind = "method" | "get" | "set";
|
|
650
2707
|
|
|
651
|
-
|
|
2708
|
+
declare interface TSModuleBlock$1 extends Span$1 {
|
|
2709
|
+
type: "TSModuleBlock";
|
|
2710
|
+
body: Array<Directive | Statement$1>;
|
|
2711
|
+
parent?: Node$1;
|
|
2712
|
+
}
|
|
652
2713
|
|
|
653
|
-
declare
|
|
654
|
-
|
|
655
|
-
|
|
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
|
+
}
|
|
656
2723
|
|
|
657
|
-
declare type
|
|
2724
|
+
declare type TSModuleDeclarationKind = "module" | "namespace";
|
|
658
2725
|
|
|
659
|
-
|
|
2726
|
+
declare type TSModuleReference = TSExternalModuleReference | IdentifierReference$1 | TSQualifiedName$1;
|
|
660
2727
|
|
|
661
|
-
|
|
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;
|
|
2734
|
+
}
|
|
662
2735
|
|
|
663
|
-
declare
|
|
2736
|
+
declare interface TSNamespaceExportDeclaration$1 extends Span$1 {
|
|
2737
|
+
type: "TSNamespaceExportDeclaration";
|
|
2738
|
+
id: IdentifierName$1;
|
|
2739
|
+
parent?: Node$1;
|
|
2740
|
+
}
|
|
664
2741
|
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
readonly runStartedAt: number;
|
|
669
|
-
readonly basePath: string;
|
|
670
|
-
readonly builtinReporters: Readonly<Record<string, ReporterFactory>>;
|
|
671
|
-
readonly allowConsoleColors: boolean;
|
|
2742
|
+
declare interface TSNeverKeyword extends Span$1 {
|
|
2743
|
+
type: "TSNeverKeyword";
|
|
2744
|
+
parent?: Node$1;
|
|
672
2745
|
}
|
|
673
2746
|
|
|
674
|
-
|
|
2747
|
+
declare interface TSNonNullExpression$1 extends Span$1 {
|
|
2748
|
+
type: "TSNonNullExpression";
|
|
2749
|
+
expression: Expression$1;
|
|
2750
|
+
parent?: Node$1;
|
|
2751
|
+
}
|
|
675
2752
|
|
|
676
|
-
|
|
2753
|
+
declare interface TSNullKeyword extends Span$1 {
|
|
2754
|
+
type: "TSNullKeyword";
|
|
2755
|
+
parent?: Node$1;
|
|
2756
|
+
}
|
|
677
2757
|
|
|
678
|
-
|
|
2758
|
+
declare interface TSNumberKeyword extends Span$1 {
|
|
2759
|
+
type: "TSNumberKeyword";
|
|
2760
|
+
parent?: Node$1;
|
|
2761
|
+
}
|
|
679
2762
|
|
|
680
|
-
declare
|
|
2763
|
+
declare interface TSObjectKeyword extends Span$1 {
|
|
2764
|
+
type: "TSObjectKeyword";
|
|
2765
|
+
parent?: Node$1;
|
|
2766
|
+
}
|
|
681
2767
|
|
|
682
|
-
|
|
2768
|
+
declare interface TSOptionalType$1 extends Span$1 {
|
|
2769
|
+
type: "TSOptionalType";
|
|
2770
|
+
typeAnnotation: TSType$1;
|
|
2771
|
+
parent?: Node$1;
|
|
2772
|
+
}
|
|
683
2773
|
|
|
684
|
-
declare
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
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;
|
|
2783
|
+
}
|
|
690
2784
|
|
|
691
|
-
|
|
2785
|
+
declare interface TSParenthesizedType$1 extends Span$1 {
|
|
2786
|
+
type: "TSParenthesizedType";
|
|
2787
|
+
typeAnnotation: TSType$1;
|
|
2788
|
+
parent?: Node$1;
|
|
2789
|
+
}
|
|
692
2790
|
|
|
693
|
-
declare
|
|
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
|
+
}
|
|
694
2802
|
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
2803
|
+
declare interface TSQualifiedName$1 extends Span$1 {
|
|
2804
|
+
type: "TSQualifiedName";
|
|
2805
|
+
left: TSTypeName;
|
|
2806
|
+
right: IdentifierName$1;
|
|
2807
|
+
parent?: Node$1;
|
|
698
2808
|
}
|
|
699
2809
|
|
|
700
|
-
|
|
2810
|
+
declare interface TSRestType$1 extends Span$1 {
|
|
2811
|
+
type: "TSRestType";
|
|
2812
|
+
typeAnnotation: TSType$1;
|
|
2813
|
+
parent?: Node$1;
|
|
2814
|
+
}
|
|
701
2815
|
|
|
702
|
-
declare
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
readonly line: S.Finite;
|
|
709
|
-
readonly column: S.Finite;
|
|
710
|
-
}>;
|
|
711
|
-
readonly end: S.Struct<{
|
|
712
|
-
readonly line: S.Finite;
|
|
713
|
-
readonly column: S.Finite;
|
|
714
|
-
}>;
|
|
715
|
-
}>;
|
|
716
|
-
readonly mutator: S.String;
|
|
717
|
-
readonly replacement: S.NullOr<S.String>;
|
|
718
|
-
readonly completed: S.Finite;
|
|
719
|
-
readonly total: S.Finite;
|
|
720
|
-
}>, {}>;
|
|
2816
|
+
declare interface TSSatisfiesExpression$1 extends Span$1 {
|
|
2817
|
+
type: "TSSatisfiesExpression";
|
|
2818
|
+
expression: Expression$1;
|
|
2819
|
+
typeAnnotation: TSType$1;
|
|
2820
|
+
parent?: Node$1;
|
|
2821
|
+
}
|
|
721
2822
|
|
|
722
|
-
|
|
2823
|
+
declare type TSSignature = TSIndexSignature$1 | TSPropertySignature$1 | TSCallSignatureDeclaration$1 | TSConstructSignatureDeclaration$1 | TSMethodSignature$1;
|
|
723
2824
|
|
|
724
|
-
|
|
2825
|
+
declare interface TSStringKeyword extends Span$1 {
|
|
2826
|
+
type: "TSStringKeyword";
|
|
2827
|
+
parent?: Node$1;
|
|
2828
|
+
}
|
|
725
2829
|
|
|
726
|
-
|
|
2830
|
+
declare interface TSSymbolKeyword extends Span$1 {
|
|
2831
|
+
type: "TSSymbolKeyword";
|
|
2832
|
+
parent?: Node$1;
|
|
2833
|
+
}
|
|
727
2834
|
|
|
728
|
-
|
|
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
|
+
}
|
|
729
2841
|
|
|
730
|
-
declare
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
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
|
+
}
|
|
736
2850
|
|
|
737
|
-
|
|
2851
|
+
declare interface TSThisType extends Span$1 {
|
|
2852
|
+
type: "TSThisType";
|
|
2853
|
+
parent?: Node$1;
|
|
2854
|
+
}
|
|
738
2855
|
|
|
739
|
-
declare
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
2856
|
+
declare type TSTupleElement = TSOptionalType$1 | TSRestType$1 | TSType$1;
|
|
2857
|
+
|
|
2858
|
+
declare interface TSTupleType$1 extends Span$1 {
|
|
2859
|
+
type: "TSTupleType";
|
|
2860
|
+
elementTypes: Array<TSTupleElement>;
|
|
2861
|
+
parent?: Node$1;
|
|
743
2862
|
}
|
|
744
2863
|
|
|
745
|
-
|
|
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;
|
|
746
2865
|
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
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;
|
|
751
2873
|
}
|
|
752
2874
|
|
|
753
|
-
|
|
2875
|
+
declare interface TSTypeAnnotation$1 extends Span$1 {
|
|
2876
|
+
type: "TSTypeAnnotation";
|
|
2877
|
+
typeAnnotation: TSType$1;
|
|
2878
|
+
parent?: Node$1;
|
|
2879
|
+
}
|
|
754
2880
|
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
readonly tempDirPrefix: string;
|
|
2881
|
+
declare interface TSTypeAssertion$1 extends Span$1 {
|
|
2882
|
+
type: "TSTypeAssertion";
|
|
2883
|
+
typeAnnotation: TSType$1;
|
|
2884
|
+
expression: Expression$1;
|
|
2885
|
+
parent?: Node$1;
|
|
761
2886
|
}
|
|
762
2887
|
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
2888
|
+
declare interface TSTypeLiteral extends Span$1 {
|
|
2889
|
+
type: "TSTypeLiteral";
|
|
2890
|
+
members: Array<TSSignature>;
|
|
2891
|
+
parent?: Node$1;
|
|
767
2892
|
}
|
|
768
2893
|
|
|
769
|
-
declare
|
|
770
|
-
readonly stage: S.Literals<readonly ["prepare", "instrument", "dryRun", "dryRunNoTests", "mutationTest"]>;
|
|
771
|
-
readonly reason: S.String;
|
|
772
|
-
readonly cause: S.optional<S.Defect>;
|
|
773
|
-
readonly command: S.optional<S.String>;
|
|
774
|
-
}>, YieldableError>;
|
|
2894
|
+
declare type TSTypeName = IdentifierReference$1 | TSQualifiedName$1 | ThisExpression$1;
|
|
775
2895
|
|
|
776
|
-
declare
|
|
2896
|
+
declare interface TSTypeOperator$1 extends Span$1 {
|
|
2897
|
+
type: "TSTypeOperator";
|
|
2898
|
+
operator: TSTypeOperatorOperator;
|
|
2899
|
+
typeAnnotation: TSType$1;
|
|
2900
|
+
parent?: Node$1;
|
|
2901
|
+
}
|
|
777
2902
|
|
|
778
|
-
|
|
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
|
+
}
|
|
779
2915
|
|
|
780
|
-
|
|
2916
|
+
declare interface TSTypeParameterDeclaration$1 extends Span$1 {
|
|
2917
|
+
type: "TSTypeParameterDeclaration";
|
|
2918
|
+
params: Array<TSTypeParameter>;
|
|
2919
|
+
parent?: Node$1;
|
|
2920
|
+
}
|
|
781
2921
|
|
|
782
|
-
declare
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
2922
|
+
declare interface TSTypeParameterInstantiation$1 extends Span$1 {
|
|
2923
|
+
type: "TSTypeParameterInstantiation";
|
|
2924
|
+
params: Array<TSType$1>;
|
|
2925
|
+
parent?: Node$1;
|
|
2926
|
+
}
|
|
786
2927
|
|
|
787
|
-
|
|
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
|
+
}
|
|
788
2935
|
|
|
789
|
-
|
|
2936
|
+
declare type TSTypePredicateName = IdentifierName$1 | TSThisType;
|
|
790
2937
|
|
|
791
|
-
|
|
2938
|
+
declare interface TSTypeQuery$1 extends Span$1 {
|
|
2939
|
+
type: "TSTypeQuery";
|
|
2940
|
+
exprName: TSTypeQueryExprName;
|
|
2941
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2942
|
+
parent?: Node$1;
|
|
2943
|
+
}
|
|
792
2944
|
|
|
793
|
-
|
|
2945
|
+
declare type TSTypeQueryExprName = TSImportType$1 | TSTypeName;
|
|
794
2946
|
|
|
795
|
-
declare interface
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
2947
|
+
declare interface TSTypeReference$1 extends Span$1 {
|
|
2948
|
+
type: "TSTypeReference";
|
|
2949
|
+
typeName: TSTypeName;
|
|
2950
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2951
|
+
parent?: Node$1;
|
|
800
2952
|
}
|
|
801
2953
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
readonly fileDescriptions: FileDescriptions;
|
|
806
|
-
readonly sandboxWorkingDirectory: string;
|
|
807
|
-
readonly idGenerator: IdGeneratorShape;
|
|
808
|
-
/**
|
|
809
|
-
* Retire this runner's worker. Supplied by whoever owns the worker's
|
|
810
|
-
* lifetime — the pool — so a combinator never restarts a process the pool
|
|
811
|
-
* still believes it owns.
|
|
812
|
-
*/
|
|
813
|
-
readonly retire: Effect.Effect<void>;
|
|
814
|
-
readonly testFiles: readonly string[];
|
|
2954
|
+
declare interface TSUndefinedKeyword extends Span$1 {
|
|
2955
|
+
type: "TSUndefinedKeyword";
|
|
2956
|
+
parent?: Node$1;
|
|
815
2957
|
}
|
|
816
2958
|
|
|
817
|
-
|
|
2959
|
+
declare interface TSUnionType$1 extends Span$1 {
|
|
2960
|
+
type: "TSUnionType";
|
|
2961
|
+
types: Array<TSType$1>;
|
|
2962
|
+
parent?: Node$1;
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
declare interface TSUnknownKeyword extends Span$1 {
|
|
2966
|
+
type: "TSUnknownKeyword";
|
|
2967
|
+
parent?: Node$1;
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
declare interface TSVoidKeyword extends Span$1 {
|
|
2971
|
+
type: "TSVoidKeyword";
|
|
2972
|
+
parent?: Node$1;
|
|
2973
|
+
}
|
|
818
2974
|
|
|
819
2975
|
declare const TypeId: '~stryker/mutation-run/StageError';
|
|
820
2976
|
|
|
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
|
+
}
|
|
2984
|
+
|
|
2985
|
+
declare type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
|
|
2986
|
+
|
|
821
2987
|
export declare interface UnserializableDescription {
|
|
822
2988
|
path: string[];
|
|
823
2989
|
reason: string;
|
|
824
2990
|
}
|
|
825
2991
|
|
|
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
|
+
}
|
|
2999
|
+
|
|
3000
|
+
declare type UpdateOperator = "++" | "--";
|
|
3001
|
+
|
|
3002
|
+
declare interface V8IntrinsicExpression extends Span$1 {
|
|
3003
|
+
type: "V8IntrinsicExpression";
|
|
3004
|
+
name: IdentifierName$1;
|
|
3005
|
+
arguments: Array<Argument$1>;
|
|
3006
|
+
parent?: Node$1;
|
|
3007
|
+
}
|
|
3008
|
+
|
|
826
3009
|
export declare function validateOptions(options: Record<string, unknown>, schema: ValidationSchemaDocument): Effect.Effect<StrykerOptions, ConfigError>;
|
|
827
3010
|
|
|
828
3011
|
export declare type ValidationSchemaDocument = {
|
|
@@ -830,6 +3013,24 @@ export declare type ValidationSchemaDocument = {
|
|
|
830
3013
|
readonly [key: string]: unknown;
|
|
831
3014
|
};
|
|
832
3015
|
|
|
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
|
+
}
|
|
3023
|
+
|
|
3024
|
+
declare type VariableDeclarationKind = "var" | "let" | "const" | "using" | "await using";
|
|
3025
|
+
|
|
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;
|
|
3032
|
+
}
|
|
3033
|
+
|
|
833
3034
|
export declare const VERDICT_ENVELOPE_SCHEMA_VERSION = "1.1";
|
|
834
3035
|
|
|
835
3036
|
export declare interface VerdictCounts {
|
|
@@ -860,7 +3061,7 @@ export declare function verdictExitClass(score: number | null, breakingThreshold
|
|
|
860
3061
|
export declare interface VerdictMutant {
|
|
861
3062
|
readonly id: string;
|
|
862
3063
|
readonly file: string;
|
|
863
|
-
readonly location:
|
|
3064
|
+
readonly location: Location;
|
|
864
3065
|
readonly mutator: string;
|
|
865
3066
|
readonly replacement: string | null;
|
|
866
3067
|
readonly status: MutantStatus;
|
|
@@ -934,7 +3135,7 @@ export declare interface VmPlatform {
|
|
|
934
3135
|
readonly vm: VmModule;
|
|
935
3136
|
}
|
|
936
3137
|
|
|
937
|
-
declare type VmRequire = (specifier: string) => unknown;
|
|
3138
|
+
export declare type VmRequire = (specifier: string) => unknown;
|
|
938
3139
|
|
|
939
3140
|
export declare class VmRunner extends VmRunner_base {}
|
|
940
3141
|
|
|
@@ -958,8 +3159,22 @@ export declare interface VmTestRunnerConfig {
|
|
|
958
3159
|
|
|
959
3160
|
export declare type WarningOptions = Exclude<StrykerOptions['warnings'], boolean>;
|
|
960
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
|
+
|
|
961
3169
|
export declare type WiredRunLayer = Layer.Layer<RunStageServices | EnginePorts, never, never>;
|
|
962
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
|
+
|
|
963
3178
|
export declare type WorkerBootError = WorkerExit | WorkerBootTimeoutError;
|
|
964
3179
|
|
|
965
3180
|
export declare class WorkerBootTimeoutError extends WorkerBootTimeoutError_base {
|
|
@@ -984,13 +3199,17 @@ export declare interface WorkerLauncherShape {
|
|
|
984
3199
|
readonly spawn: (params: WorkerSpawnParams) => Effect.Effect<SpawnedSocketWorker, ChildProcessCrashedError, Scope.Scope>;
|
|
985
3200
|
}
|
|
986
3201
|
|
|
987
|
-
declare interface WorkerPluginDescriptor<K extends WorkerPluginKind = WorkerPluginKind> {
|
|
3202
|
+
export declare interface WorkerPluginDescriptor<K extends WorkerPluginKind = WorkerPluginKind> {
|
|
988
3203
|
readonly kind: K;
|
|
989
3204
|
readonly name: string;
|
|
990
3205
|
readonly workerEntry: string;
|
|
991
3206
|
}
|
|
992
3207
|
|
|
993
|
-
declare
|
|
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> {
|
|
994
3213
|
readonly kind: K;
|
|
995
3214
|
readonly name: string;
|
|
996
3215
|
readonly modulePath: string;
|
|
@@ -1006,4 +3225,11 @@ export declare interface WorkerSpawnParams {
|
|
|
1006
3225
|
readonly env?: Readonly<Record<string, string>> | undefined;
|
|
1007
3226
|
}
|
|
1008
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
|
+
|
|
1009
3235
|
export { }
|