@stll/oxlint-config 1.2.3 → 1.2.4
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/dist/toolchain-guard.cjs
CHANGED
|
@@ -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.2.
|
|
16
|
+
const consumerRunnerVersion = "1.2.4";
|
|
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) => {
|
package/dist/toolchain-guard.mjs
CHANGED
|
@@ -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.2.
|
|
13
|
+
const consumerRunnerVersion = "1.2.4";
|
|
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) => {
|
|
@@ -45,9 +45,11 @@ apt_install() (
|
|
|
45
45
|
local package
|
|
46
46
|
for package in "$@"; do
|
|
47
47
|
if [[ "$package" == */* ]]; then
|
|
48
|
-
# apt cannot fetch local archives with --download-only
|
|
49
|
-
#
|
|
50
|
-
|
|
48
|
+
# apt cannot fetch local archives with --download-only, so their installs
|
|
49
|
+
# stay one call. Package triggers can be slow on cloud filesystems; the
|
|
50
|
+
# longer whole-call deadline covers them while Acquire timeouts still
|
|
51
|
+
# bound each network request.
|
|
52
|
+
APT_DEADLINE=600 DEBIAN_FRONTEND=noninteractive apt_network install -y --no-install-recommends "$@"
|
|
51
53
|
return
|
|
52
54
|
fi
|
|
53
55
|
done
|
|
@@ -308,7 +310,8 @@ apt_network() {
|
|
|
308
310
|
# --print-uris reads configured indexes without contacting their servers.
|
|
309
311
|
hosts="$(set -o pipefail; apt-get --print-uris update | awk -F/ '/^\047https?:\/\// { host=$3; sub(/.*@/, "", host); if (!seen[host]++) { printf "%s%s", separator, host; separator="," } }')" || return "$?"
|
|
310
312
|
[[ -n "$hosts" ]] || hosts='configured APT hosts'
|
|
311
|
-
|
|
313
|
+
# APT_DEADLINE: whole-call seconds; callers that also unpack packages may extend it.
|
|
314
|
+
network_run "$hosts" "${"$"}{APT_DEADLINE:-180}" apt-get -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::Retries=3 -o APT::Update::Error-Mode=any "$@"
|
|
312
315
|
}
|
|
313
316
|
apt_refresh_for() {
|
|
314
317
|
# Skip the refresh only when the install downloads nothing: then no package
|