@systemfsoftware/stryker-js 10.1.0 → 10.1.2
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 +14 -0
- package/dist/{Run.schema-B0ERLxQj.mjs → Run.schema-57k1klOe.mjs} +99 -73
- package/dist/{Run.schema-RWUb38ZE.d.mts → Run.schema-BsSOfQnD.d.mts} +1 -1
- package/dist/{compiler-Faeg70AC.mjs → compiler-BTpMWGqK.mjs} +1 -170
- package/dist/{compiler-Dc7TYMb_.mjs → compiler-CEwQzMxZ.mjs} +1 -170
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/dist-CjdAPjrJ.mjs +1430 -0
- package/dist/dist-Cpq7Esc3.mjs +17404 -0
- package/dist/dist-DsmXFb2_.mjs +17404 -0
- package/dist/events.d.mts +1 -1
- package/dist/events.mjs +1 -1
- package/dist/{index-BopuZXrl.d.mts → index-CogNSD0V.d.mts} +6 -5
- package/dist/index.d.mts +20 -38
- package/dist/index.mjs +2 -2
- package/dist/main.mjs +6626 -1119
- package/dist/merge-config-CHZWyvVQ.mjs +19 -0
- package/dist/{mutation-test.cell-CobzlfL-.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/sourcemap-codec-qFD3eFBj.mjs +186 -0
- package/dist/{src-Baq6uz-6.mjs → src-jn0C-9I0.mjs} +335 -295
- package/package.json +21 -12
- package/dist/merge-config-BrrNQWje.mjs +0 -16
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { r as __exportAll, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
+
import { n as encode, t as decode } from "./sourcemap-codec-qFD3eFBj.mjs";
|
|
2
3
|
//#region ../../node_modules/.pnpm/zimmerframe@1.1.5/node_modules/zimmerframe/src/walk.js
|
|
3
4
|
/** @import { Context, Visitor, Visitors } from './types.js' */
|
|
4
5
|
/**
|
|
@@ -35774,176 +35775,6 @@ function order_reactive_statements(unsorted_reactive_declarations) {
|
|
|
35774
35775
|
for (const [node, declaration] of unsorted_reactive_declarations) add_declaration(node, declaration);
|
|
35775
35776
|
return reactive_declarations;
|
|
35776
35777
|
}
|
|
35777
|
-
//#endregion
|
|
35778
|
-
//#region ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.6.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
35779
|
-
var comma = ",".charCodeAt(0);
|
|
35780
|
-
var semicolon = ";".charCodeAt(0);
|
|
35781
|
-
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
35782
|
-
var intToChar = /* @__PURE__ */ new Uint8Array(64);
|
|
35783
|
-
var charToInt = /* @__PURE__ */ new Uint8Array(128);
|
|
35784
|
-
for (let i = 0; i < chars.length; i++) {
|
|
35785
|
-
const c = chars.charCodeAt(i);
|
|
35786
|
-
intToChar[i] = c;
|
|
35787
|
-
charToInt[c] = i;
|
|
35788
|
-
}
|
|
35789
|
-
function decodeInteger(reader) {
|
|
35790
|
-
let value = 0;
|
|
35791
|
-
let shift = 0;
|
|
35792
|
-
let integer = 0;
|
|
35793
|
-
do {
|
|
35794
|
-
integer = charToInt[reader.next()];
|
|
35795
|
-
value |= (integer & 31) << shift;
|
|
35796
|
-
shift += 5;
|
|
35797
|
-
} while (integer & 32);
|
|
35798
|
-
return value;
|
|
35799
|
-
}
|
|
35800
|
-
function decodeSign(num) {
|
|
35801
|
-
return num & 1 ? -2147483648 | -(num >>> 1) : num >>> 1;
|
|
35802
|
-
}
|
|
35803
|
-
function encodeInteger(builder, num) {
|
|
35804
|
-
do {
|
|
35805
|
-
let clamped = num & 31;
|
|
35806
|
-
num >>>= 5;
|
|
35807
|
-
if (num > 0) clamped |= 32;
|
|
35808
|
-
builder.write(intToChar[clamped]);
|
|
35809
|
-
} while (num > 0);
|
|
35810
|
-
}
|
|
35811
|
-
function encodeSign(num) {
|
|
35812
|
-
return num < 0 ? -num << 1 | 1 : num << 1;
|
|
35813
|
-
}
|
|
35814
|
-
function hasMoreVlq(reader, max) {
|
|
35815
|
-
if (reader.pos >= max) return false;
|
|
35816
|
-
return reader.peek() !== comma;
|
|
35817
|
-
}
|
|
35818
|
-
var bufLength = 16384;
|
|
35819
|
-
var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? { decode(buf) {
|
|
35820
|
-
return Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength).toString();
|
|
35821
|
-
} } : { decode(buf) {
|
|
35822
|
-
let out = "";
|
|
35823
|
-
for (let i = 0; i < buf.length; i++) out += String.fromCharCode(buf[i]);
|
|
35824
|
-
return out;
|
|
35825
|
-
} };
|
|
35826
|
-
var StringWriter = class {
|
|
35827
|
-
constructor() {
|
|
35828
|
-
this.pos = 0;
|
|
35829
|
-
this.out = "";
|
|
35830
|
-
this.buffer = new Uint8Array(bufLength);
|
|
35831
|
-
}
|
|
35832
|
-
write(v) {
|
|
35833
|
-
const { buffer } = this;
|
|
35834
|
-
buffer[this.pos++] = v;
|
|
35835
|
-
if (this.pos === bufLength) {
|
|
35836
|
-
this.out += td.decode(buffer);
|
|
35837
|
-
this.pos = 0;
|
|
35838
|
-
}
|
|
35839
|
-
}
|
|
35840
|
-
flush() {
|
|
35841
|
-
const { buffer, out, pos } = this;
|
|
35842
|
-
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
|
|
35843
|
-
}
|
|
35844
|
-
};
|
|
35845
|
-
var StringReader = class {
|
|
35846
|
-
constructor(buffer) {
|
|
35847
|
-
this.pos = 0;
|
|
35848
|
-
this.buffer = buffer;
|
|
35849
|
-
}
|
|
35850
|
-
next() {
|
|
35851
|
-
return this.buffer.charCodeAt(this.pos++);
|
|
35852
|
-
}
|
|
35853
|
-
peek() {
|
|
35854
|
-
return this.buffer.charCodeAt(this.pos);
|
|
35855
|
-
}
|
|
35856
|
-
indexOf(char) {
|
|
35857
|
-
const { buffer, pos } = this;
|
|
35858
|
-
const idx = buffer.indexOf(char, pos);
|
|
35859
|
-
return idx === -1 ? buffer.length : idx;
|
|
35860
|
-
}
|
|
35861
|
-
};
|
|
35862
|
-
function decode(mappings) {
|
|
35863
|
-
const { length } = mappings;
|
|
35864
|
-
const reader = new StringReader(mappings);
|
|
35865
|
-
const decoded = [];
|
|
35866
|
-
let genColumn = 0;
|
|
35867
|
-
let sourcesIndex = 0;
|
|
35868
|
-
let sourceLine = 0;
|
|
35869
|
-
let sourceColumn = 0;
|
|
35870
|
-
let namesIndex = 0;
|
|
35871
|
-
do {
|
|
35872
|
-
const semi = reader.indexOf(";");
|
|
35873
|
-
const line = [];
|
|
35874
|
-
let sorted = true;
|
|
35875
|
-
let lastCol = 0;
|
|
35876
|
-
genColumn = 0;
|
|
35877
|
-
while (reader.pos < semi) {
|
|
35878
|
-
let seg;
|
|
35879
|
-
genColumn += decodeSign(decodeInteger(reader));
|
|
35880
|
-
if (genColumn < lastCol) sorted = false;
|
|
35881
|
-
lastCol = genColumn;
|
|
35882
|
-
if (hasMoreVlq(reader, semi)) {
|
|
35883
|
-
sourcesIndex += decodeSign(decodeInteger(reader));
|
|
35884
|
-
sourceLine += decodeSign(decodeInteger(reader));
|
|
35885
|
-
sourceColumn += decodeSign(decodeInteger(reader));
|
|
35886
|
-
if (hasMoreVlq(reader, semi)) {
|
|
35887
|
-
namesIndex += decodeSign(decodeInteger(reader));
|
|
35888
|
-
seg = [
|
|
35889
|
-
genColumn,
|
|
35890
|
-
sourcesIndex,
|
|
35891
|
-
sourceLine,
|
|
35892
|
-
sourceColumn,
|
|
35893
|
-
namesIndex
|
|
35894
|
-
];
|
|
35895
|
-
} else seg = [
|
|
35896
|
-
genColumn,
|
|
35897
|
-
sourcesIndex,
|
|
35898
|
-
sourceLine,
|
|
35899
|
-
sourceColumn
|
|
35900
|
-
];
|
|
35901
|
-
} else seg = [genColumn];
|
|
35902
|
-
line.push(seg);
|
|
35903
|
-
reader.pos++;
|
|
35904
|
-
}
|
|
35905
|
-
if (!sorted) sort(line);
|
|
35906
|
-
decoded.push(line);
|
|
35907
|
-
reader.pos = semi + 1;
|
|
35908
|
-
} while (reader.pos <= length);
|
|
35909
|
-
return decoded;
|
|
35910
|
-
}
|
|
35911
|
-
function sort(line) {
|
|
35912
|
-
line.sort(sortComparator$1);
|
|
35913
|
-
}
|
|
35914
|
-
function sortComparator$1(a, b) {
|
|
35915
|
-
return a[0] - b[0];
|
|
35916
|
-
}
|
|
35917
|
-
function encode(decoded) {
|
|
35918
|
-
const writer = new StringWriter();
|
|
35919
|
-
let sourcesIndex = 0;
|
|
35920
|
-
let sourceLine = 0;
|
|
35921
|
-
let sourceColumn = 0;
|
|
35922
|
-
let namesIndex = 0;
|
|
35923
|
-
for (let i = 0; i < decoded.length; i++) {
|
|
35924
|
-
const line = decoded[i];
|
|
35925
|
-
if (i > 0) writer.write(semicolon);
|
|
35926
|
-
if (line.length === 0) continue;
|
|
35927
|
-
let genColumn = 0;
|
|
35928
|
-
for (let j = 0; j < line.length; j++) {
|
|
35929
|
-
const segment = line[j];
|
|
35930
|
-
if (j > 0) writer.write(comma);
|
|
35931
|
-
encodeInteger(writer, encodeSign(segment[0] - genColumn));
|
|
35932
|
-
genColumn = segment[0];
|
|
35933
|
-
if (segment.length === 1) continue;
|
|
35934
|
-
encodeInteger(writer, encodeSign(segment[1] - sourcesIndex));
|
|
35935
|
-
encodeInteger(writer, encodeSign(segment[2] - sourceLine));
|
|
35936
|
-
encodeInteger(writer, encodeSign(segment[3] - sourceColumn));
|
|
35937
|
-
sourcesIndex = segment[1];
|
|
35938
|
-
sourceLine = segment[2];
|
|
35939
|
-
sourceColumn = segment[3];
|
|
35940
|
-
if (segment.length === 4) continue;
|
|
35941
|
-
encodeInteger(writer, encodeSign(segment[4] - namesIndex));
|
|
35942
|
-
namesIndex = segment[4];
|
|
35943
|
-
}
|
|
35944
|
-
}
|
|
35945
|
-
return writer.flush();
|
|
35946
|
-
}
|
|
35947
35778
|
var Context = class Context {
|
|
35948
35779
|
#visitors;
|
|
35949
35780
|
#commands;
|
package/dist/config.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as StrykerOptions, P as PartialStrykerOptions } from "./index-
|
|
1
|
+
import { K as StrykerOptions, P as PartialStrykerOptions } from "./index-CogNSD0V.mjs";
|
|
2
2
|
import { n as OutputMode } from "./output-mode-CfGHDpi5.mjs";
|
|
3
3
|
//#region src/config/stryker-config.d.ts
|
|
4
4
|
interface ConfigEnv {
|
package/dist/config.mjs
CHANGED