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