cookiebite v0.5.1
Hardening release from a self-audit: cookiebite was dogfooded across 10 report scenarios and reviewed through 6 lenses, surfacing 15 issues. Adversarial verification then caught 3 regressions the first fix pass introduced (logic/HTML breaks that node --check passes but a browser does not) — all remediated and browser-verified.
Fixed
- i18n leaks into non-Korean reports. Chart data-table toggle labels now follow
REPORT_LOCALEwithtableLabel/chartLabeloverrides (were hardcoded Korean); the TOC heading moved inside the editable slot so it localizes. - Findings filter dropped Low. Filter chips are built from the tones present (incl.
neutral→ "Low"), so Low findings are reachable instead of vanishing on the first filter click. - Dark mode gaps.
baseChartnow sets legend text color (legends were invisible on dark) and respects reduced-motion; near-black brand accents (Vercel, Resend) get an opt-inaccentDarkoverride so they read on a dark surface. - Credit footer. Auto-injected "Made with cookiebite" link uses
text-secondaryfor AA contrast and no longer duplicates a hand-written credit. - Silent failures.
accentRgbaresolves non-hex accents instead of emittingrgba(NaN,…);kpis()keepssuffixalongsideunit;apply-theme.pyvalidates presets and no longerKeyErrors on a missing name. - Verification harness.
verify-report.shscrolls before the full-page capture (AOS/lazy content paints) and records console errors. - Docs. Persimmon is documented as the default; a color-mix-not-in-canvas caveat, a treemap accent-ramp recipe, the sortable-numeric-as-Number rule, pinned CDN versions, and a corrected AOS claim.
Full changelog: v0.5.0...v0.5.1