npm / beautiful-mermaid
beautiful-mermaid
What changed in beautiful-mermaid 0.1 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
1 security3 new APIs and options1 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initbeautiful-mermaid 15 changes
New APIs and options 3
Adds inline styling for individual edges by index or default, supporting stroke and stroke-width in flowcharts and state diagrams.
Adds text-embedded label syntax for flowchart edges as an alternative to pipe syntax.
Adds full support for bar, line, and combined XY charts, including interactive tooltips, horizontal orientation, terminal rendering, and theme support.
Behavior and default changes 1
Conditional exports route Bun to raw TypeScript and Node, webpack, and Vite to pre-built ESM from dist/, so consumers need no config and webpack works without transpiling node_modules.
Fixes and other changes 1
State diagrams now correctly parse Chinese, Japanese, Korean, and other Unicode characters in state names, transitions, and descriptions.
beautiful-mermaid 0.11 changes
Security 1
beautiful-mermaid contains an SVG attribute injection issue that can lead to cross-site scripting (XSS)