Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Bind formatter compatibility proof to the real Node implementation
pulse-triage[bot]d6d80dc533e1
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.mdindex 977c555066..9159e6b63d 100644--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md@@ -3004,6 +3004,12 @@ The formatter patch preserves spaces between copied code and prose when shellvariables contain dollar signs. `dependencyTooling.test.ts` exercises that realformatter case and rejects a stale installed formatter.+The formatter control loads the Node package through native `createRequire`,+so it exercises the same parser-bearing implementation as repository tooling.+Vite's unchanged browser conditions otherwise select the parser-free standalone+bundle even in a Node test environment; no production resolver or assertion is+weakened to accommodate that distinction.+`dependencySecurity.test.ts` raises the reviewed locked floors, checks everynested typescript-eslint copy against its wrapper, and permits only an exactstable Prettier 3.x pin at or above 3.9.9 whose lock matches the declaration.diff --git a/frontend-modern/src/security/__tests__/dependencyTooling.test.ts b/frontend-modern/src/security/__tests__/dependencyTooling.test.tsindex 27344e4303..4d0adb126f 100644--- a/frontend-modern/src/security/__tests__/dependencyTooling.test.ts+++ b/frontend-modern/src/security/__tests__/dependencyTooling.test.ts@@ -1,9 +1,13 @@// @vitest-environment nodeimport { readFileSync } from 'node:fs';-import * as prettier from 'prettier';+import { createRequire } from 'node:module';import { describe, expect, it } from 'vitest';+// Vite's browser resolution picks Prettier's parser-free standalone bundle.+// Exercise the Node formatter used by repository tooling, not that UI bundle.+const prettier = createRequire(import.meta.url)('prettier') as typeof import('prettier');+const manifest = JSON.parse(readFileSync(new URL('../../../package.json', import.meta.url), 'utf8'),) as { devDependencies: { prettier: string } };