@systemfsoftware/stryker-js 10.0.1 → 10.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 +6 -0
- package/dist/{Run.schema-CgVfoOfk.mjs → Run.schema-B0ERLxQj.mjs} +7 -4
- package/dist/{Run.schema-t292QQGe.d.mts → Run.schema-RWUb38ZE.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/{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-BopuZXrl.d.mts} +7 -1
- package/dist/index.mjs +2 -2
- package/dist/main.mjs +9841 -26246
- package/dist/{mutation-test.cell-Dp6QiuRg.d.mts → mutation-test.cell-CobzlfL-.d.mts} +2 -2
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/{src-CMHnl87m.mjs → src-Baq6uz-6.mjs} +78 -12
- package/dist/{wasm-klkEDrvQ.mjs → wasm-CUFfND2k.mjs} +1 -1
- package/package.json +17 -17
- 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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @systemfsoftware/stryker-js
|
|
2
2
|
|
|
3
|
+
## 10.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
|
|
3
9
|
## 10.0.1
|
|
4
10
|
|
|
5
11
|
### 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",
|
|
@@ -3408,7 +3409,7 @@ const parseHtml = (text, originFileName, context) => Effect$1.map(ngHtmlParser(t
|
|
|
3408
3409
|
root
|
|
3409
3410
|
}));
|
|
3410
3411
|
const ngHtmlParser = (text, fileName, parserContext) => Effect$1.gen(function* () {
|
|
3411
|
-
const ngParser = yield* Effect$1.promise(() => import("./dist-
|
|
3412
|
+
const ngParser = yield* Effect$1.promise(() => import("./dist-Dmv1WEP8.mjs"));
|
|
3412
3413
|
const { rootNodes, errors } = ngParser.parse(text, {
|
|
3413
3414
|
canSelfClose: true,
|
|
3414
3415
|
allowHtmComponentClosingTags: true,
|
|
@@ -3600,7 +3601,7 @@ const loadWalkerModule = (specifier, fileName, cause) => Effect$1.gen(function*
|
|
|
3600
3601
|
return walk;
|
|
3601
3602
|
});
|
|
3602
3603
|
const parseSvelte = (text, fileName, context) => Effect$1.gen(function* () {
|
|
3603
|
-
const { parse: svelteParse, preprocess, VERSION } = yield* Effect$1.promise(() => import("./compiler-
|
|
3604
|
+
const { parse: svelteParse, preprocess, VERSION } = yield* Effect$1.promise(() => import("./compiler-Faeg70AC.mjs"));
|
|
3604
3605
|
if (!isAtLeast(VERSION, MINIMUM_SVELTE_VERSION)) return yield* SvelteVersionNotSupported.make({
|
|
3605
3606
|
version: VERSION,
|
|
3606
3607
|
fileName,
|
|
@@ -7055,7 +7056,6 @@ function isDeclared(node) {
|
|
|
7055
7056
|
return "declare" in node && node.declare === true;
|
|
7056
7057
|
}
|
|
7057
7058
|
const tsTypeAnnotationNodeTypes = Object.freeze([
|
|
7058
|
-
"TSAsExpression",
|
|
7059
7059
|
"TSInterfaceDeclaration",
|
|
7060
7060
|
"TSTypeAnnotation",
|
|
7061
7061
|
"TSTypeAliasDeclaration",
|
|
@@ -7997,6 +7997,9 @@ const MetricsResultSchema = S.Struct({
|
|
|
7997
7997
|
metrics: Metrics,
|
|
7998
7998
|
childResults: S.Array(S.suspend(() => MetricsResultSchema))
|
|
7999
7999
|
}).annotate({ identifier: "MetricsResult" });
|
|
8000
|
+
const WALL_CLOCK_TIMEOUT_REASON = "wall-clock-timeout";
|
|
8001
|
+
const isHitLimitReason = (reason) => reason !== void 0 && reason.startsWith("Hit limit reached");
|
|
8002
|
+
const wallClockTimeoutStopsRun = (status, reason) => status === "timeout" && !isHitLimitReason(reason);
|
|
8000
8003
|
const MutantResultSchema = S.Struct({
|
|
8001
8004
|
id: S.String,
|
|
8002
8005
|
mutatorName: S.String,
|
|
@@ -8753,4 +8756,4 @@ var PrepareError = class extends S.TaggedError()("PrepareError", {
|
|
|
8753
8756
|
reason: S.String
|
|
8754
8757
|
}) {};
|
|
8755
8758
|
//#endregion
|
|
8756
|
-
export {
|
|
8759
|
+
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-BopuZXrl.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"]>;
|