Update deps

This commit is contained in:
Kalle
2026-10-30 17:18:10 +02:00
parent c0bfed4ef8
commit bd9fbc74ae
30 changed files with 945 additions and 579 deletions

View File

@@ -131,7 +131,7 @@ export function documentEnvVars(): EnvVar[] {
const names = [
...examples.keys(),
...schemas.keys(),
...[...reads.keys()].sort(),
...[...reads.keys()].sort((a, b) => a.localeCompare(b)),
];
return [...new Set(names)].map((name) => {

View File

@@ -264,7 +264,9 @@ function assignObjects(grants: PermissionGrant[]) {
}
function namesOf(grants: PermissionGrant[]) {
return [...new Set(grants.map((grant) => grant.name))].sort().join(",");
return [...new Set(grants.map((grant) => grant.name))]
.sort((a, b) => a.localeCompare(b))
.join(",");
}
/**

View File

@@ -69,7 +69,9 @@ async function publish() {
if (entry?.specHash === specHash) {
manifest[dir] = {
specHash,
files: [...new Set([...entry.files, ...files])].sort(),
files: [...new Set([...entry.files, ...files])].sort((a, b) =>
a.localeCompare(b),
),
};
} else {
manifest[dir] = { specHash, files };

View File

@@ -82,6 +82,6 @@ export function documentRepository(
exported.calls.map((call) => call.repository),
),
),
].sort(),
].sort((a, b) => a.localeCompare(b)),
};
}

View File

@@ -120,7 +120,7 @@ const languages = [
.filter((f) => f.endsWith("_full.json"))
.map((f) => f.replace("_full.json", "")),
),
].sort();
].sort((a, b) => a.localeCompare(b));
if (!languages.includes(CANONICAL_LANG)) {
throw new Error(
`canonical language ${CANONICAL_LANG} not found in ${LANG_DIR}`,