Dependabot alert 160 (high): source-map-js before 1.2.2 allows an event-loop denial of service through crafted indexed source maps. The alert's manifest is the Cloud portal frontend lockfile, which still pinned 1.2.1 through postcss (which accepts ^1.2.1). frontend-modern already resolves 1.2.2 behind an override, so only this lockfile was behind. The package is development scope, build tooling only. Lockfile only, three lines. The entry was edited by hand rather than by running npm because npm 10.8 on the build box drops the libc fields newer npm writes, which would have rewritten 45 unrelated lines. The new integrity hash is the one frontend-modern's lockfile already records for 1.2.2. Contract-Neutral: Dependency lockfile bump for Dependabot alert 160 (source-map-js, development scope); no public-contract delta
Pulse Account Frontend Dev Loop
The production portal is embedded into the control-plane binary, so styling changes do not appear on cloud.pulserelay.pro until the frontend bundle is rebuilt and the control-plane is redeployed.
For local UI work, use the preview server instead of production.
Commands
npm --prefix internal/cloudcp/portal/frontend run dev
This does three things:
- builds the current portal frontend with the same esbuild pipeline used for production
- watches
internal/cloudcp/portal/frontend/src - serves a local preview at
http://127.0.0.1:8765
Preview URLs
- Managed hosted account:
http://127.0.0.1:8765/?scenario=managed - Read-only hosted account:
http://127.0.0.1:8765/?scenario=readonly - Self-hosted commercial account:
http://127.0.0.1:8765/?scenario=selfhosted - Empty hosted account:
http://127.0.0.1:8765/?scenario=empty
Append &reset=1 to reset a scenario back to its seed state.
The preview server keeps scenario state in memory and stubs the main portal APIs so you can exercise:
- workspace create/suspend/delete
- access invite/change-role/remove
- hosted billing handoff
- self-hosted billing/license/privacy flows
The preview server is intentionally local-only. It is for design and interaction iteration, not for validating production credentials or external services.
Production Build
When the UI is ready to ship, rebuild the embedded bundle:
npm --prefix internal/cloudcp/portal/frontend run build
That updates:
internal/cloudcp/portal/dist/portal_app.jsinternal/cloudcp/portal/dist/portal_app.cssinternal/cloudcp/portal/dist/build_manifest.json
After that, rebuild and deploy the control-plane binary/image to see the change on the live portal.
Functional Caveat
The preview harness is good for local front-end iteration, but it is still a harness. Final verification for auth, live account state, Stripe, and production data should happen against a real control-plane instance before shipping.