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.

Use the callable PostCSS type in the compatibility fixture

pulse-triage[bot]7225d0218735
diff --git a/frontend-modern/src/security/__tests__/dependencyTooling.test.ts b/frontend-modern/src/security/__tests__/dependencyTooling.test.ts
index dc9abf7341..cdcf66dec5 100644
--- a/frontend-modern/src/security/__tests__/dependencyTooling.test.ts
+++ b/frontend-modern/src/security/__tests__/dependencyTooling.test.ts
@@ -133,7 +133,7 @@ describe('patched transitive dependency compatibility', () => {
});
it('preserves original CSS positions through the actual PostCSS consumer', async () => {
- const postcss = require('postcss') as typeof import('postcss');
+ const postcss = require('postcss') as typeof import('postcss').default;
const { SourceMapConsumer } = require('source-map-js') as typeof import('source-map-js');
const source = '.status {\n color: red;\n}\n';
const result = await postcss([