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.
Set mermaid config option useMaxWidth to false by default.
In Mermaid v9.1.7, some graph types default to using all the available horizontal space. On many markdown renderers, this creates very large diagrams, so by default remark-mermaid-dataurl limits them to use a smaller amount of space (e.g. pre-v9.1.7 behaviour).
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
[2.0.5] - 2022-10-09
Fixed
Set mermaid config option
useMaxWidth
to false by default.
In Mermaid v9.1.7, some graph types default to using all the available
horizontal space.
On many markdown renderers, this creates very large diagrams,
so by default remark-mermaid-dataurl limits them to use a smaller amount of space
(e.g. pre-v9.1.7 behaviour).
Fix passing configFile as a JS object.
[2.0.4] - 2022-09-29
Performance
Share a single puppeteer browser instance for all mermaid images.
9bccb09
Dependencies
Updated puppeteer from ^16.0.0 to ^18.0.4
[2.0.3] - 2022-08-25
Fixed
Fixed some mermaidCli options being ignored in v2.0.2
Dependencies
... (truncated)
Commits
d85149d chore: publish v2.0.6 of remark-mermaid-dataurl
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/nds-swe/swdt/network/alerts).
Removes @braintree/sanitize-url. It's no longer used after updating ancestor dependency remark-mermaid-dataurl. These dependencies need to be updated together.
Removes
@braintree/sanitize-url
Updates
remark-mermaid-dataurl
from 1.0.2 to 2.0.6Release notes
Sourced from remark-mermaid-dataurl's releases.
... (truncated)
Changelog
Sourced from remark-mermaid-dataurl's changelog.
... (truncated)
Commits
d85149d
chore: publish v2.0.6 of remark-mermaid-dataurl2a672ae
fix: fix undefined SVGsvgjs
namespace error68f62e6
Merge pull request #82 from aloisklink/dependabot/npm_and_yarn/husky-8.0.2c149f45
Merge pull request #83 from aloisklink/dependabot/npm_and_yarn/eslint-8.27.045d6daf
chore(deps-dev): bump husky from 8.0.1 to 8.0.27f7899e
chore(deps-dev): bump eslint from 8.26.0 to 8.27.0d18ea5f
Merge pull request #85 from aloisklink/dependabot/npm_and_yarn/jest-29.3.14a24f86
chore(deps-dev): bump jest from 28.1.2 to 29.3.1383e4f2
Merge pull request #81 from aloisklink/dependabot/npm_and_yarn/jest-image-sna...1b0966f
Merge pull request #80 from aloisklink/dependabot/npm_and_yarn/puppeteer-19.2.2Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/nds-swe/swdt/network/alerts).