@systemfsoftware/stryker-js 10.0.1 → 10.1.1
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 +12 -0
- package/dist/{Run.schema-CgVfoOfk.mjs → Run.schema-B_KpPeBA.mjs} +105 -76
- package/dist/{Run.schema-t292QQGe.d.mts → Run.schema-BsSOfQnD.d.mts} +1 -1
- package/dist/{compiler-Bq9Nelu8.mjs → compiler-Dc7TYMb_.mjs} +1709 -991
- package/dist/{compiler-C8aLIb5U.mjs → compiler-Faeg70AC.mjs} +1709 -991
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/{dist-B3nT7z4G.mjs → dist-Dmv1WEP8.mjs} +625 -443
- package/dist/events.d.mts +1 -1
- package/dist/events.mjs +1 -1
- package/dist/{index-D_mcApox.d.mts → index-CogNSD0V.d.mts} +13 -6
- package/dist/index.d.mts +15 -14
- package/dist/index.mjs +2 -2
- package/dist/main.mjs +10318 -26480
- package/dist/merge-config-CHZWyvVQ.mjs +19 -0
- package/dist/{mutation-test.cell-Dp6QiuRg.d.mts → mutation-test.cell-DS86DvC9.d.mts} +32 -32
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/{src-CMHnl87m.mjs → src-BkTsNvl0.mjs} +273 -217
- package/dist/{wasm-klkEDrvQ.mjs → wasm-CUFfND2k.mjs} +1 -1
- package/package.json +19 -19
- package/dist/execAsync-CfPZgJSD.mjs +0 -10
- package/dist/getMachineId-bsd-YZILidse.mjs +0 -27
- package/dist/getMachineId-darwin-B_CgClId.mjs +0 -24
- package/dist/getMachineId-linux-DprzjpT3.mjs +0 -20
- package/dist/getMachineId-unsupported-Ce9f061A.mjs +0 -15
- package/dist/getMachineId-win-DETv1PQd.mjs +0 -26
- package/dist/merge-config-BrrNQWje.mjs +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @systemfsoftware/stryker-js
|
|
2
2
|
|
|
3
|
+
## 10.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Exported declarations that previously took `unknown` now take a defaulted type parameter: calls that omit the type argument are unchanged, and calls that were previously rejected for passing an unconstrained value are accepted. No runtime behaviour changes.
|
|
8
|
+
|
|
9
|
+
## 10.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- A finite mutant is killed or survived from its tests. Timeout is reserved for one named nonterminating trap, detected by a hit bound rather than a wall-clock budget. A wall-clock timeout fails the run instead of being stored as a detected mutant.
|
|
14
|
+
|
|
3
15
|
## 10.0.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -2747,6 +2747,7 @@ const EXPRESSION_KINDS = /* @__PURE__ */ new Set([
|
|
|
2747
2747
|
"JSXFragment",
|
|
2748
2748
|
"Literal",
|
|
2749
2749
|
"LogicalExpression",
|
|
2750
|
+
"MemberExpression",
|
|
2750
2751
|
"MetaProperty",
|
|
2751
2752
|
"NewExpression",
|
|
2752
2753
|
"ObjectExpression",
|
|
@@ -3106,24 +3107,29 @@ const COMMENT_KEYS = /* @__PURE__ */ new Set(["leadingComments", "trailingCommen
|
|
|
3106
3107
|
function isCommentKey(key) {
|
|
3107
3108
|
return typeof key === "string" && COMMENT_KEYS.has(key);
|
|
3108
3109
|
}
|
|
3110
|
+
function walkTraverse(root, stack, visitors) {
|
|
3111
|
+
walk(walkableNode(root), {
|
|
3112
|
+
enter(node, _parent, context) {
|
|
3113
|
+
readPath(stack, node, this, context, visitors);
|
|
3114
|
+
},
|
|
3115
|
+
leave(_node, _parent, context) {
|
|
3116
|
+
closePath(stack, context, visitors);
|
|
3117
|
+
}
|
|
3118
|
+
});
|
|
3119
|
+
}
|
|
3120
|
+
const toTraverseError = (error) => error instanceof Error ? error : new Error("Traversal failed", { cause: error });
|
|
3121
|
+
const handleTraverseError = (error) => {
|
|
3122
|
+
const err = toTraverseError(error);
|
|
3123
|
+
if (!S.is(TraversalStopped)(err)) throw err;
|
|
3124
|
+
};
|
|
3109
3125
|
function traverse(root, visitors) {
|
|
3110
3126
|
const stack = [];
|
|
3111
3127
|
try {
|
|
3112
|
-
|
|
3113
|
-
enter(node, _parent, context) {
|
|
3114
|
-
readPath(stack, node, this, context, visitors);
|
|
3115
|
-
},
|
|
3116
|
-
leave(_node, _parent, context) {
|
|
3117
|
-
closePath(stack, context, visitors);
|
|
3118
|
-
}
|
|
3119
|
-
});
|
|
3128
|
+
walkTraverse(root, stack, visitors);
|
|
3120
3129
|
} catch (error) {
|
|
3121
|
-
|
|
3130
|
+
handleTraverseError(error);
|
|
3122
3131
|
}
|
|
3123
3132
|
}
|
|
3124
|
-
const rethrowUnlessStopped = (error) => {
|
|
3125
|
-
if (!S.is(TraversalStopped)(error)) throw error;
|
|
3126
|
-
};
|
|
3127
3133
|
const readPath = (stack, node, controls, context, visitors) => {
|
|
3128
3134
|
if (isCommentKey(context.key)) return;
|
|
3129
3135
|
const path = createPath(node, parentOf(stack), controls, context);
|
|
@@ -3191,7 +3197,7 @@ function writeInto(parent, key, index, replacement) {
|
|
|
3191
3197
|
writeAtKey(parent, key, index, replacement);
|
|
3192
3198
|
}
|
|
3193
3199
|
function writeAtKey(parent, key, index, replacement) {
|
|
3194
|
-
|
|
3200
|
+
if (Predicate.isString(key)) writeAtSlot(parent, key, index, replacement);
|
|
3195
3201
|
}
|
|
3196
3202
|
function writeAtSlot(parent, key, index, replacement) {
|
|
3197
3203
|
Match.value(index).pipe(Match.when(Match.null, () => overwrite(parent, key, replacement)), Match.orElse((position) => writeElement(parent[key], position, replacement)));
|
|
@@ -3271,17 +3277,16 @@ function isRangedBaseNode(value) {
|
|
|
3271
3277
|
function isNonEmptyArray(value) {
|
|
3272
3278
|
return Array.isArray(value) && value.length > 0;
|
|
3273
3279
|
}
|
|
3274
|
-
function
|
|
3275
|
-
return isPlainRecord(value) &&
|
|
3276
|
-
}
|
|
3277
|
-
function hasContent(value) {
|
|
3278
|
-
return hasField(value, "content");
|
|
3280
|
+
function hasContentField(value) {
|
|
3281
|
+
return isPlainRecord(value) && "content" in value;
|
|
3279
3282
|
}
|
|
3280
|
-
function
|
|
3281
|
-
return
|
|
3283
|
+
function hasHtmlField(value) {
|
|
3284
|
+
return isPlainRecord(value) && "html" in value;
|
|
3282
3285
|
}
|
|
3286
|
+
const readRecordField = (record, key) => record[key];
|
|
3283
3287
|
function fieldOf$1(value, key) {
|
|
3284
|
-
|
|
3288
|
+
if (!isPlainRecord(value)) return void 0;
|
|
3289
|
+
return readRecordField(value, key);
|
|
3285
3290
|
}
|
|
3286
3291
|
function appendIfDefined(values, value) {
|
|
3287
3292
|
if (value !== void 0) values.push(value);
|
|
@@ -3408,7 +3413,7 @@ const parseHtml = (text, originFileName, context) => Effect$1.map(ngHtmlParser(t
|
|
|
3408
3413
|
root
|
|
3409
3414
|
}));
|
|
3410
3415
|
const ngHtmlParser = (text, fileName, parserContext) => Effect$1.gen(function* () {
|
|
3411
|
-
const ngParser = yield* Effect$1.promise(() => import("./dist-
|
|
3416
|
+
const ngParser = yield* Effect$1.promise(() => import("./dist-Dmv1WEP8.mjs"));
|
|
3412
3417
|
const { rootNodes, errors } = ngParser.parse(text, {
|
|
3413
3418
|
canSelfClose: true,
|
|
3414
3419
|
allowHtmComponentClosingTags: true,
|
|
@@ -3556,12 +3561,12 @@ function isTextRange(value) {
|
|
|
3556
3561
|
function isTemplateExpressionTag(value) {
|
|
3557
3562
|
return isTypedRecord(value) && TEMPLATE_EXPRESSION_TYPES[value["type"]] === true;
|
|
3558
3563
|
}
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3564
|
+
const firstChild = (element) => {
|
|
3565
|
+
const children = element["children"];
|
|
3566
|
+
return isNonEmptyArray(children) ? Option.getOrUndefined(Arr.head(children)) : void 0;
|
|
3567
|
+
};
|
|
3563
3568
|
function scriptChild(node) {
|
|
3564
|
-
return
|
|
3569
|
+
return isScriptElement(node) ? firstChild(node) : void 0;
|
|
3565
3570
|
}
|
|
3566
3571
|
function tryGetScriptRangeFromElement(node) {
|
|
3567
3572
|
return Match.value(scriptChild(node)).pipe(Match.when(isTextRange, (range) => ({
|
|
@@ -3571,14 +3576,14 @@ function tryGetScriptRangeFromElement(node) {
|
|
|
3571
3576
|
})), Match.orElse(() => void 0));
|
|
3572
3577
|
}
|
|
3573
3578
|
function templateExpressionRange(node) {
|
|
3574
|
-
return
|
|
3579
|
+
return isTemplateExpressionTag(node) ? rangedExpressionOf(node["expression"]) : void 0;
|
|
3575
3580
|
}
|
|
3576
3581
|
function rangedExpressionOf(payload) {
|
|
3577
|
-
|
|
3578
|
-
start:
|
|
3579
|
-
end:
|
|
3582
|
+
if (isRangedBaseNode(payload)) return {
|
|
3583
|
+
start: payload.start,
|
|
3584
|
+
end: payload.end,
|
|
3580
3585
|
isExpression: true
|
|
3581
|
-
}
|
|
3586
|
+
};
|
|
3582
3587
|
}
|
|
3583
3588
|
/**
|
|
3584
3589
|
* Allow instrumentation of Svelte 5 projects without dropping support for Svelte 4.
|
|
@@ -3590,9 +3595,10 @@ const loadWalker = (version, fileName) => Match.value(isAtLeast(version, SVELTE_
|
|
|
3590
3595
|
* The specifier is chosen at run time and both modules are optional peers of
|
|
3591
3596
|
* this package, so neither can be a static import.
|
|
3592
3597
|
*/
|
|
3598
|
+
const findWalker = (module) => isRecordWithWalk(module) ? module.walk : void 0;
|
|
3593
3599
|
const loadWalkerModule = (specifier, fileName, cause) => Effect$1.gen(function* () {
|
|
3594
3600
|
const module = yield* Effect$1.promise(() => import(specifier));
|
|
3595
|
-
const walk =
|
|
3601
|
+
const walk = findWalker(module);
|
|
3596
3602
|
if (walk === void 0) return yield* SvelteWalkerNotFound.make({
|
|
3597
3603
|
fileName,
|
|
3598
3604
|
cause
|
|
@@ -3600,7 +3606,7 @@ const loadWalkerModule = (specifier, fileName, cause) => Effect$1.gen(function*
|
|
|
3600
3606
|
return walk;
|
|
3601
3607
|
});
|
|
3602
3608
|
const parseSvelte = (text, fileName, context) => Effect$1.gen(function* () {
|
|
3603
|
-
const { parse: svelteParse, preprocess, VERSION } = yield* Effect$1.promise(() => import("./compiler-
|
|
3609
|
+
const { parse: svelteParse, preprocess, VERSION } = yield* Effect$1.promise(() => import("./compiler-Faeg70AC.mjs"));
|
|
3604
3610
|
if (!isAtLeast(VERSION, MINIMUM_SVELTE_VERSION)) return yield* SvelteVersionNotSupported.make({
|
|
3605
3611
|
version: VERSION,
|
|
3606
3612
|
fileName,
|
|
@@ -3667,29 +3673,31 @@ function getTemplateScriptRanges(ast, walker) {
|
|
|
3667
3673
|
return ranges;
|
|
3668
3674
|
}
|
|
3669
3675
|
function htmlRootOf(ast) {
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
}));
|
|
3676
|
+
if (!hasHtmlField(ast)) throw new Error("Svelte AST without html");
|
|
3677
|
+
return ast["html"];
|
|
3673
3678
|
}
|
|
3674
3679
|
function instanceScriptRange(ast) {
|
|
3675
|
-
|
|
3680
|
+
const record = contentFieldOf(fieldOf$1(ast, "instance"));
|
|
3681
|
+
return record === void 0 ? void 0 : scriptContentRange(record["content"], INSTANCE_RANGE_MISSING);
|
|
3676
3682
|
}
|
|
3677
3683
|
function scriptContentRange(content, missingRange) {
|
|
3678
|
-
|
|
3679
|
-
start:
|
|
3680
|
-
end:
|
|
3684
|
+
if (isRange(content)) return {
|
|
3685
|
+
start: content.start,
|
|
3686
|
+
end: content.end,
|
|
3681
3687
|
isExpression: false
|
|
3682
|
-
}
|
|
3683
|
-
|
|
3684
|
-
}));
|
|
3688
|
+
};
|
|
3689
|
+
throw new Error(missingRange);
|
|
3685
3690
|
}
|
|
3686
3691
|
function getModuleScriptRange(svelteAst) {
|
|
3687
3692
|
return Match.value(fieldOf$1(svelteAst, "module")).pipe(Match.when(void 0, () => void 0), Match.when(null, () => void 0), Match.orElse((block) => moduleBlockRange(block)));
|
|
3688
3693
|
}
|
|
3694
|
+
function contentFieldOf(value) {
|
|
3695
|
+
return Option.getOrUndefined(Option.filter(Option.fromNullishOr(value), hasContentField));
|
|
3696
|
+
}
|
|
3689
3697
|
function moduleBlockRange(block) {
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3698
|
+
const record = contentFieldOf(block);
|
|
3699
|
+
if (record === void 0) throw new Error(MODULE_RANGE_MISSING);
|
|
3700
|
+
return scriptContentRange(record["content"], MODULE_RANGE_MISSING);
|
|
3693
3701
|
}
|
|
3694
3702
|
/**
|
|
3695
3703
|
* Remaps script locations back to the original places using the script map
|
|
@@ -5887,16 +5895,19 @@ function literalWithoutRegex(node) {
|
|
|
5887
5895
|
return valueLiteralText(node.value);
|
|
5888
5896
|
}
|
|
5889
5897
|
function valueLiteralText(value) {
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5898
|
+
if (typeof value === "string") return JSON.stringify(value);
|
|
5899
|
+
return nonStringLiteralText(value);
|
|
5900
|
+
}
|
|
5901
|
+
function nonStringLiteralText(value) {
|
|
5902
|
+
if (typeof value === "number") return String(value);
|
|
5903
|
+
return booleanOrBigintText(value);
|
|
5904
|
+
}
|
|
5905
|
+
function booleanOrBigintText(value) {
|
|
5906
|
+
if (typeof value === "boolean") return String(value);
|
|
5907
|
+
return bigintText(value);
|
|
5908
|
+
}
|
|
5909
|
+
function bigintText(value) {
|
|
5910
|
+
return typeof value === "bigint" ? `${value}n` : "null";
|
|
5900
5911
|
}
|
|
5901
5912
|
function flagText(present, text) {
|
|
5902
5913
|
switch (Boolean(present)) {
|
|
@@ -5948,13 +5959,12 @@ const HASHBANG_FIELDS = {
|
|
|
5948
5959
|
function isHashbang(value) {
|
|
5949
5960
|
return Predicate.isObject(value) && Object.entries(HASHBANG_FIELDS).every(([key, accepts]) => accepts(value[key]));
|
|
5950
5961
|
}
|
|
5951
|
-
const
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
};
|
|
5956
|
-
const
|
|
5957
|
-
const tsPrint = (file) => printProgram(file.root, { hashbang: hashbangOf(file.root) });
|
|
5962
|
+
const toHashbang = (hashbang) => isHashbang(hashbang) ? hashbang : null;
|
|
5963
|
+
function getHashbang(root) {
|
|
5964
|
+
return toHashbang("hashbang" in root ? root.hashbang : null);
|
|
5965
|
+
}
|
|
5966
|
+
const jsPrint = (file) => printProgram(file.root, { hashbang: getHashbang(file.root) });
|
|
5967
|
+
const tsPrint = (file) => printProgram(file.root, { hashbang: getHashbang(file.root) });
|
|
5958
5968
|
function getScriptStart$1(script) {
|
|
5959
5969
|
const span = spanOf(script.root);
|
|
5960
5970
|
if (span === void 0) throw new Error("Script AST root without start");
|
|
@@ -6018,9 +6028,14 @@ function normalizeFileName(fileName) {
|
|
|
6018
6028
|
}
|
|
6019
6029
|
const hasText = (value) => Predicate.isString(value) && value.length > 0;
|
|
6020
6030
|
const textIfNonEmpty = (value) => Option.getOrUndefined(Option.filter(Option.fromUndefinedOr(value), hasText));
|
|
6021
|
-
|
|
6022
|
-
return
|
|
6023
|
-
}
|
|
6031
|
+
function readFieldOf(record, key) {
|
|
6032
|
+
return record[key];
|
|
6033
|
+
}
|
|
6034
|
+
const hasFieldIn = (value, key) => key in value;
|
|
6035
|
+
const fieldOf = (value, key) => {
|
|
6036
|
+
if (!hasFieldIn(value, key)) return;
|
|
6037
|
+
return readFieldOf(value, key);
|
|
6038
|
+
};
|
|
6024
6039
|
const hasStringCode = (error) => Match.value(fieldOf(error, "code")).pipe(Match.when(Match.string, () => true), Match.orElse(() => false));
|
|
6025
6040
|
function isErrnoException(error) {
|
|
6026
6041
|
return Match.value(error).pipe(Match.when(Match.instanceOf(Error), hasStringCode), Match.orElse(() => false));
|
|
@@ -6045,7 +6060,7 @@ const isNonPlaceholderText = (text) => Match.value({
|
|
|
6045
6060
|
isPlaceholder: false
|
|
6046
6061
|
}, () => true), Match.orElse(() => false));
|
|
6047
6062
|
const isUsableText = (value) => Match.value(value).pipe(Match.when(Match.string, isNonPlaceholderText), Match.orElse(() => false));
|
|
6048
|
-
const usableText = (value) =>
|
|
6063
|
+
const usableText = (value) => isUsableText(value) ? value : "";
|
|
6049
6064
|
const objectToStringText = (value) => Match.value(fieldOf(value, "toString")).pipe(Match.when(Match.instanceOf(Function), (callable) => {
|
|
6050
6065
|
try {
|
|
6051
6066
|
return usableText(Reflect.apply(callable, value, []));
|
|
@@ -6054,9 +6069,19 @@ const objectToStringText = (value) => Match.value(fieldOf(value, "toString")).pi
|
|
|
6054
6069
|
}
|
|
6055
6070
|
}), Match.orElse(() => ""));
|
|
6056
6071
|
const isObjectType = (cause) => typeof cause === "object";
|
|
6057
|
-
const
|
|
6058
|
-
const
|
|
6059
|
-
const
|
|
6072
|
+
const isNonNullObjectType = (error) => error !== null && isObjectType(error);
|
|
6073
|
+
const toStringText = (error) => isNonNullObjectType(error) ? objectToStringText(error) : "";
|
|
6074
|
+
const stringifyRest = (error) => {
|
|
6075
|
+
const json = jsonText(error);
|
|
6076
|
+
return hasText(json) ? json : toStringText(error);
|
|
6077
|
+
};
|
|
6078
|
+
function primitiveJsonOf(error) {
|
|
6079
|
+
return isJsonPrimitive(error) ? JSON.stringify(error) : void 0;
|
|
6080
|
+
}
|
|
6081
|
+
const stringifyNonError = (error) => typeof error === "string" ? error : nonStringTextOf(error);
|
|
6082
|
+
function nonStringTextOf(error) {
|
|
6083
|
+
return primitiveJsonOf(error) ?? stringifyRest(error);
|
|
6084
|
+
}
|
|
6060
6085
|
const errorText = (error) => Match.value(error).pipe(Match.when(isErrnoException, formatErrnoException), Match.orElse(() => formatError(error)));
|
|
6061
6086
|
function errorToString(error) {
|
|
6062
6087
|
return Match.value(error).pipe(Match.when(isEmptyError, () => ""), Match.when(Match.instanceOf(Error), errorText), Match.orElse(() => stringifyNonError(error)));
|
|
@@ -6348,9 +6373,10 @@ function withOperator(node, operator) {
|
|
|
6348
6373
|
function mutantsWhen(holds, build) {
|
|
6349
6374
|
return Match.value(holds).pipe(Match.when(true, build), Match.orElse(() => NO_MUTANTS));
|
|
6350
6375
|
}
|
|
6351
|
-
|
|
6376
|
+
const hasPropertyIn = (node, key) => key in node;
|
|
6377
|
+
const readPropertyOf = (node, key) => hasPropertyIn(node, key) ? node[key] : void 0;
|
|
6352
6378
|
function propertyOf(node, key) {
|
|
6353
|
-
return
|
|
6379
|
+
return Predicate.isObject(node) ? readPropertyOf(node, key) : void 0;
|
|
6354
6380
|
}
|
|
6355
6381
|
function isIdentifier(node) {
|
|
6356
6382
|
return nodeType(node) === "Identifier";
|
|
@@ -7055,7 +7081,6 @@ function isDeclared(node) {
|
|
|
7055
7081
|
return "declare" in node && node.declare === true;
|
|
7056
7082
|
}
|
|
7057
7083
|
const tsTypeAnnotationNodeTypes = Object.freeze([
|
|
7058
|
-
"TSAsExpression",
|
|
7059
7084
|
"TSInterfaceDeclaration",
|
|
7060
7085
|
"TSTypeAnnotation",
|
|
7061
7086
|
"TSTypeAliasDeclaration",
|
|
@@ -7415,7 +7440,8 @@ function frozenContainer(value) {
|
|
|
7415
7440
|
freezableChildren(object).forEach((child) => {
|
|
7416
7441
|
deepFreeze(child);
|
|
7417
7442
|
});
|
|
7418
|
-
|
|
7443
|
+
Object.freeze(object);
|
|
7444
|
+
return value;
|
|
7419
7445
|
});
|
|
7420
7446
|
}
|
|
7421
7447
|
function freezableChildren(value) {
|
|
@@ -7997,6 +8023,9 @@ const MetricsResultSchema = S.Struct({
|
|
|
7997
8023
|
metrics: Metrics,
|
|
7998
8024
|
childResults: S.Array(S.suspend(() => MetricsResultSchema))
|
|
7999
8025
|
}).annotate({ identifier: "MetricsResult" });
|
|
8026
|
+
const WALL_CLOCK_TIMEOUT_REASON = "wall-clock-timeout";
|
|
8027
|
+
const isHitLimitReason = (reason) => reason !== void 0 && reason.startsWith("Hit limit reached");
|
|
8028
|
+
const wallClockTimeoutStopsRun = (status, reason) => status === "timeout" && !isHitLimitReason(reason);
|
|
8000
8029
|
const MutantResultSchema = S.Struct({
|
|
8001
8030
|
id: S.String,
|
|
8002
8031
|
mutatorName: S.String,
|
|
@@ -8753,4 +8782,4 @@ var PrepareError = class extends S.TaggedError()("PrepareError", {
|
|
|
8753
8782
|
reason: S.String
|
|
8754
8783
|
}) {};
|
|
8755
8784
|
//#endregion
|
|
8756
|
-
export {
|
|
8785
|
+
export { WorkerEntryUrl as $, MetricsSchema as A, ReporterEventBatch as B, CheckerRequest as C, FileResultSchema as D, ExitClass as E, MutationTestingPlanReady as F, TRACEPARENT_HEADER as G, ReporterInitOptions as H, NonNegativeInt as I, TestRunnerFailed as J, TRACESTATE_HEADER as K, PropagatedTrace as L, MutantTested as M, MutationTestReportReady as N, Metrics as O, MutationTestResultSchema as P, WALL_CLOCK_TIMEOUT_REASON as Q, ReporterAck as R, CheckerMutantWire as S, DryRunCompleted as T, ReporterRpcs as U, ReporterFailed as V, StrykerOptionsSchema as W, TraceContextMiddleware as X, TestRunnerRpcs as Y, TraceContextReference as Z, RunStarted as _, ModeSignal as a, wallClockTimeoutStopsRun as at, CheckerFailed as b, PhaseEntered as c, Mutant as ct, RunDecodeError as d, PositionSchema as dt, WorkerPluginKind as et, RunEvent as f, disableTypeChecks as ft, RunReadError as g, RunPhase as h, normalizeFileName as ht, HelpRendered as i, toMutantRunResult as it, MutantResultSchema as j, MetricsResultSchema as k, PlanKnown as l, MutantActivationSchema as lt, RunMutantTested as m, instrument as mt, StageError as n, isCustomTestRunner as nt, MutationRunPlan as o, INSTRUMENTER_CONSTANTS as ot, RunFailed as p, errorToString as pt, TestRunnerConfigSchema as q, Heartbeat as r, parseTraceparent as rt, OutputMode as s, LocationSchema as st, PrepareError as t, formatTraceparent as tt, PlanMutationRunCommand as u, MutantStatusSchema as ut, VerdictReached as v, CheckerRpcs as w, CheckerGroupResult as x, CheckerCheckResult as y, ReporterDrained as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Metrics, _ as ExitClass } from "./index-
|
|
1
|
+
import { C as Metrics, _ as ExitClass } from "./index-CogNSD0V.mjs";
|
|
2
2
|
import * as S from "effect/Schema";
|
|
3
3
|
//#region src/RunEvent.schema.d.ts
|
|
4
4
|
declare const RunPhase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
|