@stll/oxlint-config 1.2.1 → 1.2.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.
@@ -1030,6 +1030,14 @@ const setupRuntimeVersions = (snapshot) => {
1030
1030
  if (!changedRecord(value) || typeof value["uses"] !== "string") return;
1031
1031
  const action = value["uses"].split("@").at(0)?.toLowerCase();
1032
1032
  let runtime = /(?:^|\/)setup-([^/]+)$/.exec(action ?? "")?.[1];
1033
+ const wrapped = [
1034
+ "bun",
1035
+ "node",
1036
+ "python",
1037
+ "go",
1038
+ "java"
1039
+ ].find((candidate) => runtime?.startsWith(`${candidate}-`));
1040
+ if (wrapped !== void 0) runtime = wrapped;
1033
1041
  if (action === "dtolnay/rust-toolchain") runtime = "rust";
1034
1042
  if (runtime === void 0) return;
1035
1043
  const raw = value["with"];