@systemfsoftware/stryker-js 10.2.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +34 -26
- package/dist/Run.schema-B_qdjbe9.mjs +226 -0
- package/dist/{Run.schema-B-Pi3bCB.d.mts → Run.schema-CUpTIyrj.d.mts} +91 -19
- package/dist/RunEnvironment.service-zgwzyXpO.d.mts +456 -0
- package/dist/config.d.mts +6 -22
- package/dist/config.mjs +2 -7
- package/dist/{Run.schema-Ba34IwAY.mjs → dist-ClUhPgb6.mjs} +3432 -4856
- package/dist/{dist-CjdAPjrJ.mjs → dist-DKhCurgc.mjs} +95 -1
- package/dist/events.d.mts +2 -2
- package/dist/events.mjs +2 -2
- package/dist/index-CMCCQdTd.d.mts +4087 -0
- package/dist/index.d.mts +1084 -3321
- package/dist/index.mjs +116 -3
- package/dist/main.mjs +114296 -87310
- package/dist/promises.d.mts +4 -4
- package/dist/promises.mjs +6 -10
- package/dist/{rolldown-runtime-XITHOX9H.mjs → rolldown-runtime-8H4AJuhK.mjs} +1 -2
- package/dist/run-stages.cell-CPpkn7og.mjs +8639 -0
- package/dist/stryker-config.schema-CCnDtVuW.mjs +82 -0
- package/dist/stryker-config.schema-lr7GMjpY.d.mts +35 -0
- package/package.json +31 -46
- package/dist/compiler-BTpMWGqK.mjs +0 -48955
- package/dist/compiler-CEwQzMxZ.mjs +0 -48955
- package/dist/dist-Cpq7Esc3.mjs +0 -17404
- package/dist/dist-Dmv1WEP8.mjs +0 -5337
- package/dist/dist-DsmXFb2_.mjs +0 -17404
- package/dist/index-tt2EziOT.d.mts +0 -1216
- package/dist/merge-config-CHZWyvVQ.mjs +0 -19
- package/dist/mutation-test.cell-Dq23b2NP.d.mts +0 -1758
- package/dist/output-mode-CfGHDpi5.d.mts +0 -17
- package/dist/sourcemap-codec-qFD3eFBj.mjs +0 -186
- package/dist/src-CcqEZJIY.mjs +0 -6559
|
@@ -1,4 +1,98 @@
|
|
|
1
|
-
|
|
1
|
+
//#region ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.6.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
2
|
+
var comma = ",".charCodeAt(0);
|
|
3
|
+
var semicolon = ";".charCodeAt(0);
|
|
4
|
+
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
5
|
+
var intToChar$1 = /* @__PURE__ */ new Uint8Array(64);
|
|
6
|
+
var charToInt = /* @__PURE__ */ new Uint8Array(128);
|
|
7
|
+
for (let i = 0; i < chars.length; i++) {
|
|
8
|
+
const c = chars.charCodeAt(i);
|
|
9
|
+
intToChar$1[i] = c;
|
|
10
|
+
charToInt[c] = i;
|
|
11
|
+
}
|
|
12
|
+
function encodeInteger(builder, num) {
|
|
13
|
+
do {
|
|
14
|
+
let clamped = num & 31;
|
|
15
|
+
num >>>= 5;
|
|
16
|
+
if (num > 0) clamped |= 32;
|
|
17
|
+
builder.write(intToChar$1[clamped]);
|
|
18
|
+
} while (num > 0);
|
|
19
|
+
}
|
|
20
|
+
function encodeSign(num) {
|
|
21
|
+
return num < 0 ? -num << 1 | 1 : num << 1;
|
|
22
|
+
}
|
|
23
|
+
var bufLength = 16384;
|
|
24
|
+
var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? { decode(buf) {
|
|
25
|
+
return Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength).toString();
|
|
26
|
+
} } : { decode(buf) {
|
|
27
|
+
let out = "";
|
|
28
|
+
for (let i = 0; i < buf.length; i++) out += String.fromCharCode(buf[i]);
|
|
29
|
+
return out;
|
|
30
|
+
} };
|
|
31
|
+
var StringWriter = class {
|
|
32
|
+
constructor() {
|
|
33
|
+
this.pos = 0;
|
|
34
|
+
this.out = "";
|
|
35
|
+
this.buffer = new Uint8Array(bufLength);
|
|
36
|
+
}
|
|
37
|
+
write(v) {
|
|
38
|
+
const { buffer } = this;
|
|
39
|
+
buffer[this.pos++] = v;
|
|
40
|
+
if (this.pos === bufLength) {
|
|
41
|
+
this.out += td.decode(buffer);
|
|
42
|
+
this.pos = 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
flush() {
|
|
46
|
+
const { buffer, out, pos } = this;
|
|
47
|
+
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
function encodeRangeMappings(decoded) {
|
|
51
|
+
if (decoded.length === 0) return "";
|
|
52
|
+
const writer = new StringWriter();
|
|
53
|
+
for (let i = 0; i < decoded.length; i++) {
|
|
54
|
+
const indices = decoded[i];
|
|
55
|
+
if (i > 0) writer.write(semicolon);
|
|
56
|
+
let index = 0;
|
|
57
|
+
for (let j = 0; j < indices.length; j++) {
|
|
58
|
+
const offset = indices[j];
|
|
59
|
+
encodeInteger(writer, offset - index);
|
|
60
|
+
index = offset;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return writer.flush();
|
|
64
|
+
}
|
|
65
|
+
function encode(decoded) {
|
|
66
|
+
const writer = new StringWriter();
|
|
67
|
+
let sourcesIndex = 0;
|
|
68
|
+
let sourceLine = 0;
|
|
69
|
+
let sourceColumn = 0;
|
|
70
|
+
let namesIndex = 0;
|
|
71
|
+
for (let i = 0; i < decoded.length; i++) {
|
|
72
|
+
const line = decoded[i];
|
|
73
|
+
if (i > 0) writer.write(semicolon);
|
|
74
|
+
if (line.length === 0) continue;
|
|
75
|
+
let genColumn = 0;
|
|
76
|
+
for (let j = 0; j < line.length; j++) {
|
|
77
|
+
const segment = line[j];
|
|
78
|
+
if (j > 0) writer.write(comma);
|
|
79
|
+
encodeInteger(writer, encodeSign(segment[0] - genColumn));
|
|
80
|
+
genColumn = segment[0];
|
|
81
|
+
if (segment.length === 1) continue;
|
|
82
|
+
encodeInteger(writer, encodeSign(segment[1] - sourcesIndex));
|
|
83
|
+
encodeInteger(writer, encodeSign(segment[2] - sourceLine));
|
|
84
|
+
encodeInteger(writer, encodeSign(segment[3] - sourceColumn));
|
|
85
|
+
sourcesIndex = segment[1];
|
|
86
|
+
sourceLine = segment[2];
|
|
87
|
+
sourceColumn = segment[3];
|
|
88
|
+
if (segment.length === 4) continue;
|
|
89
|
+
encodeInteger(writer, encodeSign(segment[4] - namesIndex));
|
|
90
|
+
namesIndex = segment[4];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return writer.flush();
|
|
94
|
+
}
|
|
95
|
+
//#endregion
|
|
2
96
|
//#region ../../node_modules/.pnpm/magic-string@1.4.1/node_modules/magic-string/dist/index.mjs
|
|
3
97
|
var BitSet = class BitSet {
|
|
4
98
|
constructor(arg) {
|
package/dist/events.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
export { Heartbeat, HelpRendered, ModeSignal, MutationRunPlan, OutputMode, PhaseEntered, PlanKnown, PlanMutationRunCommand, PrepareError, RunDecodeError, RunEvent, RunFailed, RunMutantTested, RunPhase, RunReadError, RunStarted, StageError, type VerdictCounts, type VerdictMutant, VerdictReached, type VerdictThresholds };
|
|
1
|
+
import { A as VerdictReached, C as RunReadError, D as SkippedReported, E as SkippedFileRow, O as VerdictCounts, S as RunPhase, _ as PluginsReported, a as FormatRegistryRow, b as RunFailed, c as Heartbeat, d as MutationRunPlan, f as OutputMode, g as PluginFailureReason, h as PlanMutationRunCommand, i as FormatRegistryResolved, j as VerdictThresholds, k as VerdictMutant, l as HelpRendered, m as PlanKnown, n as StageError, o as FrameworkContributionRow, p as PhaseEntered, r as FormatClaimShadowingRow, s as FrameworkModuleRow, t as PrepareError, u as ModeSignal, v as RunDecodeError, w as RunStarted, x as RunMutantTested, y as RunEvent } from "./Run.schema-CUpTIyrj.mjs";
|
|
2
|
+
export { FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, ModeSignal, MutationRunPlan, OutputMode, PhaseEntered, PlanKnown, PlanMutationRunCommand, PluginFailureReason, PluginsReported, PrepareError, RunDecodeError, RunEvent, RunFailed, RunMutantTested, RunPhase, RunReadError, RunStarted, SkippedFileRow, SkippedReported, StageError, type VerdictCounts, type VerdictMutant, VerdictReached, type VerdictThresholds };
|
package/dist/events.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
export { Heartbeat, HelpRendered, ModeSignal, MutationRunPlan, OutputMode, PhaseEntered, PlanKnown, PlanMutationRunCommand, PrepareError, RunDecodeError, RunEvent, RunFailed, RunMutantTested, RunPhase, RunReadError, RunStarted, StageError, VerdictReached };
|
|
1
|
+
import { C as RunReadError, D as VerdictReached, E as SkippedReported, S as RunPhase, T as SkippedFileRow, _ as PluginsReported, a as FormatRegistryRow, b as RunFailed, c as Heartbeat, d as MutationRunPlan, f as OutputMode, g as PluginFailureReason, h as PlanMutationRunCommand, i as FormatRegistryResolved, l as HelpRendered, m as PlanKnown, n as StageError, o as FrameworkContributionRow, p as PhaseEntered, r as FormatClaimShadowingRow, s as FrameworkModuleRow, t as PrepareError, u as ModeSignal, v as RunDecodeError, w as RunStarted, x as RunMutantTested, y as RunEvent } from "./Run.schema-B_qdjbe9.mjs";
|
|
2
|
+
export { FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, ModeSignal, MutationRunPlan, OutputMode, PhaseEntered, PlanKnown, PlanMutationRunCommand, PluginFailureReason, PluginsReported, PrepareError, RunDecodeError, RunEvent, RunFailed, RunMutantTested, RunPhase, RunReadError, RunStarted, SkippedFileRow, SkippedReported, StageError, VerdictReached };
|