@systemfsoftware/stryker-js-vitest-runner 7.0.0 → 7.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.
@@ -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.140.0/node_modules/oxc-parser/src-js/bindings.js
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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.140.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.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
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
- nativeBinding = requireNative();
442
- const forceWasi = process.env.NAPI_RS_FORCE_WASI === "true" || process.env.NAPI_RS_FORCE_WASI === "error";
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 wasiBindingError = null;
446
- try {
447
- wasiBinding = require$1("./parser.wasi.cjs");
448
- nativeBinding = wasiBinding;
449
- } catch (err) {
450
- if (forceWasi) wasiBindingError = err;
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 (!nativeBinding || forceWasi) try {
453
- wasiBinding = require$1("@oxc-parser/binding-wasm32-wasi");
454
- nativeBinding = wasiBinding;
455
- } catch (err) {
456
- if (forceWasi) {
457
- if (!wasiBindingError) wasiBindingError = err;
458
- else wasiBindingError.cause = err;
459
- loadErrors.push(err);
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 (process.env.NAPI_RS_FORCE_WASI === "error" && !wasiBinding) {
463
- const error = /* @__PURE__ */ new Error("WASI binding not found and NAPI_RS_FORCE_WASI is set to error");
464
- error.cause = wasiBindingError;
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.reduce((err, cur) => {
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.140.0/node_modules/oxc-parser/src-js/wrap.js
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.140.0/node_modules/oxc-parser/src-js/generated/visit/keys.js
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.140.0/node_modules/oxc-parser/src-js/visit/index.js
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.140.0/node_modules/oxc-parser/src-js/raw-transfer/supported.js
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.140.0/node_modules/oxc-parser/src-js/index.js
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;
@@ -13,7 +13,7 @@ if (mode === "mutant") {
13
13
  else beforeAll(() => {
14
14
  ns.activeMutant = inject("activeMutant");
15
15
  });
16
- afterAll((_context, suite) => {
16
+ afterAll(({}, suite) => {
17
17
  suite.meta.hitCount = ns.hitCount;
18
18
  });
19
19
  } else {
@@ -24,7 +24,7 @@ if (mode === "mutant") {
24
24
  afterEach(() => {
25
25
  ns.currentTestId = void 0;
26
26
  });
27
- afterAll((_context, suite) => {
27
+ afterAll(({}, suite) => {
28
28
  suite.meta.mutantCoverage = ns.mutantCoverage;
29
29
  });
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js-vitest-runner",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
@@ -33,75 +33,70 @@
33
33
  "coverageAnalysis": "perTest"
34
34
  },
35
35
  "dependencies": {
36
- "@opentelemetry/exporter-trace-otlp-http": "^0.208.0",
37
- "@opentelemetry/sdk-node": "^0.208.0",
36
+ "@opentelemetry/exporter-trace-otlp-http": "^0.222.0",
37
+ "@opentelemetry/sdk-node": "^0.222.0",
38
38
  "@opentelemetry/sdk-trace-base": "^2.2.0",
39
- "@systemfsoftware/effect-cell-types": "^8"
39
+ "@systemfsoftware/effect-cell-types": "^8.3.2"
40
40
  },
41
41
  "peerDependencies": {
42
- "effect": "4.0.0-rc.112",
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.112",
47
- "@effect/vitest": "4.0.0-rc.112",
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/arethetypeswrong-cli": "^4.2.0",
50
+ "@systemfsoftware/effect-gherkin-spec": "^4.2.1",
51
+ "@systemfsoftware/oxlint-config-recommended": "^1.0.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.6",
59
59
  "@types/node": "^24",
60
- "@vitest/browser-playwright": "^4",
60
+ "@vitest/browser-playwright": "^5",
61
61
  "concurrently": "^10",
62
- "effect": "4.0.0-rc.112",
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": "^4",
67
+ "vitest": "^5",
68
68
  "@systemfsoftware/stryker-config": "^0.1.0",
69
- "@systemfsoftware/stryker-js-instrumenter": "^8.0.0",
70
- "@systemfsoftware/stryker-js-plugin-runtime": "^5.0.1",
69
+ "@systemfsoftware/stryker-js-instrumenter": "^8.0.1",
70
+ "@systemfsoftware/stryker-js-plugin-interface": "^7.2.0",
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.112",
80
- "@effect/platform-node": "4.0.0-rc.112",
81
- "@effect/platform-node-shared": "4.0.0-rc.112",
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
- "@opentelemetry/api-logs": "0.208.0",
85
- "@opentelemetry/context-async-hooks": "2.2.0",
86
- "@opentelemetry/core": [
87
- "2.11.0",
88
- "2.2.0"
89
- ],
90
- "@opentelemetry/resources": [
91
- "2.11.0",
92
- "2.2.0"
93
- ],
94
- "@opentelemetry/sdk-logs": "0.208.0",
95
- "@opentelemetry/sdk-metrics": "2.2.0",
96
- "@opentelemetry/sdk-trace-node": "2.2.0",
84
+ "@opentelemetry/api-logs": "0.222.0",
85
+ "@opentelemetry/context-async-hooks": "2.11.0",
86
+ "@opentelemetry/core": "2.11.0",
87
+ "@opentelemetry/exporter-trace-otlp-http": "0.222.0",
88
+ "@opentelemetry/otlp-exporter-base": "0.222.0",
89
+ "@opentelemetry/otlp-transformer": "0.222.0",
90
+ "@opentelemetry/resources": "2.11.0",
91
+ "@opentelemetry/sdk-logs": "0.222.0",
92
+ "@opentelemetry/sdk-metrics": "2.11.0",
93
+ "@opentelemetry/sdk-trace": "2.11.0",
94
+ "@opentelemetry/sdk-trace-base": "2.11.0",
95
+ "@opentelemetry/sdk-trace-node": "2.11.0",
97
96
  "@opentelemetry/semantic-conventions": "1.43.0",
98
- "@systemfsoftware/effect-cell-types": "8.1.0",
99
- "detect-libc": "2.1.2",
100
- "effect": "4.0.0-rc.112",
101
- "msgpackr": "2.1.0",
102
- "msgpackr-extract": "3.0.4",
103
- "node-gyp-build-optional-packages": "5.2.2",
104
- "oxc-parser": "0.140.0",
97
+ "@systemfsoftware/effect-cell-types": "8.3.2",
98
+ "effect": "4.0.0-rc.116",
99
+ "oxc-parser": "0.150.0",
105
100
  "ws": "8.21.3"
106
101
  },
107
102
  "scripts": {
@@ -1,10 +0,0 @@
1
- import { i as __require, r as __commonJSMin } from "./main.mjs";
2
- //#region ../../node_modules/.pnpm/@opentelemetry+resources@2.2.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/execAsync.js
3
- var require_execAsync = /* @__PURE__ */ __commonJSMin(((exports) => {
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.execAsync = void 0;
6
- const child_process = __require("child_process");
7
- exports.execAsync = __require("util").promisify(child_process.exec);
8
- }));
9
- //#endregion
10
- export { require_execAsync as t };
@@ -1,26 +0,0 @@
1
- import { a as __toCommonJS, i as __require, n as init_esm, r as __commonJSMin, t as esm_exports } from "./main.mjs";
2
- import { t as require_execAsync } from "./execAsync-CUNMu62l.mjs";
3
- //#region ../../node_modules/.pnpm/@opentelemetry+resources@2.2.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js
4
- var require_getMachineId_bsd = /* @__PURE__ */ __commonJSMin(((exports) => {
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getMachineId = void 0;
7
- const fs_1 = __require("fs");
8
- const execAsync_1 = require_execAsync();
9
- const api_1 = (init_esm(), __toCommonJS(esm_exports));
10
- async function getMachineId() {
11
- try {
12
- return (await fs_1.promises.readFile("/etc/hostid", { encoding: "utf8" })).trim();
13
- } catch (e) {
14
- api_1.diag.debug(`error reading machine id: ${e}`);
15
- }
16
- try {
17
- return (await (0, execAsync_1.execAsync)("kenv -q smbios.system.uuid")).stdout.trim();
18
- } catch (e) {
19
- api_1.diag.debug(`error reading machine id: ${e}`);
20
- }
21
- }
22
- exports.getMachineId = getMachineId;
23
- }));
24
- //#endregion
25
- export default require_getMachineId_bsd();
26
- export {};
@@ -1,23 +0,0 @@
1
- import { a as __toCommonJS, n as init_esm, r as __commonJSMin, t as esm_exports } from "./main.mjs";
2
- import { t as require_execAsync } from "./execAsync-CUNMu62l.mjs";
3
- //#region ../../node_modules/.pnpm/@opentelemetry+resources@2.2.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
4
- var require_getMachineId_darwin = /* @__PURE__ */ __commonJSMin(((exports) => {
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getMachineId = void 0;
7
- const execAsync_1 = require_execAsync();
8
- const api_1 = (init_esm(), __toCommonJS(esm_exports));
9
- async function getMachineId() {
10
- try {
11
- const idLine = (await (0, execAsync_1.execAsync)("ioreg -rd1 -c \"IOPlatformExpertDevice\"")).stdout.split("\n").find((line) => line.includes("IOPlatformUUID"));
12
- if (!idLine) return;
13
- const parts = idLine.split("\" = \"");
14
- if (parts.length === 2) return parts[1].slice(0, -1);
15
- } catch (e) {
16
- api_1.diag.debug(`error reading machine id: ${e}`);
17
- }
18
- }
19
- exports.getMachineId = getMachineId;
20
- }));
21
- //#endregion
22
- export default require_getMachineId_darwin();
23
- export {};