chore: bump pozeiden v0.2.0 → v0.4.0 (picks up two GHSA fixes) - #86
Merged
Conversation
Picks up pozeiden's two 0.3.0 security fixes that the CLI/WASM mermaid paths were missing (GHSA-p2c5-qmq5-3r4f SVG/XSS injection, GHSA-rg4m-w3p2-gf3p out-of-bounds writes) plus the 0.4.0 hardening, accessibility metadata, and layout rewrite. Behaviour change per pozeiden's stability policy: emitted mermaid SVG bytes change (wider default font stack; accTitle/accDescr become <title>/<desc>). Verified: zig build test, zig build (CLI renders a mermaid pie through pozeiden 0.4.0), zig build wasm; zon2json-lock regenerated (also picks up pozeiden's corrected transitive mvzr ref pin).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the lazy
pozeidendependency from v0.2.0 → v0.4.0.Why
zigmark's CLI and WASM mermaid paths were still on 0.2.0, which predates both of pozeiden's 0.3.0 security fixes:
click … href, and%%{init}%%theme variables0.4.0 additionally brings input-resource hardening (per-call limits, nesting guards), the O(V+E) flowchart layout rewrite (caps raised 10×), and accessibility metadata.
Behaviour change (per pozeiden's output-stability policy)
Mermaid SVG bytes change on this minor bump:
Liberation Sans, DejaVu Sans, sans-serif(headless consumers resolve real fonts)accTitle:/accDescr:directives are no longer parsed as diagram content — they become SVG<title>/<desc>+role="img"accessibility metadataCHANGELOG entry included.
Verified
zig build test— full suite greenzig build+ CLI smoke: a ```mermaid fence renders through pozeiden 0.4.0 (new font stack visible in output)zig build wasm— links cleanbuild.zig.zon2json-lockregenerated viaupdate-zon(also picks up pozeiden's corrected transitivemvzrref pin, v0.3.10 → v0.3.9 label for the same commit)