* fix(deps): bump @sentry/node to 10.71.0 Co-Authored-By: Claude <[email protected]> * Fail verify-dist on untracked files in dist/ --------- Co-authored-by: Claude <[email protected]>
60 lines
1.6 KiB
JavaScript
60 lines
1.6 KiB
JavaScript
"use strict";
|
|
exports.id = 937;
|
|
exports.ids = [937];
|
|
exports.modules = {
|
|
|
|
/***/ 70055:
|
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
|
|
|
|
/*
|
|
* Copyright The OpenTelemetry Authors
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
exports.execAsync = void 0;
|
|
const child_process = __webpack_require__(32081);
|
|
const util = __webpack_require__(73837);
|
|
exports.execAsync = util.promisify(child_process.exec);
|
|
//# sourceMappingURL=execAsync.js.map
|
|
|
|
/***/ }),
|
|
|
|
/***/ 29937:
|
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
|
|
|
|
/*
|
|
* Copyright The OpenTelemetry Authors
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
exports.getMachineId = void 0;
|
|
const process = __webpack_require__(77282);
|
|
const execAsync_1 = __webpack_require__(70055);
|
|
const api_1 = __webpack_require__(65163);
|
|
async function getMachineId() {
|
|
const args = 'QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid';
|
|
let command = '%windir%\\System32\\REG.exe';
|
|
if (process.arch === 'ia32' && 'PROCESSOR_ARCHITEW6432' in process.env) {
|
|
command = '%windir%\\sysnative\\cmd.exe /c ' + command;
|
|
}
|
|
try {
|
|
const result = await (0, execAsync_1.execAsync)(`${command} ${args}`);
|
|
const parts = result.stdout.split('REG_SZ');
|
|
if (parts.length === 2) {
|
|
return parts[1].trim();
|
|
}
|
|
}
|
|
catch (e) {
|
|
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
}
|
|
return undefined;
|
|
}
|
|
exports.getMachineId = getMachineId;
|
|
//# sourceMappingURL=getMachineId-win.js.map
|
|
|
|
/***/ })
|
|
|
|
};
|
|
; |