@stll/oxlint-config 1.2.1 → 1.2.3

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.2.1";
16
+ const consumerRunnerVersion = "1.2.3";
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.2.1";
13
+ const consumerRunnerVersion = "1.2.3";
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) => {
@@ -42,7 +42,19 @@ apt_install() (
42
42
  policy_state=installed
43
43
  printf '%s\n' '#!/bin/sh' 'exit 101' > /usr/sbin/policy-rc.d
44
44
  chmod 755 /usr/sbin/policy-rc.d
45
- DEBIAN_FRONTEND=noninteractive apt_network install -y --no-install-recommends "$@"
45
+ local package
46
+ for package in "$@"; do
47
+ if [[ "$package" == */* ]]; then
48
+ # apt cannot fetch local archives with --download-only; their installs stay
49
+ # bounded as a whole (dependencies are normally present already).
50
+ DEBIAN_FRONTEND=noninteractive apt_network install -y --no-install-recommends "$@"
51
+ return
52
+ fi
53
+ done
54
+ # The network deadline covers downloads only; unpacking and maintainer scripts
55
+ # (for example locale generation or cluster creation) run offline afterwards.
56
+ DEBIAN_FRONTEND=noninteractive apt_network install -y --no-install-recommends --download-only "$@"
57
+ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-download "$@"
46
58
  )
47
59
 
48
60
  `;