Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

style(web): format DOMPurify range regression

pulse-triage[bot]f38d202c63d5
diff --git a/frontend-modern/src/security/__tests__/dependencySecurity.test.ts b/frontend-modern/src/security/__tests__/dependencySecurity.test.ts
index 2cb9a5071b..774241c3be 100644
--- a/frontend-modern/src/security/__tests__/dependencySecurity.test.ts
+++ b/frontend-modern/src/security/__tests__/dependencySecurity.test.ts
@@ -97,9 +97,12 @@ describe('frontend dependency security floors', () => {
expect(dompurifyRangeIsPatched(range)).toBe(true);
});
- it.each(['^3.4.12', '^3.3.99', '^4.0.0', '^3.4.13-beta.1', '*', '>=3.4.13', '^3.4.13 || ^2.0.0'])('rejects unsafe or unreviewed DOMPurify range %s', (range) => {
- expect(dompurifyRangeIsPatched(range)).toBe(false);
- });
+ it.each(['^3.4.12', '^3.3.99', '^4.0.0', '^3.4.13-beta.1', '*', '>=3.4.13', '^3.4.13 || ^2.0.0'])(
+ 'rejects unsafe or unreviewed DOMPurify range %s',
+ (range) => {
+ expect(dompurifyRangeIsPatched(range)).toBe(false);
+ },
+ );
it('keeps DOMPurify above the hook-detachment XSS floor', () => {
expect(dompurifyRangeIsPatched(manifest.dependencies.dompurify)).toBe(true);