@stll/oxlint-config 1.3.0 → 1.3.1

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.
@@ -13,7 +13,7 @@ let picomatch = require("picomatch");
13
13
  picomatch = require_rolldown_runtime.__toESM(picomatch, 1);
14
14
  //#endregion
15
15
  //#region src/toolchain-consumer-checks.ts
16
- const consumerRunnerVersion = "1.3.0";
16
+ const consumerRunnerVersion = "1.3.1";
17
17
  const consumerCheckWorkflow = "stella/.github/.github/workflows/package-consumer-compat.yml";
18
18
  const record$7 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
19
19
  const repositoryDirectory = (value) => typeof value === "string" && value !== "" && !value.includes("\\") && !value.includes("${{") && !value.split("").some((character) => {
@@ -10,7 +10,7 @@ import { LineCounter, isAlias, isMap, isNode, isScalar, isSeq, parseAllDocuments
10
10
  import picomatch from "picomatch";
11
11
  //#endregion
12
12
  //#region src/toolchain-consumer-checks.ts
13
- const consumerRunnerVersion = "1.3.0";
13
+ const consumerRunnerVersion = "1.3.1";
14
14
  const consumerCheckWorkflow = "stella/.github/.github/workflows/package-consumer-compat.yml";
15
15
  const record$7 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
16
16
  const repositoryDirectory = (value) => typeof value === "string" && value !== "" && !value.includes("\\") && !value.includes("${{") && !value.split("").some((character) => {
@@ -1089,7 +1089,15 @@ OUTPUT_USER="$(getent passwd "$OUTPUT_UID" | cut -d: -f1)"
1089
1089
  OUTPUT_HOME="$(getent passwd "$OUTPUT_UID" | cut -d: -f6)"
1090
1090
  [[ -n "$OUTPUT_USER" && "$OUTPUT_HOME" == /* && -d "$OUTPUT_HOME" ]] || fail 'Invoking user requires an existing home directory'
1091
1091
  root() { "$@"; }
1092
- service_run() { runuser -u stll-cloud -- "$@" 9>&-; }
1092
+ # Service daemons outlive setup, so they inherit no descriptor beyond stdio: a cloud
1093
+ # runner can pass its terminal as extra descriptors and wait until every copy closes.
1094
+ service_run() (
1095
+ for descriptor in "/proc/$BASHPID/fd/"*; do
1096
+ descriptor="$(basename -- "$descriptor")"
1097
+ if [[ "$descriptor" =~ ^[0-9]+$ ]] && (( descriptor > 2 )); then eval "exec $descriptor>&-"; fi
1098
+ done
1099
+ exec runuser -u stll-cloud -- "$@"
1100
+ )
1093
1101
  BUN_VERSION='@BUN@'
1094
1102
  NODE_VERSION='@NODE@'
1095
1103
  NODE_DIR="/opt/stll-cloud/node/$NODE_VERSION"