⬆️ Bump mermaid from 9.4.0 to 10.0.0 in /website (#2608)
Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 9.4.0 to 10.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mermaid-js/mermaid/releases">mermaid's releases</a>.</em></p> <blockquote> <h2>v10.0.0</h2> <h2>What's Changed</h2> <h3>Please refer the <a href="https://github.com/mermaid-js/mermaid/blob/master/CHANGELOG.md#1000">v10 changes section in CHANGELOG.md</a> to see detailed migration steps.</h3> <h3>Breaking changes in v10</h3> <ul> <li>Switch to ESM only for v10? by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/issues/3590">#3590</a></li> <li>Break type of mermaid.render in v10 by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/issues/3577">#3577</a></li> <li>Improve init function and how selector and nodes are passed by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/issues/3394">#3394</a></li> <li>mermaid.init is not using the config that's passed by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/issues/3406">#3406</a></li> <li>Configurable HTML class for initialisation by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/issues/3055">#3055</a></li> </ul> <h3>Features</h3> <ul> <li>fix(api): tree shaking package.json import by <a href="https://github.com/AielloChan"><code>@AielloChan</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4101">mermaid-js/mermaid#4101</a></li> <li>splitDiagrams by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4110">mermaid-js/mermaid#4110</a></li> <li>Adding the ability to use invisible edges by <a href="https://github.com/knsv"><code>@knsv</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4113">mermaid-js/mermaid#4113</a></li> </ul> <h3>Docs</h3> <ul> <li>Add logo to readme by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4076">mermaid-js/mermaid#4076</a></li> <li>docs: minor fix on markdown by <a href="https://github.com/Jeff-Tian"><code>@Jeff-Tian</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4015">mermaid-js/mermaid#4015</a></li> <li>Fix typos by <a href="https://github.com/fkohrt"><code>@fkohrt</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4118">mermaid-js/mermaid#4118</a></li> </ul> <h3>Chores</h3> <ul> <li>chore(deps): update all non-major dependencies (minor) by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4044">mermaid-js/mermaid#4044</a></li> <li>chore(deps): update dependency <code>@types/uuid</code> to v9 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4067">mermaid-js/mermaid#4067</a></li> <li>build(lint:fix): cache eslint in pnpm run lint:fix by <a href="https://github.com/aloisklink"><code>@aloisklink</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4073">mermaid-js/mermaid#4073</a></li> <li>chore(deps): update dependency rimraf to v4 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4070">mermaid-js/mermaid#4070</a></li> <li>chore(deps): update dependency jsdom to v21 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4069">mermaid-js/mermaid#4069</a></li> <li>chore(deps): update timonvs/pr-labeler-action action to v4 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4072">mermaid-js/mermaid#4072</a></li> <li>chore(deps): update actions/configure-pages action to v3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4065">mermaid-js/mermaid#4065</a></li> <li>chore(deps): update actions/dependency-review-action action to v3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4066">mermaid-js/mermaid#4066</a></li> <li>chore(deps): update dependency vite to v4 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4071">mermaid-js/mermaid#4071</a></li> <li>chore(deps): update dependency cypress to v12 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4068">mermaid-js/mermaid#4068</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Jeff-Tian"><code>@Jeff-Tian</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4015">mermaid-js/mermaid#4015</a></li> <li><a href="https://github.com/AielloChan"><code>@AielloChan</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4101">mermaid-js/mermaid#4101</a></li> <li><a href="https://github.com/fkohrt"><code>@fkohrt</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/pull/4118">mermaid-js/mermaid#4118</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/mermaid-js/mermaid/compare/v9.4.0...v10.0.0">https://github.com/mermaid-js/mermaid/compare/v9.4.0...v10.0.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md">mermaid's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/mermaid-js/mermaid/releases/tag/v10.0.0">10.0.0</a></h2> <h3>mermaid.render is async and doesn't accept callbacks</h3> <pre lang="js"><code>// < v10 mermaid.render('id', 'graph TD;\nA-->B', (svg, bindFunctions) => { element.innerHTML = svg; if (bindFunctions) { bindFunctions(element); } }); <p>// Shorter syntax if (bindFunctions) { bindFunctions(element); } // can be replaced with the <code>?.</code> shorthand bindFunctions?.(element);</p> <p>// >= v10 with async/await const { svg, bindFunctions } = await mermaid.render('id', 'graph TD;\nA-->B'); element.innerHTML = svg; bindFunctions?.(element);</p> <p>// >= v10 with promise.then mermaid.render('id', 'graph TD;A-->B').then(({ svg, bindFunctions }) => { element.innerHTML = svg; bindFunctions?.(element); }); </code></pre></p> <h3>mermaid.parse is async and ParseError is removed</h3> <pre lang="js"><code>// < v10 mermaid.parse(text, parseError); <p>//>= v10 await mermaid.parse(text).catch(parseError); // or try { await mermaid.parse(text); } catch (err) { parseError(err); } </code></pre></p> <h3>Init deprecated and InitThrowsErrors removed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="555d4f2cdc"><code>555d4f2</code></a> Fix spellings</li> <li><a href="75633ba125"><code>75633ba</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/issues/4118">#4118</a> from fkohrt/patch-1</li> <li><a href="ec5fa31a11"><code>ec5fa31</code></a> Wrap option working in test case</li> <li><a href="bfb8a75fca"><code>bfb8a75</code></a> Fix typos</li> <li><a href="14c15b221a"><code>14c15b2</code></a> Minor cleanup</li> <li><a href="8743e9e30e"><code>8743e9e</code></a> Removed the deprecated use of mindmap in Demo</li> <li><a href="22b18a4320"><code>22b18a4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/issues/4113">#4113</a> from mermaid-js/3192_invisible_edges</li> <li><a href="786023ffa6"><code>786023f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mermaid-js/mermaid/issues/4110">#4110</a> from mermaid-js/sidv/splitDiagrams</li> <li><a href="68cdc759a7"><code>68cdc75</code></a> Minor cleanup</li> <li><a href="eb04d80df0"><code>eb04d80</code></a> Update docs</li> <li>Additional commits viewable in <a href="https://github.com/mermaid-js/mermaid/compare/v9.4.0...v10.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
This commit is contained in:
parent
d4cffa2453
commit
01943e6f12
48
website/package-lock.json
generated
48
website/package-lock.json
generated
@ -20,7 +20,7 @@
|
||||
"feather-icons": "^4.29.0",
|
||||
"jarallax": "^2.1.3",
|
||||
"mdx-mermaid": "^1.3.2",
|
||||
"mermaid": "^9.4.0",
|
||||
"mermaid": "^10.0.0",
|
||||
"prism-react-renderer": "^1.3.5",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
@ -9131,25 +9131,26 @@
|
||||
}
|
||||
},
|
||||
"node_modules/mermaid": {
|
||||
"version": "9.4.0",
|
||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-9.4.0.tgz",
|
||||
"integrity": "sha512-4PWbOND7CNRbjHrdG3WUUGBreKAFVnMhdlPjttuUkeHbCQmAHkwzSh5dGwbrKmXGRaR4uTvfFVYzUcg++h0DkA==",
|
||||
"version": "10.0.0",
|
||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.0.0.tgz",
|
||||
"integrity": "sha512-syS1qyYCd3EPXCVSpYtefY4D9z9WZAK8hFgjeHR9PAtanybLO162Tu7o5i/nZkqRrJq0Rk8RqskQlhBPgT8eBw==",
|
||||
"dependencies": {
|
||||
"@braintree/sanitize-url": "^6.0.0",
|
||||
"cytoscape": "^3.23.0",
|
||||
"cytoscape-cose-bilkent": "^4.1.0",
|
||||
"cytoscape-fcose": "^2.1.0",
|
||||
"d3": "^7.0.0",
|
||||
"d3": "^7.4.0",
|
||||
"dagre-d3-es": "7.0.8",
|
||||
"dompurify": "2.4.3",
|
||||
"elkjs": "^0.8.2",
|
||||
"khroma": "^2.0.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"moment": "^2.29.4",
|
||||
"moment-mini": "^2.29.4",
|
||||
"non-layered-tidy-tree-layout": "^2.0.2",
|
||||
"stylis": "^4.1.2",
|
||||
"ts-dedent": "^2.2.0",
|
||||
"uuid": "^9.0.0"
|
||||
"uuid": "^9.0.0",
|
||||
"web-worker": "^1.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/mermaid/node_modules/uuid": {
|
||||
@ -9343,6 +9344,11 @@
|
||||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/moment-mini": {
|
||||
"version": "2.29.4",
|
||||
"resolved": "https://registry.npmjs.org/moment-mini/-/moment-mini-2.29.4.tgz",
|
||||
"integrity": "sha512-uhXpYwHFeiTbY9KSgPPRoo1nt8OxNVdMVoTBYHfSEKeRkIkwGpO+gERmhuhBtzfaeOyTkykSrm2+noJBgqt3Hg=="
|
||||
},
|
||||
"node_modules/mrmime": {
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
@ -13856,6 +13862,11 @@
|
||||
"url": "https://github.com/sponsors/wooorm"
|
||||
}
|
||||
},
|
||||
"node_modules/web-worker": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz",
|
||||
"integrity": "sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA=="
|
||||
},
|
||||
"node_modules/webidl-conversions": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
||||
@ -20783,25 +20794,26 @@
|
||||
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="
|
||||
},
|
||||
"mermaid": {
|
||||
"version": "9.4.0",
|
||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-9.4.0.tgz",
|
||||
"integrity": "sha512-4PWbOND7CNRbjHrdG3WUUGBreKAFVnMhdlPjttuUkeHbCQmAHkwzSh5dGwbrKmXGRaR4uTvfFVYzUcg++h0DkA==",
|
||||
"version": "10.0.0",
|
||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.0.0.tgz",
|
||||
"integrity": "sha512-syS1qyYCd3EPXCVSpYtefY4D9z9WZAK8hFgjeHR9PAtanybLO162Tu7o5i/nZkqRrJq0Rk8RqskQlhBPgT8eBw==",
|
||||
"requires": {
|
||||
"@braintree/sanitize-url": "^6.0.0",
|
||||
"cytoscape": "^3.23.0",
|
||||
"cytoscape-cose-bilkent": "^4.1.0",
|
||||
"cytoscape-fcose": "^2.1.0",
|
||||
"d3": "^7.0.0",
|
||||
"d3": "^7.4.0",
|
||||
"dagre-d3-es": "7.0.8",
|
||||
"dompurify": "2.4.3",
|
||||
"elkjs": "^0.8.2",
|
||||
"khroma": "^2.0.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"moment": "^2.29.4",
|
||||
"moment-mini": "^2.29.4",
|
||||
"non-layered-tidy-tree-layout": "^2.0.2",
|
||||
"stylis": "^4.1.2",
|
||||
"ts-dedent": "^2.2.0",
|
||||
"uuid": "^9.0.0"
|
||||
"uuid": "^9.0.0",
|
||||
"web-worker": "^1.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"uuid": {
|
||||
@ -20922,6 +20934,11 @@
|
||||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
|
||||
"integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w=="
|
||||
},
|
||||
"moment-mini": {
|
||||
"version": "2.29.4",
|
||||
"resolved": "https://registry.npmjs.org/moment-mini/-/moment-mini-2.29.4.tgz",
|
||||
"integrity": "sha512-uhXpYwHFeiTbY9KSgPPRoo1nt8OxNVdMVoTBYHfSEKeRkIkwGpO+gERmhuhBtzfaeOyTkykSrm2+noJBgqt3Hg=="
|
||||
},
|
||||
"mrmime": {
|
||||
"version": "1.0.0"
|
||||
},
|
||||
@ -23859,6 +23876,11 @@
|
||||
"resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-1.1.4.tgz",
|
||||
"integrity": "sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw=="
|
||||
},
|
||||
"web-worker": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz",
|
||||
"integrity": "sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA=="
|
||||
},
|
||||
"webidl-conversions": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
"feather-icons": "^4.29.0",
|
||||
"jarallax": "^2.1.3",
|
||||
"mdx-mermaid": "^1.3.2",
|
||||
"mermaid": "^9.4.0",
|
||||
"mermaid": "^10.0.0",
|
||||
"prism-react-renderer": "^1.3.5",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user