v1.1.1
Fixed
-
Tries to automatically fix invalid SVGs returned by
mermaid-cli
.
Somtimesmermaid-cli
returns an SVG wrapped in a<div>
, which caused a confusing error to occur. -
Allow
@mermaid-js/mermaid-cli
version to be^8.10.1
(fixes #20)In
v1.10
, we limited@mermaid-js/mermaid-cli
to be <=8.10.1, as 8.10.2 officially dropped Node v10 support.
However, this causes breaking changes for people using mermaid 8.10.2+ features.
Deprecated
-
Node v10 support is officially dropped in mermaid-cli 8.10.2, but unofficially, it stills seems to work.
Our
dependencies
contain"@mermaid-js/mermaid-cli": ^8.9.2"
, however v8.10.2 of mermaid-cli updated to puppeteer v10.0.0, which officially dropped Node v10 support.
However, it still seems to work with Node v10, it's just unsupported.If you encounter issues while running on Node v10, please pin
remark-mermaid-dataurl
to1.1.0
.