Skip to content

Commit 45146d6

Browse files
authored
Merge pull request #227 from detsys-pr-bot/detsys-ts-update-437297ec87a5c62fd90edb905eae44ab173d2aa4
Update `detsys-ts`: Update main and types fields in package.json (#119)
2 parents 0171c83 + 2026d24 commit 45146d6

File tree

2 files changed

+48
-13
lines changed

2 files changed

+48
-13
lines changed

dist/index.js

Lines changed: 44 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86339,15 +86339,20 @@ var __webpack_exports__ = {};
8633986339
var core = __nccwpck_require__(16966);
8634086340
// EXTERNAL MODULE: ./node_modules/.pnpm/@[email protected]/node_modules/@actions/exec/lib/exec.js
8634186341
var exec = __nccwpck_require__(92851);
86342-
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+0e3d1accf3c5d_aa38a39e788116141d1cc07d19597dcf/node_modules/detsys-ts/dist/chunk-Bp6m_JJh.js
86342+
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+437297ec87a5c_f77ae93d0b8e94959106721d1a5ddd76/node_modules/detsys-ts/dist/chunk-C6wwvPpM.mjs
8634386343
//#region rolldown:runtime
8634486344
var __defProp = Object.defineProperty;
86345-
var __export = (all) => {
86345+
var __export = (all, symbols) => {
8634686346
let target = {};
86347-
for (var name in all) __defProp(target, name, {
86348-
get: all[name],
86349-
enumerable: true
86350-
});
86347+
for (var name in all) {
86348+
__defProp(target, name, {
86349+
get: all[name],
86350+
enumerable: true
86351+
});
86352+
}
86353+
if (symbols) {
86354+
__defProp(target, Symbol.toStringTag, { value: "Module" });
86355+
}
8635186356
return target;
8635286357
};
8635386358

@@ -95467,7 +95472,7 @@ var cache = __nccwpck_require__(31866);
9546795472
const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:child_process");
9546895473
;// CONCATENATED MODULE: external "node:path"
9546995474
const external_node_path_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:path");
95470-
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+0e3d1accf3c5d_aa38a39e788116141d1cc07d19597dcf/node_modules/detsys-ts/dist/index.js
95475+
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+437297ec87a5c_f77ae93d0b8e94959106721d1a5ddd76/node_modules/detsys-ts/dist/index.mjs
9547195476

9547295477

9547395478

@@ -95487,6 +95492,16 @@ const external_node_path_namespaceObject = __WEBPACK_EXTERNAL_createRequire(impo
9548795492

9548895493

9548995494
//#region src/linux-release-info.ts
95495+
/*!
95496+
* linux-release-info
95497+
* Get Linux release info (distribution name, version, arch, release, etc.)
95498+
* from '/etc/os-release' or '/usr/lib/os-release' files and from native os
95499+
* module. On Windows and Darwin platforms it only returns common node os module
95500+
* info (platform, hostname, release, and arch)
95501+
*
95502+
* Licensed under MIT
95503+
* Copyright (c) 2018-2020 [Samuel Carreira]
95504+
*/
9549095505
const readFileAsync = (0,external_node_util_.promisify)(external_node_fs_.readFile);
9549195506
const linuxReleaseInfoOptionsDefaults = {
9549295507
mode: "async",
@@ -95695,6 +95710,10 @@ function stringifyError(e) {
9569595710

9569695711
//#endregion
9569795712
//#region src/backtrace.ts
95713+
/**
95714+
* @packageDocumentation
95715+
* Collects backtraces for executables for diagnostics
95716+
*/
9569895717
const START_SLOP_SECONDS = 5;
9569995718
async function collectBacktraces(prefixes, programNameDenyList, startTimestampMs) {
9570095719
if (isMacOS) return await collectBacktracesMacOS(prefixes, programNameDenyList, startTimestampMs);
@@ -95875,6 +95894,10 @@ function hashEnvironmentVariables(prefix, variables) {
9587595894

9587695895
//#endregion
9587795896
//#region src/ids-host.ts
95897+
/**
95898+
* @packageDocumentation
95899+
* Identifies and discovers backend servers for install.determinate.systems
95900+
*/
9587895901
const DEFAULT_LOOKUP = "_detsys_ids._tcp.install.determinate.systems.";
9587995902
const ALLOWED_SUFFIXES = [".install.determinate.systems", ".install.detsys.dev"];
9588095903
const DEFAULT_IDS_HOST = "https://install.determinate.systems";
@@ -96036,6 +96059,10 @@ function weightedRandom(records) {
9603696059

9603796060
//#endregion
9603896061
//#region src/inputs.ts
96062+
/**
96063+
* @packageDocumentation
96064+
* Helpers for getting values from an Action's configuration.
96065+
*/
9603996066
var inputs_exports = /* @__PURE__ */ __export({
9604096067
getArrayOfStrings: () => getArrayOfStrings,
9604196068
getArrayOfStringsOrNull: () => getArrayOfStringsOrNull,
@@ -96123,6 +96150,10 @@ const getStringOrUndefined = (name) => {
9612396150

9612496151
//#endregion
9612596152
//#region src/platform.ts
96153+
/**
96154+
* @packageDocumentation
96155+
* Helpers for determining system attributes of the current runner.
96156+
*/
9612696157
var platform_exports = /* @__PURE__ */ __export({
9612796158
getArchOs: () => getArchOs,
9612896159
getNixPlatform: () => getNixPlatform
@@ -96183,6 +96214,10 @@ function noisilyGetInput(suffix, legacyPrefix) {
9618396214

9618496215
//#endregion
9618596216
//#region src/index.ts
96217+
/**
96218+
* @packageDocumentation
96219+
* Determinate Systems' TypeScript library for creating GitHub Actions logic.
96220+
*/
9618696221
const pkgVersion = "1.0";
9618796222
const EVENT_BACKTRACES = "backtrace";
9618896223
const EVENT_EXCEPTION = "exception";
@@ -96218,7 +96253,7 @@ const PROGRAM_NAME_CRASH_DENY_LIST = [
9621896253
];
9621996254
const determinateStateDir = "/var/lib/determinate";
9622096255
const determinateIdentityFile = external_node_path_namespaceObject.join(determinateStateDir, "identity.json");
96221-
const isRoot = external_node_os_.userInfo().uid === 0;
96256+
const isRoot = typeof process.geteuid === "function" && process.geteuid() === 0;
9622296257
/** Create the Determinate state directory by escalating via sudo */
9622396258
async function sudoEnsureDeterminateStateDir() {
9622496259
const code = await exec.exec("sudo", [
@@ -96815,7 +96850,7 @@ function makeOptionsConfident(actionOptions) {
9681596850

9681696851
//#endregion
9681796852

96818-
//# sourceMappingURL=index.js.map
96853+
//# sourceMappingURL=index.mjs.map
9681996854
;// CONCATENATED MODULE: ./dist/index.js
9682096855
// src/nix.ts
9682196856
function makeNixCommandArgs(nixOptions, flakeInputs, commitMessage) {

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)