Create client ids without crypto.randomUUID #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/client-id-insecure-context"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fehler: Über http im LAN (kein HTTPS, kein localhost) scheitert im Stromkreis-Editor jedes Anlegen mit „crypto.randomUUID is not a function“. Betroffen sind Stromkreise, Gerätezeilen, Gruppen, Verteilergeräte und auch das Tippen in der „-frei-“-Zeile.
Fix:
createClientId()(src/frontend/utils/client-id.ts) nutztcrypto.randomUUID()und fällt sonst auf eine RFC-4122-v4-UUID auscrypto.getRandomValues()zurück. Die Regel steht in AGENTS.md, dazu 3 Tests.Keine Abhängigkeiten.
Geprüft auf dem Branch allein: alle drei
tsc-Konfigurationen,npm test418/418, Produktions-Build (build:api+build:web). Zusammen mit allen anderen Branches: 509/509 Tests, konfliktfrei in jeder Merge-Reihenfolge.Merge-Reihenfolge aller Branches:
fix/client-id-insecure-context(#9)feature/editor-ui(#10)feature/cable-sizing(#11)feature/overview-filters(#12)feature/circuit-list-usability(#13)feature/card-look(#14)feature/print-view(#15)feature/building-structure(#16)feature/estimate-balance(#17)🤖 Generated with Claude Code
Integriert in
mainper Fast-Forward, unverändert übernommen.Commit:
79fcb75ffbAnpassungen: keine.
Pull request closed