@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.
- package/CHANGELOG.md +16 -0
- package/dist/main.mjs +15047 -13364
- package/dist/{src-js-DRK8boNV.mjs → src-js-CvBdbRpe.mjs} +129 -56
- package/dist/stryker-setup.mjs +2 -2
- package/package.json +35 -40
- package/dist/execAsync-CUNMu62l.mjs +0 -10
- package/dist/getMachineId-bsd-DEwG9Ywj.mjs +0 -26
- package/dist/getMachineId-darwin-K9sCO4zL.mjs +0 -23
- package/dist/getMachineId-linux-B4KmiJGj.mjs +0 -19
- package/dist/getMachineId-unsupported-Dqj1BWmV.mjs +0 -14
- package/dist/getMachineId-win-tvSIkbRI.mjs +0 -25
|
@@ -1,19 +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
|
-
//#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-linux.js
|
|
3
|
-
var require_getMachineId_linux = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getMachineId = void 0;
|
|
6
|
-
const fs_1 = __require("fs");
|
|
7
|
-
const api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
8
|
-
async function getMachineId() {
|
|
9
|
-
for (const path of ["/etc/machine-id", "/var/lib/dbus/machine-id"]) try {
|
|
10
|
-
return (await fs_1.promises.readFile(path, { encoding: "utf8" })).trim();
|
|
11
|
-
} catch (e) {
|
|
12
|
-
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
exports.getMachineId = getMachineId;
|
|
16
|
-
}));
|
|
17
|
-
//#endregion
|
|
18
|
-
export default require_getMachineId_linux();
|
|
19
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { a as __toCommonJS, n as init_esm, r as __commonJSMin, t as esm_exports } 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/getMachineId-unsupported.js
|
|
3
|
-
var require_getMachineId_unsupported = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getMachineId = void 0;
|
|
6
|
-
const api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
7
|
-
async function getMachineId() {
|
|
8
|
-
api_1.diag.debug("could not read machine-id: unsupported platform");
|
|
9
|
-
}
|
|
10
|
-
exports.getMachineId = getMachineId;
|
|
11
|
-
}));
|
|
12
|
-
//#endregion
|
|
13
|
-
export default require_getMachineId_unsupported();
|
|
14
|
-
export {};
|
|
@@ -1,25 +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-win.js
|
|
4
|
-
var require_getMachineId_win = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getMachineId = void 0;
|
|
7
|
-
const process = __require("process");
|
|
8
|
-
const execAsync_1 = require_execAsync();
|
|
9
|
-
const api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
10
|
-
async function getMachineId() {
|
|
11
|
-
const args = "QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid";
|
|
12
|
-
let command = "%windir%\\System32\\REG.exe";
|
|
13
|
-
if (process.arch === "ia32" && "PROCESSOR_ARCHITEW6432" in process.env) command = "%windir%\\sysnative\\cmd.exe /c " + command;
|
|
14
|
-
try {
|
|
15
|
-
const parts = (await (0, execAsync_1.execAsync)(`${command} ${args}`)).stdout.split("REG_SZ");
|
|
16
|
-
if (parts.length === 2) return parts[1].trim();
|
|
17
|
-
} catch (e) {
|
|
18
|
-
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.getMachineId = getMachineId;
|
|
22
|
-
}));
|
|
23
|
-
//#endregion
|
|
24
|
-
export default require_getMachineId_win();
|
|
25
|
-
export {};
|