* 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]>
59 lines
1.5 KiB
JavaScript
59 lines
1.5 KiB
JavaScript
"use strict";
|
|
exports.id = 605;
|
|
exports.ids = [605];
|
|
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
|
|
|
|
/***/ }),
|
|
|
|
/***/ 82605:
|
|
/***/ ((__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 fs_1 = __webpack_require__(57147);
|
|
const execAsync_1 = __webpack_require__(70055);
|
|
const api_1 = __webpack_require__(65163);
|
|
async function getMachineId() {
|
|
try {
|
|
const result = await fs_1.promises.readFile('/etc/hostid', { encoding: 'utf8' });
|
|
return result.trim();
|
|
}
|
|
catch (e) {
|
|
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
}
|
|
try {
|
|
const result = await (0, execAsync_1.execAsync)('kenv -q smbios.system.uuid');
|
|
return result.stdout.trim();
|
|
}
|
|
catch (e) {
|
|
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
}
|
|
return undefined;
|
|
}
|
|
exports.getMachineId = getMachineId;
|
|
//# sourceMappingURL=getMachineId-bsd.js.map
|
|
|
|
/***/ })
|
|
|
|
};
|
|
; |