chore(deps): update dependencies to latest majors

- Bump 75 catalog entries + lockfile to latest versions
- Add node-fetch as explicit dep (was hoisted from k8s client v1)
- Cap @babel runtime/helpers override to <8 to fix docs build
- Fix board-static-graph benchmark parser for babel v8 (jsx plugin only for tsx)
- Fix backup export Buffer typing for @types/node v26
- Update homarr-dev Go deps
- minimumReleaseAge 0 to permit bulk update
This commit is contained in:
Thomas Camlong committed 2026-08-15 13:16:43 +02:00
1 parent 9a5ea40ef0
commit 53f97f4b50
9 files changed
+4891 -6111

No files matched your search

+5 -1
View File
@@ -5,7 +5,11 @@ import { parse } from "@babel/parser";
export const getRuntimeModuleSpecifiers = (sourceText: string, fileName: string) => {
try {
const ast = parse(sourceText, { sourceFilename: fileName, sourceType: "module", plugins: ["typescript", "jsx"] });
const ast = parse(sourceText, {
sourceFilename: fileName,
sourceType: "module",
plugins: ["typescript", ...(fileName.endsWith(".tsx") || fileName.endsWith(".jsx") ? ["jsx"] : [])],
});
return ast.program.body.flatMap((statement) => {
if (statement.type === "ImportDeclaration") {
if (statement.importKind === "type" || statement.importKind === "typeof") return [];