@systemfsoftware/stryker-js-vitest-runner 7.0.0 → 7.0.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 +6 -0
- package/dist/main.mjs +32129 -13985
- package/dist/{src-js-DRK8boNV.mjs → src-js-CvBdbRpe.mjs} +129 -56
- package/package.json +36 -24
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
import { createRequire as createRequire$1 } from "module";
|
|
3
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
3
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.150.0/node_modules/oxc-parser/src-js/bindings.js
|
|
4
4
|
const require$1 = createRequire$1(import.meta.url);
|
|
5
|
-
new URL(".", import.meta.url).pathname;
|
|
6
5
|
const { readFileSync } = require$1("fs");
|
|
7
6
|
let nativeBinding = null;
|
|
8
7
|
const loadErrors = [];
|
|
@@ -59,7 +58,7 @@ function requireNative() {
|
|
|
59
58
|
try {
|
|
60
59
|
const binding = require$1("@oxc-parser/binding-android-arm64");
|
|
61
60
|
const bindingPackageVersion = require$1("@oxc-parser/binding-android-arm64/package.json").version;
|
|
62
|
-
if (bindingPackageVersion !== "0.
|
|
61
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
63
62
|
return binding;
|
|
64
63
|
} catch (e) {
|
|
65
64
|
loadErrors.push(e);
|
|
@@ -73,7 +72,7 @@ function requireNative() {
|
|
|
73
72
|
try {
|
|
74
73
|
const binding = require$1("@oxc-parser/binding-android-arm-eabi");
|
|
75
74
|
const bindingPackageVersion = require$1("@oxc-parser/binding-android-arm-eabi/package.json").version;
|
|
76
|
-
if (bindingPackageVersion !== "0.
|
|
75
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
77
76
|
return binding;
|
|
78
77
|
} catch (e) {
|
|
79
78
|
loadErrors.push(e);
|
|
@@ -90,7 +89,7 @@ function requireNative() {
|
|
|
90
89
|
try {
|
|
91
90
|
const binding = require$1("@oxc-parser/binding-win32-x64-gnu");
|
|
92
91
|
const bindingPackageVersion = require$1("@oxc-parser/binding-win32-x64-gnu/package.json").version;
|
|
93
|
-
if (bindingPackageVersion !== "0.
|
|
92
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
94
93
|
return binding;
|
|
95
94
|
} catch (e) {
|
|
96
95
|
loadErrors.push(e);
|
|
@@ -104,7 +103,7 @@ function requireNative() {
|
|
|
104
103
|
try {
|
|
105
104
|
const binding = require$1("@oxc-parser/binding-win32-x64-msvc");
|
|
106
105
|
const bindingPackageVersion = require$1("@oxc-parser/binding-win32-x64-msvc/package.json").version;
|
|
107
|
-
if (bindingPackageVersion !== "0.
|
|
106
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
108
107
|
return binding;
|
|
109
108
|
} catch (e) {
|
|
110
109
|
loadErrors.push(e);
|
|
@@ -119,7 +118,7 @@ function requireNative() {
|
|
|
119
118
|
try {
|
|
120
119
|
const binding = require$1("@oxc-parser/binding-win32-ia32-msvc");
|
|
121
120
|
const bindingPackageVersion = require$1("@oxc-parser/binding-win32-ia32-msvc/package.json").version;
|
|
122
|
-
if (bindingPackageVersion !== "0.
|
|
121
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
123
122
|
return binding;
|
|
124
123
|
} catch (e) {
|
|
125
124
|
loadErrors.push(e);
|
|
@@ -133,7 +132,7 @@ function requireNative() {
|
|
|
133
132
|
try {
|
|
134
133
|
const binding = require$1("@oxc-parser/binding-win32-arm64-msvc");
|
|
135
134
|
const bindingPackageVersion = require$1("@oxc-parser/binding-win32-arm64-msvc/package.json").version;
|
|
136
|
-
if (bindingPackageVersion !== "0.
|
|
135
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
137
136
|
return binding;
|
|
138
137
|
} catch (e) {
|
|
139
138
|
loadErrors.push(e);
|
|
@@ -148,7 +147,7 @@ function requireNative() {
|
|
|
148
147
|
try {
|
|
149
148
|
const binding = require$1("@oxc-parser/binding-darwin-universal");
|
|
150
149
|
const bindingPackageVersion = require$1("@oxc-parser/binding-darwin-universal/package.json").version;
|
|
151
|
-
if (bindingPackageVersion !== "0.
|
|
150
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
152
151
|
return binding;
|
|
153
152
|
} catch (e) {
|
|
154
153
|
loadErrors.push(e);
|
|
@@ -162,7 +161,7 @@ function requireNative() {
|
|
|
162
161
|
try {
|
|
163
162
|
const binding = require$1("@oxc-parser/binding-darwin-x64");
|
|
164
163
|
const bindingPackageVersion = require$1("@oxc-parser/binding-darwin-x64/package.json").version;
|
|
165
|
-
if (bindingPackageVersion !== "0.
|
|
164
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
166
165
|
return binding;
|
|
167
166
|
} catch (e) {
|
|
168
167
|
loadErrors.push(e);
|
|
@@ -176,7 +175,7 @@ function requireNative() {
|
|
|
176
175
|
try {
|
|
177
176
|
const binding = require$1("@oxc-parser/binding-darwin-arm64");
|
|
178
177
|
const bindingPackageVersion = require$1("@oxc-parser/binding-darwin-arm64/package.json").version;
|
|
179
|
-
if (bindingPackageVersion !== "0.
|
|
178
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
180
179
|
return binding;
|
|
181
180
|
} catch (e) {
|
|
182
181
|
loadErrors.push(e);
|
|
@@ -192,7 +191,7 @@ function requireNative() {
|
|
|
192
191
|
try {
|
|
193
192
|
const binding = require$1("@oxc-parser/binding-freebsd-x64");
|
|
194
193
|
const bindingPackageVersion = require$1("@oxc-parser/binding-freebsd-x64/package.json").version;
|
|
195
|
-
if (bindingPackageVersion !== "0.
|
|
194
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
196
195
|
return binding;
|
|
197
196
|
} catch (e) {
|
|
198
197
|
loadErrors.push(e);
|
|
@@ -206,7 +205,7 @@ function requireNative() {
|
|
|
206
205
|
try {
|
|
207
206
|
const binding = require$1("@oxc-parser/binding-freebsd-arm64");
|
|
208
207
|
const bindingPackageVersion = require$1("@oxc-parser/binding-freebsd-arm64/package.json").version;
|
|
209
|
-
if (bindingPackageVersion !== "0.
|
|
208
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
210
209
|
return binding;
|
|
211
210
|
} catch (e) {
|
|
212
211
|
loadErrors.push(e);
|
|
@@ -223,7 +222,7 @@ function requireNative() {
|
|
|
223
222
|
try {
|
|
224
223
|
const binding = require$1("@oxc-parser/binding-linux-x64-musl");
|
|
225
224
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-x64-musl/package.json").version;
|
|
226
|
-
if (bindingPackageVersion !== "0.
|
|
225
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
227
226
|
return binding;
|
|
228
227
|
} catch (e) {
|
|
229
228
|
loadErrors.push(e);
|
|
@@ -237,7 +236,7 @@ function requireNative() {
|
|
|
237
236
|
try {
|
|
238
237
|
const binding = require$1("@oxc-parser/binding-linux-x64-gnu");
|
|
239
238
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-x64-gnu/package.json").version;
|
|
240
|
-
if (bindingPackageVersion !== "0.
|
|
239
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
241
240
|
return binding;
|
|
242
241
|
} catch (e) {
|
|
243
242
|
loadErrors.push(e);
|
|
@@ -253,7 +252,7 @@ function requireNative() {
|
|
|
253
252
|
try {
|
|
254
253
|
const binding = require$1("@oxc-parser/binding-linux-arm64-musl");
|
|
255
254
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-arm64-musl/package.json").version;
|
|
256
|
-
if (bindingPackageVersion !== "0.
|
|
255
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
257
256
|
return binding;
|
|
258
257
|
} catch (e) {
|
|
259
258
|
loadErrors.push(e);
|
|
@@ -267,7 +266,7 @@ function requireNative() {
|
|
|
267
266
|
try {
|
|
268
267
|
const binding = require$1("@oxc-parser/binding-linux-arm64-gnu");
|
|
269
268
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-arm64-gnu/package.json").version;
|
|
270
|
-
if (bindingPackageVersion !== "0.
|
|
269
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
271
270
|
return binding;
|
|
272
271
|
} catch (e) {
|
|
273
272
|
loadErrors.push(e);
|
|
@@ -283,7 +282,7 @@ function requireNative() {
|
|
|
283
282
|
try {
|
|
284
283
|
const binding = require$1("@oxc-parser/binding-linux-arm-musleabihf");
|
|
285
284
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-arm-musleabihf/package.json").version;
|
|
286
|
-
if (bindingPackageVersion !== "0.
|
|
285
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
287
286
|
return binding;
|
|
288
287
|
} catch (e) {
|
|
289
288
|
loadErrors.push(e);
|
|
@@ -297,7 +296,7 @@ function requireNative() {
|
|
|
297
296
|
try {
|
|
298
297
|
const binding = require$1("@oxc-parser/binding-linux-arm-gnueabihf");
|
|
299
298
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-arm-gnueabihf/package.json").version;
|
|
300
|
-
if (bindingPackageVersion !== "0.
|
|
299
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
301
300
|
return binding;
|
|
302
301
|
} catch (e) {
|
|
303
302
|
loadErrors.push(e);
|
|
@@ -313,7 +312,7 @@ function requireNative() {
|
|
|
313
312
|
try {
|
|
314
313
|
const binding = require$1("@oxc-parser/binding-linux-loong64-musl");
|
|
315
314
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-loong64-musl/package.json").version;
|
|
316
|
-
if (bindingPackageVersion !== "0.
|
|
315
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
317
316
|
return binding;
|
|
318
317
|
} catch (e) {
|
|
319
318
|
loadErrors.push(e);
|
|
@@ -327,7 +326,7 @@ function requireNative() {
|
|
|
327
326
|
try {
|
|
328
327
|
const binding = require$1("@oxc-parser/binding-linux-loong64-gnu");
|
|
329
328
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-loong64-gnu/package.json").version;
|
|
330
|
-
if (bindingPackageVersion !== "0.
|
|
329
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
331
330
|
return binding;
|
|
332
331
|
} catch (e) {
|
|
333
332
|
loadErrors.push(e);
|
|
@@ -343,7 +342,7 @@ function requireNative() {
|
|
|
343
342
|
try {
|
|
344
343
|
const binding = require$1("@oxc-parser/binding-linux-riscv64-musl");
|
|
345
344
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-riscv64-musl/package.json").version;
|
|
346
|
-
if (bindingPackageVersion !== "0.
|
|
345
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
347
346
|
return binding;
|
|
348
347
|
} catch (e) {
|
|
349
348
|
loadErrors.push(e);
|
|
@@ -357,7 +356,7 @@ function requireNative() {
|
|
|
357
356
|
try {
|
|
358
357
|
const binding = require$1("@oxc-parser/binding-linux-riscv64-gnu");
|
|
359
358
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-riscv64-gnu/package.json").version;
|
|
360
|
-
if (bindingPackageVersion !== "0.
|
|
359
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
361
360
|
return binding;
|
|
362
361
|
} catch (e) {
|
|
363
362
|
loadErrors.push(e);
|
|
@@ -372,7 +371,7 @@ function requireNative() {
|
|
|
372
371
|
try {
|
|
373
372
|
const binding = require$1("@oxc-parser/binding-linux-ppc64-gnu");
|
|
374
373
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-ppc64-gnu/package.json").version;
|
|
375
|
-
if (bindingPackageVersion !== "0.
|
|
374
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
376
375
|
return binding;
|
|
377
376
|
} catch (e) {
|
|
378
377
|
loadErrors.push(e);
|
|
@@ -386,7 +385,7 @@ function requireNative() {
|
|
|
386
385
|
try {
|
|
387
386
|
const binding = require$1("@oxc-parser/binding-linux-s390x-gnu");
|
|
388
387
|
const bindingPackageVersion = require$1("@oxc-parser/binding-linux-s390x-gnu/package.json").version;
|
|
389
|
-
if (bindingPackageVersion !== "0.
|
|
388
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
390
389
|
return binding;
|
|
391
390
|
} catch (e) {
|
|
392
391
|
loadErrors.push(e);
|
|
@@ -402,7 +401,7 @@ function requireNative() {
|
|
|
402
401
|
try {
|
|
403
402
|
const binding = require$1("@oxc-parser/binding-openharmony-arm64");
|
|
404
403
|
const bindingPackageVersion = require$1("@oxc-parser/binding-openharmony-arm64/package.json").version;
|
|
405
|
-
if (bindingPackageVersion !== "0.
|
|
404
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
406
405
|
return binding;
|
|
407
406
|
} catch (e) {
|
|
408
407
|
loadErrors.push(e);
|
|
@@ -416,7 +415,7 @@ function requireNative() {
|
|
|
416
415
|
try {
|
|
417
416
|
const binding = require$1("@oxc-parser/binding-openharmony-x64");
|
|
418
417
|
const bindingPackageVersion = require$1("@oxc-parser/binding-openharmony-x64/package.json").version;
|
|
419
|
-
if (bindingPackageVersion !== "0.
|
|
418
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
420
419
|
return binding;
|
|
421
420
|
} catch (e) {
|
|
422
421
|
loadErrors.push(e);
|
|
@@ -430,7 +429,7 @@ function requireNative() {
|
|
|
430
429
|
try {
|
|
431
430
|
const binding = require$1("@oxc-parser/binding-openharmony-arm");
|
|
432
431
|
const bindingPackageVersion = require$1("@oxc-parser/binding-openharmony-arm/package.json").version;
|
|
433
|
-
if (bindingPackageVersion !== "0.
|
|
432
|
+
if (bindingPackageVersion !== "0.150.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
434
433
|
return binding;
|
|
435
434
|
} catch (e) {
|
|
436
435
|
loadErrors.push(e);
|
|
@@ -438,30 +437,107 @@ function requireNative() {
|
|
|
438
437
|
} else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported architecture on OpenHarmony: ${process.arch}`));
|
|
439
438
|
} else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`));
|
|
440
439
|
}
|
|
441
|
-
|
|
442
|
-
|
|
440
|
+
function createLoadErrorChain(errors) {
|
|
441
|
+
return errors.reduce((previous, current) => {
|
|
442
|
+
let message;
|
|
443
|
+
try {
|
|
444
|
+
message = current && typeof current.message === "string" ? current.message : String(current);
|
|
445
|
+
} catch {
|
|
446
|
+
message = "Unknown error";
|
|
447
|
+
}
|
|
448
|
+
const error = new Error(message);
|
|
449
|
+
error.cause = previous;
|
|
450
|
+
return error;
|
|
451
|
+
}, null);
|
|
452
|
+
}
|
|
453
|
+
const __napiWasiFlavors = ["wasm32-wasi"];
|
|
454
|
+
const __napiWasiFlavor = process.env.NAPI_RS_WASI_FLAVOR;
|
|
455
|
+
const __napiWasiFlavorRequested = typeof __napiWasiFlavor === "string" && __napiWasiFlavor.length > 0;
|
|
456
|
+
if (__napiWasiFlavorRequested && __napiWasiFlavors.indexOf(__napiWasiFlavor) === -1) throw new Error("Unsupported WASI flavor \"" + __napiWasiFlavor + "\". Available flavors: " + __napiWasiFlavors.join(", "));
|
|
457
|
+
const forceWasiError = process.env.NAPI_RS_FORCE_WASI === "error";
|
|
458
|
+
const forceWasi = process.env.NAPI_RS_FORCE_WASI === "true" || forceWasiError || __napiWasiFlavorRequested;
|
|
459
|
+
if (!forceWasi) nativeBinding = requireNative();
|
|
443
460
|
if (!nativeBinding || forceWasi) {
|
|
444
461
|
let wasiBinding = null;
|
|
445
|
-
let
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
462
|
+
let wasiBindingLoaded = false;
|
|
463
|
+
const wasiBindingErrors = [];
|
|
464
|
+
const __napiWasiResolveCandidate = (specifier, isPackage, localArtifacts) => {
|
|
465
|
+
try {
|
|
466
|
+
require$1.resolve(specifier);
|
|
467
|
+
} catch (resolveError) {
|
|
468
|
+
if (!resolveError || resolveError.code !== "MODULE_NOT_FOUND") throw resolveError;
|
|
469
|
+
if (isPackage) {
|
|
470
|
+
try {
|
|
471
|
+
require$1.resolve(specifier + "/package.json");
|
|
472
|
+
} catch (packageError) {
|
|
473
|
+
if (packageError && packageError.code === "MODULE_NOT_FOUND") return resolveError;
|
|
474
|
+
throw resolveError;
|
|
475
|
+
}
|
|
476
|
+
throw resolveError;
|
|
477
|
+
}
|
|
478
|
+
return resolveError;
|
|
479
|
+
}
|
|
480
|
+
if (localArtifacts) {
|
|
481
|
+
let artifactError = null;
|
|
482
|
+
for (let i = 0; i < localArtifacts.length; i++) try {
|
|
483
|
+
require$1.resolve(localArtifacts[i]);
|
|
484
|
+
return null;
|
|
485
|
+
} catch (resolveError) {
|
|
486
|
+
if (!resolveError || resolveError.code !== "MODULE_NOT_FOUND") throw resolveError;
|
|
487
|
+
artifactError = resolveError;
|
|
488
|
+
}
|
|
489
|
+
return artifactError;
|
|
490
|
+
}
|
|
491
|
+
return null;
|
|
492
|
+
};
|
|
493
|
+
if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === "wasm32-wasi")) {
|
|
494
|
+
let candidateError = null;
|
|
495
|
+
let candidateFailed = false;
|
|
496
|
+
try {
|
|
497
|
+
candidateError = __napiWasiResolveCandidate("./parser.wasi.cjs", false, ["./parser.wasm32-wasi.debug.wasm", "./parser.wasm32-wasi.wasm"]);
|
|
498
|
+
candidateFailed = candidateError !== null;
|
|
499
|
+
if (!candidateFailed) {
|
|
500
|
+
wasiBinding = require$1("./parser.wasi.cjs");
|
|
501
|
+
nativeBinding = wasiBinding;
|
|
502
|
+
wasiBindingLoaded = true;
|
|
503
|
+
}
|
|
504
|
+
} catch (err) {
|
|
505
|
+
candidateError = err;
|
|
506
|
+
candidateFailed = true;
|
|
507
|
+
}
|
|
508
|
+
if (candidateFailed) {
|
|
509
|
+
wasiBindingErrors.push(candidateError);
|
|
510
|
+
loadErrors.push(candidateError);
|
|
511
|
+
}
|
|
451
512
|
}
|
|
452
|
-
if (!
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
513
|
+
if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === "wasm32-wasi")) {
|
|
514
|
+
let candidateError = null;
|
|
515
|
+
let candidateFailed = false;
|
|
516
|
+
try {
|
|
517
|
+
candidateError = __napiWasiResolveCandidate("@oxc-parser/binding-wasm32-wasi", true, void 0);
|
|
518
|
+
candidateFailed = candidateError !== null;
|
|
519
|
+
if (!candidateFailed) {
|
|
520
|
+
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
521
|
+
const bindingPackageVersion = require$1("@oxc-parser/binding-wasm32-wasi/package.json").version;
|
|
522
|
+
if (bindingPackageVersion !== "0.150.0") throw new Error(`WASI binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
523
|
+
}
|
|
524
|
+
wasiBinding = require$1("@oxc-parser/binding-wasm32-wasi");
|
|
525
|
+
nativeBinding = wasiBinding;
|
|
526
|
+
wasiBindingLoaded = true;
|
|
527
|
+
}
|
|
528
|
+
} catch (err) {
|
|
529
|
+
candidateError = err;
|
|
530
|
+
candidateFailed = true;
|
|
531
|
+
}
|
|
532
|
+
if (candidateFailed) {
|
|
533
|
+
wasiBindingErrors.push(candidateError);
|
|
534
|
+
loadErrors.push(candidateError);
|
|
460
535
|
}
|
|
461
536
|
}
|
|
462
|
-
if (
|
|
463
|
-
|
|
464
|
-
error
|
|
537
|
+
if (!wasiBindingLoaded && forceWasi && !forceWasiError && !__napiWasiFlavorRequested) nativeBinding = requireNative();
|
|
538
|
+
if ((forceWasiError || __napiWasiFlavorRequested) && !wasiBindingLoaded) {
|
|
539
|
+
const error = /* @__PURE__ */ new Error(__napiWasiFlavorRequested ? "WASI binding for flavor \"" + __napiWasiFlavor + "\" not found" : "WASI binding not found and NAPI_RS_FORCE_WASI is set to error");
|
|
540
|
+
error.cause = createLoadErrorChain(wasiBindingErrors);
|
|
465
541
|
throw error;
|
|
466
542
|
}
|
|
467
543
|
}
|
|
@@ -473,10 +549,7 @@ if (!nativeBinding && globalThis.process?.versions?.["webcontainer"]) try {
|
|
|
473
549
|
if (!nativeBinding) {
|
|
474
550
|
if (loadErrors.length > 0) {
|
|
475
551
|
const error = /* @__PURE__ */ new Error("Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory.");
|
|
476
|
-
error.cause = loadErrors
|
|
477
|
-
cur.cause = err;
|
|
478
|
-
return cur;
|
|
479
|
-
});
|
|
552
|
+
error.cause = createLoadErrorChain(loadErrors);
|
|
480
553
|
throw error;
|
|
481
554
|
}
|
|
482
555
|
throw new Error(`Failed to load native binding`);
|
|
@@ -484,7 +557,7 @@ if (!nativeBinding) {
|
|
|
484
557
|
const { Severity, ParseResult, ExportExportNameKind, ExportImportNameKind, ExportLocalNameKind, ImportNameKind, parse: parse$1, parseSync: parseSync$1, rawTransferSupported: rawTransferSupported$1 } = nativeBinding;
|
|
485
558
|
const { getBufferOffset, parseRaw: parseRaw$1, parseRawSync } = nativeBinding;
|
|
486
559
|
//#endregion
|
|
487
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
560
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.150.0/node_modules/oxc-parser/src-js/wrap.js
|
|
488
561
|
function wrap(result) {
|
|
489
562
|
let program, module, comments, errors;
|
|
490
563
|
return {
|
|
@@ -520,7 +593,7 @@ function applyFix(program, fixPath) {
|
|
|
520
593
|
} catch {}
|
|
521
594
|
}
|
|
522
595
|
//#endregion
|
|
523
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
596
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.150.0/node_modules/oxc-parser/src-js/generated/visit/keys.js
|
|
524
597
|
const { freeze } = Object;
|
|
525
598
|
const $EMPTY = freeze([]);
|
|
526
599
|
const DECORATORS__KEY__TYPE_ANNOTATION__VALUE = freeze([
|
|
@@ -855,7 +928,7 @@ var keys_default = freeze({
|
|
|
855
928
|
TSUnionType: TYPES
|
|
856
929
|
});
|
|
857
930
|
//#endregion
|
|
858
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
931
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.150.0/node_modules/oxc-parser/src-js/visit/index.js
|
|
859
932
|
let walkProgram = null;
|
|
860
933
|
let addVisitorToCompiled;
|
|
861
934
|
let createCompiledVisitor;
|
|
@@ -886,7 +959,7 @@ var Visitor = class {
|
|
|
886
959
|
}
|
|
887
960
|
};
|
|
888
961
|
//#endregion
|
|
889
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
962
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.150.0/node_modules/oxc-parser/src-js/raw-transfer/supported.js
|
|
890
963
|
let rawTransferIsSupported = null;
|
|
891
964
|
/**
|
|
892
965
|
* Returns `true` if `experimentalRawTransfer` is option is supported.
|
|
@@ -924,7 +997,7 @@ function rawTransferRuntimeSupported() {
|
|
|
924
997
|
return !!match && match[1] * 1 >= 22;
|
|
925
998
|
}
|
|
926
999
|
//#endregion
|
|
927
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
1000
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.150.0/node_modules/oxc-parser/src-js/index.js
|
|
928
1001
|
const require = createRequire(import.meta.url);
|
|
929
1002
|
let parseSyncRaw = null;
|
|
930
1003
|
let parseRaw;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/stryker-js-vitest-runner",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
|
|
@@ -36,49 +36,49 @@
|
|
|
36
36
|
"@opentelemetry/exporter-trace-otlp-http": "^0.208.0",
|
|
37
37
|
"@opentelemetry/sdk-node": "^0.208.0",
|
|
38
38
|
"@opentelemetry/sdk-trace-base": "^2.2.0",
|
|
39
|
-
"@systemfsoftware/effect-cell-types": "^8"
|
|
39
|
+
"@systemfsoftware/effect-cell-types": "^8.3.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"effect": "4.0.0-rc.
|
|
42
|
+
"effect": "4.0.0-rc.116",
|
|
43
43
|
"vitest": ">=4.1.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@effect/platform-node": "4.0.0-rc.
|
|
47
|
-
"@effect/vitest": "4.0.0-rc.
|
|
46
|
+
"@effect/platform-node": "4.0.0-rc.116",
|
|
47
|
+
"@effect/vitest": "4.0.0-rc.116",
|
|
48
48
|
"@microsoft/api-extractor": "^7",
|
|
49
|
-
"@systemfsoftware/all": "^2",
|
|
50
|
-
"@systemfsoftware/arethetypeswrong-cli": "^4",
|
|
51
|
-
"@systemfsoftware/effect-gherkin-spec": "^4",
|
|
49
|
+
"@systemfsoftware/all": "^2.1.1",
|
|
50
|
+
"@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
|
|
51
|
+
"@systemfsoftware/effect-gherkin-spec": "^4.1.0",
|
|
52
52
|
"@systemfsoftware/stryker-ignorer-effect-schema-declarations": "latest",
|
|
53
53
|
"@systemfsoftware/stryker-ignorer-in-source-vitest-block": "latest",
|
|
54
54
|
"@systemfsoftware/stryker-js": "latest",
|
|
55
55
|
"@systemfsoftware/stryker-js-typescript-checker": "latest",
|
|
56
56
|
"@systemfsoftware/stryker-js-vitest-runner": "latest",
|
|
57
57
|
"@systemfsoftware/stryker-test-contribution": "latest",
|
|
58
|
-
"@systemfsoftware/tsconfig": "^1",
|
|
58
|
+
"@systemfsoftware/tsconfig": "^1.3.5",
|
|
59
59
|
"@types/node": "^24",
|
|
60
|
-
"@vitest/browser-playwright": "^
|
|
60
|
+
"@vitest/browser-playwright": "^5",
|
|
61
61
|
"concurrently": "^10",
|
|
62
|
-
"effect": "4.0.0-rc.
|
|
62
|
+
"effect": "4.0.0-rc.116",
|
|
63
63
|
"oxlint": "^1",
|
|
64
64
|
"rimraf": "^6.1.3",
|
|
65
65
|
"tsdown": "^0.23.0",
|
|
66
66
|
"typescript": "^7",
|
|
67
|
-
"vitest": "^
|
|
67
|
+
"vitest": "^5",
|
|
68
68
|
"@systemfsoftware/stryker-config": "^0.1.0",
|
|
69
69
|
"@systemfsoftware/stryker-js-instrumenter": "^8.0.0",
|
|
70
|
-
"@systemfsoftware/stryker-js-plugin-
|
|
70
|
+
"@systemfsoftware/stryker-js-plugin-interface": "^7.1.1",
|
|
71
|
+
"@systemfsoftware/stryker-js-plugin-runtime": "^5.0.3",
|
|
71
72
|
"@systemfsoftware/tsdown-config": "^0.1.0",
|
|
72
|
-
"@systemfsoftware/stryker-js-plugin-interface": "^6.0.1",
|
|
73
73
|
"@systemfsoftware/vitest-config": "^0.1.0"
|
|
74
74
|
},
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"provenance": true
|
|
77
77
|
},
|
|
78
78
|
"inlinedDependencies": {
|
|
79
|
-
"@effect/opentelemetry": "4.0.0-rc.
|
|
80
|
-
"@effect/platform-node": "4.0.0-rc.
|
|
81
|
-
"@effect/platform-node-shared": "4.0.0-rc.
|
|
79
|
+
"@effect/opentelemetry": "4.0.0-rc.116",
|
|
80
|
+
"@effect/platform-node": "4.0.0-rc.116",
|
|
81
|
+
"@effect/platform-node-shared": "4.0.0-rc.116",
|
|
82
82
|
"@eslint-community/regexpp": "4.12.2",
|
|
83
83
|
"@opentelemetry/api": "1.9.1",
|
|
84
84
|
"@opentelemetry/api-logs": "0.208.0",
|
|
@@ -87,21 +87,33 @@
|
|
|
87
87
|
"2.11.0",
|
|
88
88
|
"2.2.0"
|
|
89
89
|
],
|
|
90
|
+
"@opentelemetry/exporter-trace-otlp-http": "0.208.0",
|
|
91
|
+
"@opentelemetry/otlp-exporter-base": "0.208.0",
|
|
92
|
+
"@opentelemetry/otlp-transformer": "0.208.0",
|
|
90
93
|
"@opentelemetry/resources": [
|
|
91
94
|
"2.11.0",
|
|
92
95
|
"2.2.0"
|
|
93
96
|
],
|
|
94
97
|
"@opentelemetry/sdk-logs": "0.208.0",
|
|
95
98
|
"@opentelemetry/sdk-metrics": "2.2.0",
|
|
99
|
+
"@opentelemetry/sdk-trace": "2.11.0",
|
|
100
|
+
"@opentelemetry/sdk-trace-base": [
|
|
101
|
+
"2.11.0",
|
|
102
|
+
"2.2.0"
|
|
103
|
+
],
|
|
96
104
|
"@opentelemetry/sdk-trace-node": "2.2.0",
|
|
97
105
|
"@opentelemetry/semantic-conventions": "1.43.0",
|
|
98
|
-
"@
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
106
|
+
"@protobufjs/aspromise": "1.1.2",
|
|
107
|
+
"@protobufjs/base64": "1.1.2",
|
|
108
|
+
"@protobufjs/eventemitter": "1.1.1",
|
|
109
|
+
"@protobufjs/float": "1.0.2",
|
|
110
|
+
"@protobufjs/pool": "1.1.0",
|
|
111
|
+
"@protobufjs/utf8": "1.1.2",
|
|
112
|
+
"@systemfsoftware/effect-cell-types": "8.3.1",
|
|
113
|
+
"effect": "4.0.0-rc.116",
|
|
114
|
+
"long": "5.3.2",
|
|
115
|
+
"oxc-parser": "0.150.0",
|
|
116
|
+
"protobufjs": "7.6.6",
|
|
105
117
|
"ws": "8.21.3"
|
|
106
118
|
},
|
|
107
119
|
"scripts": {
|