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
Refresh managed frontend dependencies without weakening their floors
pulse-triage[bot]a4733ee1dc41
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.mdindex 703c05d3d1..0d01ff8ed7 100644--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md@@ -2986,6 +2986,31 @@ Firefox 110) the platform tables already required.any locked `braces` copy, so the advisory cannot return through a laterdependency, and drops the `autoprefixer` floor because the package is gone.+### Reviewed npm-minor-patch refresh (5 Oct 2026)++The `frontend-modern` refresh of the existing six-package group (#2352) raises+`lucide-solid` 0.545.0 -> 0.577.0, `@types/node` 26.6.2 -> 26.6.3,+`typescript-eslint` and its parser/plugin 8.70.0 -> 8.71.0, and the exact+`prettier` pin 3.9.8 -> 3.9.9. Every locked typescript-eslint helper follows+8.71.0. Official metadata and whole-tarball SHA512 observations establish the+selected package identities, not their installed behaviour or an audit verdict.+The formatter patch preserves spaces between copied code and prose when shell+variables contain dollar signs. `dependencyTooling.test.ts` exercises that real+formatter case and rejects a stale installed formatter.++`dependencySecurity.test.ts` raises the reviewed locked floors, checks every+nested typescript-eslint copy against its wrapper, and permits only an exact+stable Prettier 3.x pin at or above 3.9.9 whose lock matches the declaration.+Its positive/negative controls distinguish a reviewed patch from a downgrade,+range, prerelease or unreviewed major. Existing DOMPurify, Vitest, YAML,+brace-expansion and nanoid floors remain; `braces` remains absent. Tailwind 4,+jscpd 5, the ES2022 library declaration, Playwright 1.56.1 and every unrelated+module/override are unchanged. The icon library still ships in the UI; the+other five declarations are development-only. No new UI, installer, signing,+release-selection, promotion or rollback boundary is introduced. Full exact-graph+checks, the strict full-graph audit and fresh representative browser rendering+remain necessary before acceptance; a prepared lock or acquisition is not proof.+### Reviewed @types/node 26.6.2 refreshThe 2026-09-23 `npm-minor-patch` group (Dependabot #2189) advances thediff --git a/frontend-modern/package-lock.json b/frontend-modern/package-lock.jsonindex 6810a21570..d5830a3717 100644--- a/frontend-modern/package-lock.json+++ b/frontend-modern/package-lock.json@@ -12,7 +12,7 @@"@solidjs/router": "^0.10.10","dompurify": "^3.4.15","highlight.js": "^11.12.0",- "lucide-solid": "^0.545.0",+ "lucide-solid": "^0.577.0","marked": "^17.0.1","qrcode": "^1.5.4","solid-js": "^1.9.15"@@ -23,10 +23,10 @@"@tailwindcss/typography": "^0.5.19","@tailwindcss/vite": "^4.3.3","@testing-library/jest-dom": "^6.5.0",- "@types/node": "^26.6.2",+ "@types/node": "^26.6.3","@types/qrcode": "^1.5.6",- "@typescript-eslint/eslint-plugin": "^8.70.0",- "@typescript-eslint/parser": "^8.70.0",+ "@typescript-eslint/eslint-plugin": "^8.71.0",+ "@typescript-eslint/parser": "^8.71.0","@vitest/coverage-v8": "^4.1.11","eslint": "^9.20.0","eslint-config-prettier": "^10.0.0",@@ -34,10 +34,10 @@"globals": "^17.12.0","jscpd": "^5.4.0","jsdom": "^24.1.0",- "prettier": "3.9.8",+ "prettier": "3.9.9","tailwindcss": "^4.3.3","typescript": "^5.3.0",- "typescript-eslint": "^8.70.0",+ "typescript-eslint": "^8.71.0","vite": "^6.4.3","vite-plugin-solid": "^2.11.14","vite-plugin-sri-gen": "^1.7.4",@@ -2126,9 +2126,9 @@"license": "MIT"},"node_modules/@types/node": {- "version": "26.6.2",- "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.2.tgz",- "integrity": "sha512-X1P21scMv4zGKLYqjdGjaKa7COa0RKVYYZZN/NfvLQ1JegxFhdhpZG/Lyn8AXx6CDUavKAd11v6BvfpkDByK8g==",+ "version": "26.6.3",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.3.tgz",+ "integrity": "sha512-dsqMQQoeTLqu9wynDD00q573mNzso3IdQOAfHRJqLCcmCFPoGo9A1bDpUcv/9tnKpErQWv9uKeGfl37EIS02Yg==","dev": true,"license": "MIT","dependencies": {@@ -2153,17 +2153,17 @@"optional": true},"node_modules/@typescript-eslint/eslint-plugin": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.70.0.tgz",- "integrity": "sha512-/v8HZt6RlyIZxB3ntehELOcUcfxKPVGWXnQdJuHRmzrqgF8nQypcC/oxGW+Ot4VGKDq81XugPKxx0n5PBtf9PA==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.71.0.tgz",+ "integrity": "sha512-pqcS9c1HxZTHt7End4nXqd0s5lJrrFzrgCkKFJrsbUnaL6M3+6oBFZaslg6Gjsl3argl2DDRFROnXARaZ2e4Nw==","dev": true,"license": "MIT","dependencies": {"@eslint-community/regexpp": "^4.12.2",- "@typescript-eslint/scope-manager": "8.70.0",- "@typescript-eslint/type-utils": "8.70.0",- "@typescript-eslint/utils": "8.70.0",- "@typescript-eslint/visitor-keys": "8.70.0",+ "@typescript-eslint/scope-manager": "8.71.0",+ "@typescript-eslint/type-utils": "8.71.0",+ "@typescript-eslint/utils": "8.71.0",+ "@typescript-eslint/visitor-keys": "8.71.0","ignore": "^7.0.5","natural-compare": "^1.4.0","ts-api-utils": "^2.5.0"@@ -2176,22 +2176,22 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "@typescript-eslint/parser": "^8.70.0",+ "@typescript-eslint/parser": "^8.71.0","eslint": "^8.57.0 || ^9.0.0 || ^10.0.0","typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/parser": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.70.0.tgz",- "integrity": "sha512-zYvrmj9Yxd63UGaXw+kdt6A0F0s0qveJyuatIM77bYC2DE4pgmg7a50u8LR7PRtXd0x+h+Tl3eXabGm06SWd3Q==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.71.0.tgz",+ "integrity": "sha512-CG4nPk1f2zc8yw4pALqHsFYH2hdo+h1T9daSp21+Hnxi9LOE3GT9hAfTKJCBXVNM2GmYs1eMEP615wPoeOgk3A==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/scope-manager": "8.70.0",- "@typescript-eslint/types": "8.70.0",- "@typescript-eslint/typescript-estree": "8.70.0",- "@typescript-eslint/visitor-keys": "8.70.0",+ "@typescript-eslint/scope-manager": "8.71.0",+ "@typescript-eslint/types": "8.71.0",+ "@typescript-eslint/typescript-estree": "8.71.0",+ "@typescript-eslint/visitor-keys": "8.71.0","debug": "^4.4.3"},"engines": {@@ -2207,14 +2207,14 @@}},"node_modules/@typescript-eslint/project-service": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.70.0.tgz",- "integrity": "sha512-hFHbTNqhU9G+2eKFXCBVb1tjFT/LceiJ4+HfLO4pTpDI0KHi6iajpcFFkaSQ9gXmCh7n82A0PthaayEdN6mspQ==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.71.0.tgz",+ "integrity": "sha512-aABjw5rjBacYONVPaPiWOCjJu0vEF4a25iQuodlmQYL1trtLZ0X/y+2Vzl3BKI1odM4LnwLE1oUDXYp1wzx1TQ==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/tsconfig-utils": "^8.70.0",- "@typescript-eslint/types": "^8.70.0",+ "@typescript-eslint/tsconfig-utils": "^8.71.0",+ "@typescript-eslint/types": "^8.71.0","debug": "^4.4.3"},"engines": {@@ -2229,14 +2229,14 @@}},"node_modules/@typescript-eslint/scope-manager": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.70.0.tgz",- "integrity": "sha512-8nP3Kwh5hlgZ4FicGvmznAmJe8UL4sdU8tLukrPaMuQmDuk4Y8xYfzu/aYZW4xT2JCgc7H/TpDI5cGlxcWJSqQ==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.71.0.tgz",+ "integrity": "sha512-gWF0BhUcnjZxSpLE8ngS/59n2SB0J3YqRxvX1+2aoRJk9hNtHSLOV+TcarFiOr5ipXm3yc1QrI4c9YZc8zyCxw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.70.0",- "@typescript-eslint/visitor-keys": "8.70.0"+ "@typescript-eslint/types": "8.71.0",+ "@typescript-eslint/visitor-keys": "8.71.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -2247,9 +2247,9 @@}},"node_modules/@typescript-eslint/tsconfig-utils": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.70.0.tgz",- "integrity": "sha512-adnkeeNq9Sq1sUf4+FRVc0KdgYghzsgFpZSQVZVvY0LCuUuN0FnQgyGzCJeC4fW1cdXseBAjU2EOqUIjbNcZUw==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.71.0.tgz",+ "integrity": "sha512-Z1UlWHADEK2Mlb9NpWfDeSjqoZ5EyrOv4R3eQpbkzqn/EwaIdOpXXupEA1+0ZIOSJSZZDBHG0BrQyN8zUG6Pwg==","dev": true,"license": "MIT","engines": {@@ -2264,15 +2264,15 @@}},"node_modules/@typescript-eslint/type-utils": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.70.0.tgz",- "integrity": "sha512-NUMKIhYVaVIVLnRL9CRt+VVcuLgSHUCpXn4/+K8wql+vdInUzvx8BjUO1oJ7cG9shjFJKtF8F8Hh2kCh3/KBVw==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.71.0.tgz",+ "integrity": "sha512-i8uO1qbdxeKgRnS5sCRt6On3/nfo2d2DwQe3Yvjx543zLy7r8ySqRuPPiIIXAhS03U0v5NfAFx+rUgxFzKKwNw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.70.0",- "@typescript-eslint/typescript-estree": "8.70.0",- "@typescript-eslint/utils": "8.70.0",+ "@typescript-eslint/types": "8.71.0",+ "@typescript-eslint/typescript-estree": "8.71.0",+ "@typescript-eslint/utils": "8.71.0","debug": "^4.4.3","ts-api-utils": "^2.5.0"},@@ -2289,9 +2289,9 @@}},"node_modules/@typescript-eslint/types": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.70.0.tgz",- "integrity": "sha512-asTOIYhDg4zdzOScCyaytrsV3cR6B4ecPQlXw/dJIm7J/MZTtCtfVII9JD8Geh4jTCrK/Xe6cg5UevoleMcoJQ==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.71.0.tgz",+ "integrity": "sha512-cJ4OoxPGWvFnBTnSZyaU+qJzGTqPTGJY+gDchj6cRyLRdmIdt4rcsE4twj+zPfrNiWuVi38wijHzShL++Z9atQ==","dev": true,"license": "MIT","engines": {@@ -2303,16 +2303,16 @@}},"node_modules/@typescript-eslint/typescript-estree": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.70.0.tgz",- "integrity": "sha512-d9NmHMPEKQ7QCLLm1jI3zmoQBwT5KwFYjXBJ9ymZfKCUU+5rmTRykKAFvH5Qn/ZCds3CEAFS9OC9M/jkl0X2bA==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.71.0.tgz",+ "integrity": "sha512-PEEF4G5sLLWAS5BpPrUvms4ySZkiBQQZM4z+3ReI46axK5Vqr/vXBQatJQIZZOYdGyPUAKTtsrWzpqKuU+3DEw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/project-service": "8.70.0",- "@typescript-eslint/tsconfig-utils": "8.70.0",- "@typescript-eslint/types": "8.70.0",- "@typescript-eslint/visitor-keys": "8.70.0",+ "@typescript-eslint/project-service": "8.71.0",+ "@typescript-eslint/tsconfig-utils": "8.71.0",+ "@typescript-eslint/types": "8.71.0",+ "@typescript-eslint/visitor-keys": "8.71.0","debug": "^4.4.3","minimatch": "^10.2.2","semver": "^7.7.3",@@ -2331,16 +2331,16 @@}},"node_modules/@typescript-eslint/utils": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.70.0.tgz",- "integrity": "sha512-oZmtKJz/4fufZ2p3+Cn3ijEojcdfR+1zYDH2xKYrEly0dR/Q/1xUPRCOlKGxod78nWlU2UnDe09GZ3TaknBFGA==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.71.0.tgz",+ "integrity": "sha512-pKR/tEMVrXZG23UFKUn5BQf3zfmfk7KQceI2cGzywZ5nxM5Eu3hEJU1utjWzydtzBbcJAQhHN8iPCxobHpPcZQ==","dev": true,"license": "MIT","dependencies": {"@eslint-community/eslint-utils": "^4.9.1",- "@typescript-eslint/scope-manager": "8.70.0",- "@typescript-eslint/types": "8.70.0",- "@typescript-eslint/typescript-estree": "8.70.0"+ "@typescript-eslint/scope-manager": "8.71.0",+ "@typescript-eslint/types": "8.71.0",+ "@typescript-eslint/typescript-estree": "8.71.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -2355,13 +2355,13 @@}},"node_modules/@typescript-eslint/visitor-keys": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.70.0.tgz",- "integrity": "sha512-BoC8PiO4Hkdo0TVJh9Ntxr5MxPDI7/oFsrygN5ADelFSeXG/qgNuucIGA+L5Z6JpPTE/uRfcTWtscjbUaufepQ==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.71.0.tgz",+ "integrity": "sha512-8eQ9R218XORK+KLosnf4bu/QsUXvUyVwTbArg7/0NMB1Pu87OJKvj4nhFblkYE8gQV73mW1dx1ptlPCkwRGa7A==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.70.0",+ "@typescript-eslint/types": "8.71.0","eslint-visitor-keys": "^5.0.0"},"engines": {@@ -4695,9 +4695,9 @@"license": "ISC"},"node_modules/lucide-solid": {- "version": "0.545.0",- "resolved": "https://registry.npmjs.org/lucide-solid/-/lucide-solid-0.545.0.tgz",- "integrity": "sha512-VAzoU/4aLECC/9yGg0RfYPPtgbwpu+DVo5EysU64pGuDT6n59NRIAZanu8O9D4xlcyW3PcigvZv7kBHPN7JItQ==",+ "version": "0.577.0",+ "resolved": "https://registry.npmjs.org/lucide-solid/-/lucide-solid-0.577.0.tgz",+ "integrity": "sha512-r/rsauBlyNjFlUhXCkD544tOH1GgcFFupw9oP2zZT4BiFkHoO3MTr12QfKBrS5zCRIhktc/qY2tRr925hFlNuQ==","license": "ISC","peerDependencies": {"solid-js": "^1.4.7"@@ -5083,9 +5083,9 @@}},"node_modules/prettier": {- "version": "3.9.8",- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.8.tgz",- "integrity": "sha512-WRFq3Wn3WId7LLROfMLdH7xaFr2jR62wU8nLO6rQUOLOxNZUviyJQs1M0iIhLexSFy+L+w0ch66wtoO2jRjG0A==",+ "version": "3.9.9",+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.9.tgz",+ "integrity": "sha512-Z/CJHIkdujO/OtN7nXUii0Rf3VT5SRuhjBA82Xvu2XhBUgX3nhP67T0LHceBdQLex7OOFGTox+Q5Yg8Jk2Qivg==","dev": true,"license": "MIT","bin": {@@ -5676,16 +5676,16 @@}},"node_modules/typescript-eslint": {- "version": "8.70.0",- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.70.0.tgz",- "integrity": "sha512-P/W5cz70/cQAuKfY3xwQMWWTV7BvJ0mAQmi+9mBcsVPaBUpd6Ohpa+fECv9rBFrQcig86jAiNBFNWUqnTjr4pw==",+ "version": "8.71.0",+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.71.0.tgz",+ "integrity": "sha512-fBdHYiqQ14RW6mOMXD14Svn82ZsCYAoQSzGRzyEjR59S5A2Krh/l7fGTOQ7iCr8gGy/mHVXtEF7s5fgjEdV0Pw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/eslint-plugin": "8.70.0",- "@typescript-eslint/parser": "8.70.0",- "@typescript-eslint/typescript-estree": "8.70.0",- "@typescript-eslint/utils": "8.70.0"+ "@typescript-eslint/eslint-plugin": "8.71.0",+ "@typescript-eslint/parser": "8.71.0",+ "@typescript-eslint/typescript-estree": "8.71.0",+ "@typescript-eslint/utils": "8.71.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"diff --git a/frontend-modern/package.json b/frontend-modern/package.jsonindex f88f48c0d9..1397934259 100644--- a/frontend-modern/package.json+++ b/frontend-modern/package.json@@ -55,7 +55,7 @@"@solidjs/router": "^0.10.10","dompurify": "^3.4.15","highlight.js": "^11.12.0",- "lucide-solid": "^0.545.0",+ "lucide-solid": "^0.577.0","marked": "^17.0.1","qrcode": "^1.5.4","solid-js": "^1.9.15"@@ -74,10 +74,10 @@"@tailwindcss/typography": "^0.5.19","@tailwindcss/vite": "^4.3.3","@testing-library/jest-dom": "^6.5.0",- "@types/node": "^26.6.2",+ "@types/node": "^26.6.3","@types/qrcode": "^1.5.6",- "@typescript-eslint/eslint-plugin": "^8.70.0",- "@typescript-eslint/parser": "^8.70.0",+ "@typescript-eslint/eslint-plugin": "^8.71.0",+ "@typescript-eslint/parser": "^8.71.0","@vitest/coverage-v8": "^4.1.11","eslint": "^9.20.0","eslint-config-prettier": "^10.0.0",@@ -85,10 +85,10 @@"globals": "^17.12.0","jscpd": "^5.4.0","jsdom": "^24.1.0",- "prettier": "3.9.8",+ "prettier": "3.9.9","tailwindcss": "^4.3.3","typescript": "^5.3.0",- "typescript-eslint": "^8.70.0",+ "typescript-eslint": "^8.71.0","vite": "^6.4.3","vite-plugin-solid": "^2.11.14","vite-plugin-sri-gen": "^1.7.4",diff --git a/frontend-modern/src/security/__tests__/dependencySecurity.test.ts b/frontend-modern/src/security/__tests__/dependencySecurity.test.tsindex 1ee2b2de4b..6e9e7f3036 100644--- a/frontend-modern/src/security/__tests__/dependencySecurity.test.ts+++ b/frontend-modern/src/security/__tests__/dependencySecurity.test.ts@@ -72,6 +72,11 @@ const nanoidIsPatched = (version: string): boolean => {const dompurifyRangeIsPatched = (range: string): boolean =>/^\^3\.\d+\.\d+$/.test(range) && atLeast(range.slice(1), [3, 4, 13]);+// Prettier remains an exact, stable 3.x declaration. Do not turn one reviewed+// patch into a permanent freeze, or accept a broad range/unreviewed major.+const prettierPinIsReviewed = (version: string): boolean =>+ /^3\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)$/.test(version) && atLeast(version, [3, 9, 9]);+describe('frontend dependency security floors', () => {it('keeps Vitest and its mocker above the redirect-mock file-read floor', () => {// GHSA-82fw-gwwq-j7x9: the maintained 4.x fix starts at 4.1.11.@@ -184,17 +189,18 @@ describe('frontend dependency security floors', () => {it('keeps the reviewed npm-minor-patch floors', () => {// Dependabot npm-minor-patch group, reviewed 2026-09-21 and 2026-09-23.// Each floor is the lowest version this review accepted, so a later- // downgrade is rejected. The 2026-09-23 refresh raises @types/node to- // 26.6.2 in frontend-modern and tests/integration.+ // downgrade is rejected. The 2026-10-05 refresh raises @types/node in+ // frontend-modern only; tests/integration is unchanged.const floors: Array<[string, [number, number, number]]> = [// GHSA-p98j-92pf-mc4p (IN_PLACE afterSanitize hook XSS) affects 3.4.13-3.4.15.['dompurify', [3, 4, 16]],['highlight.js', [11, 12, 0]],['solid-js', [1, 9, 15]],- ['@types/node', [26, 6, 2]],- ['typescript-eslint', [8, 70, 0]],- ['@typescript-eslint/eslint-plugin', [8, 70, 0]],- ['@typescript-eslint/parser', [8, 70, 0]],+ ['@types/node', [26, 6, 3]],+ ['lucide-solid', [0, 577, 0]],+ ['typescript-eslint', [8, 71, 0]],+ ['@typescript-eslint/eslint-plugin', [8, 71, 0]],+ ['@typescript-eslint/parser', [8, 71, 0]],['eslint-plugin-solid', [0, 18, 0]],['postcss', [8, 5, 28]],['vite-plugin-solid', [2, 11, 14]],@@ -210,9 +216,57 @@ describe('frontend dependency security floors', () => {);}}- expect(manifest.devDependencies.prettier).toBe('3.9.8');+ expect(prettierPinIsReviewed(manifest.devDependencies.prettier)).toBe(true);const prettier = lockedVersions('prettier');expect(prettier).toHaveLength(1);- expect(atLeast(prettier[0], [3, 9, 8])).toBe(true);+ expect(prettier[0]).toBe(manifest.devDependencies.prettier);+ });++ it.each(['3.9.9', '3.9.10', '3.10.0'])('accepts a reviewed exact Prettier pin %s', (version) => {+ expect(prettierPinIsReviewed(version)).toBe(true);+ });++ it.each(['3.9.8', '^3.9.9', '~3.9.9', '*', '>=3.9.9', '4.0.0', '3.9.9-beta.1', '3.09.9'])(+ 'rejects an unsafe or unreviewed Prettier declaration %s',+ (version) => {+ expect(prettierPinIsReviewed(version)).toBe(false);+ },+ );++ it('keeps every typescript-eslint helper on the same reviewed release as its wrapper', () => {+ const wrapper = lockedVersions('typescript-eslint');+ expect(wrapper).toHaveLength(1);+ for (const name of [+ 'typescript-eslint',+ '@typescript-eslint/parser',+ '@typescript-eslint/eslint-plugin',+ ]) {+ const range = manifest.devDependencies[name];+ expect(/^\^8\.\d+\.\d+$/.test(range), `unexpected ${name} range ${range}`).toBe(true);+ expect(atLeast(range.slice(1), [8, 71, 0])).toBe(true);+ }+ for (const name of [+ 'typescript-eslint',+ '@typescript-eslint/eslint-plugin',+ '@typescript-eslint/parser',+ '@typescript-eslint/project-service',+ '@typescript-eslint/scope-manager',+ '@typescript-eslint/tsconfig-utils',+ '@typescript-eslint/type-utils',+ '@typescript-eslint/types',+ '@typescript-eslint/typescript-estree',+ '@typescript-eslint/utils',+ '@typescript-eslint/visitor-keys',+ ]) {+ const versions = lockedVersions(name);+ expect(versions, `${name} must be locked`).not.toHaveLength(0);+ for (const version of versions) {+ expect(version).not.toContain('-');+ expect(atLeast(version, [8, 71, 0]), `${name} ${version} is below the reviewed floor`).toBe(+ true,+ );+ expect(version, `${name} must match the wrapper`).toBe(wrapper[0]);+ }+ }});});diff --git a/frontend-modern/src/security/__tests__/dependencyTooling.test.ts b/frontend-modern/src/security/__tests__/dependencyTooling.test.tsnew file mode 100644index 0000000000..27344e4303--- /dev/null+++ b/frontend-modern/src/security/__tests__/dependencyTooling.test.ts@@ -0,0 +1,28 @@+// @vitest-environment node++import { readFileSync } from 'node:fs';+import * as prettier from 'prettier';+import { describe, expect, it } from 'vitest';++const manifest = JSON.parse(+ readFileSync(new URL('../../../package.json', import.meta.url), 'utf8'),+) as { devDependencies: { prettier: string } };++describe('reviewed formatter behaviour', () => {+ it('uses the exact locked formatter rather than a stale local install', () => {+ expect(prettier.version).toBe(manifest.devDependencies.prettier);+ });++ it('preserves spaces around copied code when Markdown contains dollar variables', async () => {+ // Prettier 3.9.8's inline-math parser removed spaces after $BAR below.+ // This is plain shell-variable documentation, not a mathematical formula.+ const markdown =+ '**Uses $FOO** from `a.sh` and `b.sh`, plus `$BAR` from `c.sh`, before anything else runs here.\n';+ expect(+ await prettier.format(markdown, {+ parser: 'markdown',+ proseWrap: 'preserve',+ }),+ ).toBe(markdown);+ });+});