@stll/oxlint-config 1.0.1 → 1.0.2
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/consumer-compat-cli.cjs +1 -1
- package/dist/consumer-compat-cli.mjs +1 -1
- package/dist/git-tracked-output.cjs +46 -0
- package/dist/git-tracked-output.cjs.map +1 -0
- package/dist/git-tracked-output.mjs +39 -0
- package/dist/git-tracked-output.mjs.map +1 -0
- package/dist/publish-contract-cli.cjs +3 -5
- package/dist/publish-contract-cli.cjs.map +1 -1
- package/dist/publish-contract-cli.mjs +2 -4
- package/dist/publish-contract-cli.mjs.map +1 -1
- package/dist/toolchain-guard.cjs +3 -10
- package/dist/toolchain-guard.cjs.map +1 -1
- package/dist/toolchain-guard.mjs +3 -10
- package/dist/toolchain-guard.mjs.map +1 -1
- package/dist/typecheck-parity.cjs +1 -1
- package/dist/typecheck-parity.mjs +1 -1
- package/package.json +1 -1
package/dist/toolchain-guard.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as nodeSelectorMatches, a as isPythonDependencyManifest, c as pythonDependencyManifestKind, d as isComposeDefinitionPath, f as isKubernetesDefinitionPath, h as generateCloudSetup, i as isMiseConfigPath, l as toolchainInputKind, m as cloudSetupPath, n as isDependabotGithubActionsPath, o as isShellScript, p as workspaceContains, r as isDockerDefinitionPath, s as javascriptDependencyLockfiles, t as githubAutomationFileKind, u as containerDocumentImages, v as nodeSupportRangeMatches, y as parseCloudSetup } from "./toolchain-inputs.mjs";
|
|
2
|
+
import { t as readGitTrackedOutput } from "./git-tracked-output.mjs";
|
|
2
3
|
import { _ as parseConsumerFixtures, d as consumerPackageClosure, g as discoverConsumerPackages, i as assertConsumerFixtureKind, n as assertConsumerNodeSupport, o as assertConsumerFixtureSelection } from "./toolchain-schema.mjs";
|
|
3
4
|
import { closeSync, lstatSync, openSync, readFileSync, readSync, realpathSync } from "node:fs";
|
|
4
5
|
import { execFileSync } from "node:child_process";
|
|
@@ -9,7 +10,7 @@ import picomatch from "picomatch";
|
|
|
9
10
|
import { parse as parse$2 } from "smol-toml";
|
|
10
11
|
//#endregion
|
|
11
12
|
//#region src/toolchain-consumer-checks.ts
|
|
12
|
-
const consumerRunnerVersion = "1.0.
|
|
13
|
+
const consumerRunnerVersion = "1.0.2";
|
|
13
14
|
const consumerCheckWorkflow = "stella/.github/.github/workflows/package-consumer-compat.yml";
|
|
14
15
|
const record$7 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
15
16
|
const repositoryDirectory = (value) => typeof value === "string" && value !== "" && !value.includes("\\") && !value.includes("${{") && !value.split("").some((character) => {
|
|
@@ -3246,15 +3247,7 @@ const parseToolchainConfiguration = (input) => {
|
|
|
3246
3247
|
/** Read one tracked configuration snapshot for guards and policy generation. */
|
|
3247
3248
|
const readToolchainInputs = (root) => {
|
|
3248
3249
|
const diagnostics = [];
|
|
3249
|
-
const tracked =
|
|
3250
|
-
"ls-files",
|
|
3251
|
-
"-z",
|
|
3252
|
-
"--cached",
|
|
3253
|
-
"--stage"
|
|
3254
|
-
], {
|
|
3255
|
-
cwd: root,
|
|
3256
|
-
encoding: "utf8"
|
|
3257
|
-
}).split("\0").filter((entry) => entry !== "" && !entry.startsWith("160000 ")).map((entry) => entry.slice(entry.indexOf(" ") + 1));
|
|
3250
|
+
const tracked = readGitTrackedOutput(root, "staged").split("\0").filter((entry) => entry !== "" && !entry.startsWith("160000 ")).map((entry) => entry.slice(entry.indexOf(" ") + 1));
|
|
3258
3251
|
const files = {};
|
|
3259
3252
|
const trackedFiles = new Set(tracked);
|
|
3260
3253
|
const resolvedRoot = realpathSync(root);
|