Skip to content

Commit

Permalink
chore: publish v2.0.6 of remark-mermaid-dataurl
Browse files Browse the repository at this point in the history
Fixed
=====

- Fix undefined SVG `svgjs` namespace error
  Sometimes, the generated SVGs are invalid due to an unknown `svgjs`
  prefix error (this happens with `mermaid-mindmaps`),
  see svgdotjs/svg.js#1285.

  This work-around manually defines the XML `svgjs` namespace by
  adding `xmlns:svgjs` to the `<svg ...>` element until the upstream
  issue/bug is fixed.

Dependencies
============

- Updated puppeteer from `^18.0.4` to `^19.0.0`
  • Loading branch information
aloisklink committed Nov 13, 2022
1 parent 2a672ae commit d85149d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.6] - 2022-11-13

### Fixed

- Fix undefined SVG `svgjs` namespace error
Expand All @@ -18,6 +20,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
adding `xmlns:svgjs` to the `<svg ...>` element until the upstream
issue/bug is fixed.

### Dependencies

- Updated puppeteer from `^18.0.4` to `^19.0.0`

## [2.0.5] - 2022-10-09

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remark-mermaid-dataurl",
"version": "2.0.5",
"version": "2.0.6",
"description": "A remark plugin for Markdown that replaces mermaid graphs with dataurls",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d85149d

Please sign in to comment.