From 96323e49a6fb921b0d9f79ba775c90d08012038a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 19 Dec 2022 08:38:05 +0800 Subject: [PATCH] bump(deps): update dependency mermaid to v9.3.0 (#280) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mermaid](https://togithub.com/mermaid-js/mermaid) | [`9.2.2` -> `9.3.0`](https://renovatebot.com/diffs/npm/mermaid/9.2.2/9.3.0) | [![age](https://badges.renovateapi.com/packages/npm/mermaid/9.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/mermaid/9.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/mermaid/9.3.0/compatibility-slim/9.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/mermaid/9.3.0/confidence-slim/9.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
mermaid-js/mermaid ### [`v9.3.0`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.3.0) [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v9.2.2...v9.3.0) ### Significant Changes - 25% Smaller - New docs - Replaces the deprecated and vulnerable `dagre-d3` with `dagre-es` ### Release Notes - [#​3778](https://togithub.com/mermaid-js/mermaid/issues/3778) Adding a hexgon shape ([#​3834](https://togithub.com/mermaid-js/mermaid/issues/3834)) [@​knsv](https://togithub.com/knsv) - [#​3831](https://togithub.com/mermaid-js/mermaid/issues/3831) Re-enabling themes for er diagrams ([#​3837](https://togithub.com/mermaid-js/mermaid/issues/3837)) [@​knsv](https://togithub.com/knsv) - [#​3882](https://togithub.com/mermaid-js/mermaid/issues/3882) fix for issues with mindmaps with only a single node ([#​3833](https://togithub.com/mermaid-js/mermaid/issues/3833)) [@​knsv](https://togithub.com/knsv) - (chore) remove console stmt in pieDetector ([#​3840](https://togithub.com/mermaid-js/mermaid/issues/3840)) [@​weedySeaDragon](https://togithub.com/weedySeaDragon) - (feat) state classDef documentation ([#​3841](https://togithub.com/mermaid-js/mermaid/issues/3841)) [@​weedySeaDragon](https://togithub.com/weedySeaDragon) - 3882 edge labels ([#​3883](https://togithub.com/mermaid-js/mermaid/issues/3883)) [@​knsv](https://togithub.com/knsv) - Add GHA that will check links + Fix broken links ([#​3765](https://togithub.com/mermaid-js/mermaid/issues/3765)) [@​spier](https://togithub.com/spier) - Add official vim plugin to list in integrations ([#​3847](https://togithub.com/mermaid-js/mermaid/issues/3847)) [@​craigmac](https://togithub.com/craigmac) - Add package visualizations ([#​3823](https://togithub.com/mermaid-js/mermaid/issues/3823)) [@​sidharthv96](https://togithub.com/sidharthv96) - Add support for [@​include](https://togithub.com/include) in docs ([#​3863](https://togithub.com/mermaid-js/mermaid/issues/3863)) [@​sidharthv96](https://togithub.com/sidharthv96) - CI: disable pinning dependencies ([#​3735](https://togithub.com/mermaid-js/mermaid/issues/3735)) [@​aloisklink](https://togithub.com/aloisklink) - Defects/issue 3878 ([#​3880](https://togithub.com/mermaid-js/mermaid/issues/3880)) [@​MrCoder](https://togithub.com/MrCoder) - Feat: Add aria-describedby, aria-roledescription ([#​3808](https://togithub.com/mermaid-js/mermaid/issues/3808)) [@​weedySeaDragon](https://togithub.com/weedySeaDragon) - Fix [#​3799](https://togithub.com/mermaid-js/mermaid/issues/3799): Remove `type` from package.json ([#​3802](https://togithub.com/mermaid-js/mermaid/issues/3802)) [@​sidharthv96](https://togithub.com/sidharthv96) - Fix for [#​3835](https://togithub.com/mermaid-js/mermaid/issues/3835), makes it possible to style path elements ([#​3836](https://togithub.com/mermaid-js/mermaid/issues/3836)) [@​knsv](https://togithub.com/knsv) - Fix typos ([#​3820](https://togithub.com/mermaid-js/mermaid/issues/3820)) [@​endolith](https://togithub.com/endolith) - Housekeeping with eslint-unicorn ([#​3845](https://togithub.com/mermaid-js/mermaid/issues/3845)) [@​sidharthv96](https://togithub.com/sidharthv96) - Integrations added - Visual Studio Code \[Polyglot Interactive Notebooks] ([#​3821](https://togithub.com/mermaid-js/mermaid/issues/3821)) [@​dfinke](https://togithub.com/dfinke) - Mindmap integration docs ([#​3810](https://togithub.com/mermaid-js/mermaid/issues/3810)) [@​sidharthv96](https://togithub.com/sidharthv96) - Reduce mermaid size by 31% ([#​3825](https://togithub.com/mermaid-js/mermaid/issues/3825)) [@​sidharthv96](https://togithub.com/sidharthv96) - Remove extra arrow and adjust cross position ([#​3641](https://togithub.com/mermaid-js/mermaid/issues/3641)) [@​ishuen](https://togithub.com/ishuen) - Replace `dagre`/`dagre-d3` with `dagre-d3-es` ([#​3809](https://togithub.com/mermaid-js/mermaid/issues/3809)) [@​aloisklink](https://togithub.com/aloisklink) - Revert "Added pie" ([#​3842](https://togithub.com/mermaid-js/mermaid/issues/3842)) [@​pbrolin47](https://togithub.com/pbrolin47) - Switch CDN to unpkg.com ([#​3777](https://togithub.com/mermaid-js/mermaid/issues/3777)) [@​sidharthv96](https://togithub.com/sidharthv96) - Switch back to jsdelivr ([#​3873](https://togithub.com/mermaid-js/mermaid/issues/3873)) [@​sidharthv96](https://togithub.com/sidharthv96) - Use `github-dark` to highlight fence blocks in vitepress docs ([#​3807](https://togithub.com/mermaid-js/mermaid/issues/3807)) [@​aloisklink](https://togithub.com/aloisklink) - Use current mermaid version in docs. ([#​3846](https://togithub.com/mermaid-js/mermaid/issues/3846)) [@​sidharthv96](https://togithub.com/sidharthv96) - Use stylis to prepend idSelector ([#​3829](https://togithub.com/mermaid-js/mermaid/issues/3829)) [@​DanInProgress](https://togithub.com/DanInProgress) - bug: State diagram fix classes type ([#​3798](https://togithub.com/mermaid-js/mermaid/issues/3798)) [@​weedySeaDragon](https://togithub.com/weedySeaDragon) - bug: change shiki getHighlighter import ([#​3804](https://togithub.com/mermaid-js/mermaid/issues/3804)) [@​weedySeaDragon](https://togithub.com/weedySeaDragon) - chore(deps): remove dependency on `graphlib` ([#​3861](https://togithub.com/mermaid-js/mermaid/issues/3861)) [@​aloisklink](https://togithub.com/aloisklink) - chore(deps): update all non-major dependencies (minor) ([#​3905](https://togithub.com/mermaid-js/mermaid/issues/3905)) [@​renovate](https://togithub.com/renovate) - chore(deps): update all non-major dependencies (minor) ([#​3791](https://togithub.com/mermaid-js/mermaid/issues/3791)) [@​renovate](https://togithub.com/renovate) - chore(deps): update lycheeverse/lychee-action action to v1.5.4 ([#​3827](https://togithub.com/mermaid-js/mermaid/issues/3827)) [@​renovate](https://togithub.com/renovate) - chore(deps): update pnpm to v7.17.0 ([#​3828](https://togithub.com/mermaid-js/mermaid/issues/3828)) [@​renovate](https://togithub.com/renovate) - chore(deps): update pnpm to v7.17.1 ([#​3862](https://togithub.com/mermaid-js/mermaid/issues/3862)) [@​renovate](https://togithub.com/renovate) - chore(docs): Auto build docs ([#​3547](https://togithub.com/mermaid-js/mermaid/issues/3547)) [@​sidharthv96](https://togithub.com/sidharthv96) - chore: Housekeeping ([#​3783](https://togithub.com/mermaid-js/mermaid/issues/3783)) [@​sidharthv96](https://togithub.com/sidharthv96) - chore: Merge master to develop ([#​3780](https://togithub.com/mermaid-js/mermaid/issues/3780)) [@​sidharthv96](https://togithub.com/sidharthv96) - chore: clean up code in mermaidAPI render() and write specs/tests ([#​3684](https://togithub.com/mermaid-js/mermaid/issues/3684)) [@​weedySeaDragon](https://togithub.com/weedySeaDragon) - chore: delete functions not used in diagrams/c4 code (dead code) ([#​3871](https://togithub.com/mermaid-js/mermaid/issues/3871)) [@​weedySeaDragon](https://togithub.com/weedySeaDragon) - comments in states are skipped now ([#​3762](https://togithub.com/mermaid-js/mermaid/issues/3762)) [@​avijit1258](https://togithub.com/avijit1258) - doc: remove links from atom.io; add note Atom has been archived ([#​3899](https://togithub.com/mermaid-js/mermaid/issues/3899)) [@​weedySeaDragon](https://togithub.com/weedySeaDragon) - docs: refactor Theming doc ([#​3889](https://togithub.com/mermaid-js/mermaid/issues/3889)) [@​huynhicode](https://togithub.com/huynhicode) - feat: Redirect old documentation links. ([#​3797](https://togithub.com/mermaid-js/mermaid/issues/3797)) [@​sidharthv96](https://togithub.com/sidharthv96) - feat: Title support via front matter for ER, state, class, git, and graph diagrams ([#​3706](https://togithub.com/mermaid-js/mermaid/issues/3706)) [@​MasonM](https://togithub.com/MasonM) - fix(deps): update all non-major dependencies (patch) ([#​3790](https://togithub.com/mermaid-js/mermaid/issues/3790)) [@​renovate](https://togithub.com/renovate) - fix(deps): update dependency rollup to v3 ([#​3674](https://togithub.com/mermaid-js/mermaid/issues/3674)) [@​renovate](https://togithub.com/renovate) - fix: LintStaged ([#​3844](https://togithub.com/mermaid-js/mermaid/issues/3844)) [@​sidharthv96](https://togithub.com/sidharthv96) 🎉 **Thanks to all contributors helping with this release!** 🎉 #### What's Changed - chore(deps): update actions/checkout action to v3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3645](https://togithub.com/mermaid-js/mermaid/pull/3645) - chore(deps): update actions/setup-node action to v3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3646](https://togithub.com/mermaid-js/mermaid/pull/3646) - Remove inconsistent and deprecated semicolons by [@​revolter](https://togithub.com/revolter) in [https://github.com/mermaid-js/mermaid/pull/3657](https://togithub.com/mermaid-js/mermaid/pull/3657) - Fix windows paths for `docs:build` by [@​arpansaha13](https://togithub.com/arpansaha13) in [https://github.com/mermaid-js/mermaid/pull/3605](https://togithub.com/mermaid-js/mermaid/pull/3605) - feat: make `parseError` function more type-safe by [@​Some-Dood](https://togithub.com/Some-Dood) in [https://github.com/mermaid-js/mermaid/pull/3643](https://togithub.com/mermaid-js/mermaid/pull/3643) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3632](https://togithub.com/mermaid-js/mermaid/pull/3632) - chore(deps): update all non-major dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3671](https://togithub.com/mermaid-js/mermaid/pull/3671) - chore(deps): pin dependencies by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3685](https://togithub.com/mermaid-js/mermaid/pull/3685) - Added Open Graph meta tags by [@​danangtomo](https://togithub.com/danangtomo) in [https://github.com/mermaid-js/mermaid/pull/3679](https://togithub.com/mermaid-js/mermaid/pull/3679) - add eslint-plugin-no-only-tests plugin by [@​DKurilo](https://togithub.com/DKurilo) in [https://github.com/mermaid-js/mermaid/pull/3690](https://togithub.com/mermaid-js/mermaid/pull/3690) - Added and configured cspell plugin to eslint by [@​devcer](https://togithub.com/devcer) in [https://github.com/mermaid-js/mermaid/pull/3604](https://togithub.com/mermaid-js/mermaid/pull/3604) - fix: gantt demo diagrams ([#​3655](https://togithub.com/mermaid-js/mermaid/issues/3655)) by [@​isinek](https://togithub.com/isinek) in [https://github.com/mermaid-js/mermaid/pull/3688](https://togithub.com/mermaid-js/mermaid/pull/3688) - Chore/3697 eslint curly by [@​jeroenekkelkamp](https://togithub.com/jeroenekkelkamp) in [https://github.com/mermaid-js/mermaid/pull/3698](https://togithub.com/mermaid-js/mermaid/pull/3698) - Update sequenceDiagram.md by [@​imgss](https://togithub.com/imgss) in [https://github.com/mermaid-js/mermaid/pull/3707](https://togithub.com/mermaid-js/mermaid/pull/3707) - Use `eslint-plugin-tsdoc` for TypeScript files instead of `eslint-plugin-jsdoc` by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3708](https://togithub.com/mermaid-js/mermaid/pull/3708) - chore(deps): pin dependencies by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3713](https://togithub.com/mermaid-js/mermaid/pull/3713) - chore(deps): update all non-major dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3714](https://togithub.com/mermaid-js/mermaid/pull/3714) - Order pie chart slices clockwise by order of entries by [@​jasmaa](https://togithub.com/jasmaa) in [https://github.com/mermaid-js/mermaid/pull/3609](https://togithub.com/mermaid-js/mermaid/pull/3609) - fix: border attribute does not work in a certain writing style by [@​maiermic](https://togithub.com/maiermic) in [https://github.com/mermaid-js/mermaid/pull/3636](https://togithub.com/mermaid-js/mermaid/pull/3636) - add the way to add notes to class diagram by [@​DKurilo](https://togithub.com/DKurilo) in [https://github.com/mermaid-js/mermaid/pull/3647](https://togithub.com/mermaid-js/mermaid/pull/3647) - add statement aliases for ER diagram by [@​DKurilo](https://togithub.com/DKurilo) in [https://github.com/mermaid-js/mermaid/pull/3649](https://togithub.com/mermaid-js/mermaid/pull/3649) - fix: Fix useMaxWidth option for git graph by [@​uttk](https://togithub.com/uttk) in [https://github.com/mermaid-js/mermaid/pull/3652](https://togithub.com/mermaid-js/mermaid/pull/3652) - [#​3659](https://togithub.com/mermaid-js/mermaid/issues/3659) Adding height when not using maxWidth by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3668](https://togithub.com/mermaid-js/mermaid/pull/3668) - Change fill attribute to style by [@​CalebUsadi](https://togithub.com/CalebUsadi) in [https://github.com/mermaid-js/mermaid/pull/3719](https://togithub.com/mermaid-js/mermaid/pull/3719) - feat: \[State diagram] Add classDefs and classes to states by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3644](https://togithub.com/mermaid-js/mermaid/pull/3644) - Fill inheritance arrow with background color by [@​vallsv](https://togithub.com/vallsv) in [https://github.com/mermaid-js/mermaid/pull/3543](https://togithub.com/mermaid-js/mermaid/pull/3543) - Ensure example code and rendered output are synced by [@​marcjansen](https://togithub.com/marcjansen) in [https://github.com/mermaid-js/mermaid/pull/3721](https://togithub.com/mermaid-js/mermaid/pull/3721) - fix(git): Support quoted branch names by [@​gibson042](https://togithub.com/gibson042) in [https://github.com/mermaid-js/mermaid/pull/3726](https://togithub.com/mermaid-js/mermaid/pull/3726) - docs: Add link to docs source by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3612](https://togithub.com/mermaid-js/mermaid/pull/3612) - chore(deps): update all non-major dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3736](https://togithub.com/mermaid-js/mermaid/pull/3736) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3737](https://togithub.com/mermaid-js/mermaid/pull/3737) - feat(gantt): Add option 'tickInterval' for custom tick interval by [@​DarkNami](https://togithub.com/DarkNami) in [https://github.com/mermaid-js/mermaid/pull/3729](https://togithub.com/mermaid-js/mermaid/pull/3729) - Fix/convert attr to style in er graph by [@​CalebUsadi](https://togithub.com/CalebUsadi) in [https://github.com/mermaid-js/mermaid/pull/3722](https://togithub.com/mermaid-js/mermaid/pull/3722) - update user story link for [#​3740](https://togithub.com/mermaid-js/mermaid/issues/3740) by [@​6footGeek](https://togithub.com/6footGeek) in [https://github.com/mermaid-js/mermaid/pull/3741](https://togithub.com/mermaid-js/mermaid/pull/3741) - Improved New Documentation by [@​emersonbottero](https://togithub.com/emersonbottero) in [https://github.com/mermaid-js/mermaid/pull/3678](https://togithub.com/mermaid-js/mermaid/pull/3678) - chore: fix cSpell word entry misspelling "mermiad" -> "mermaid" by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3751](https://togithub.com/mermaid-js/mermaid/pull/3751) - Fix link to CSS classes by [@​hugovk](https://togithub.com/hugovk) in [https://github.com/mermaid-js/mermaid/pull/3752](https://togithub.com/mermaid-js/mermaid/pull/3752) - docs: Update references to default config in directives page by [@​raptor0929](https://togithub.com/raptor0929) in [https://github.com/mermaid-js/mermaid/pull/3738](https://togithub.com/mermaid-js/mermaid/pull/3738) - Fix link relative links to documentation files by [@​spier](https://togithub.com/spier) in [https://github.com/mermaid-js/mermaid/pull/3760](https://togithub.com/mermaid-js/mermaid/pull/3760) - chore(deps): update all non-major dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3769](https://togithub.com/mermaid-js/mermaid/pull/3769) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3770](https://togithub.com/mermaid-js/mermaid/pull/3770) - Fix CSpell by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3753](https://togithub.com/mermaid-js/mermaid/pull/3753) - Live edits for Docs by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3755](https://togithub.com/mermaid-js/mermaid/pull/3755) - Switch CDN to unpkg.com by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3777](https://togithub.com/mermaid-js/mermaid/pull/3777) - chore: Housekeeping by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3783](https://togithub.com/mermaid-js/mermaid/pull/3783) - Pnpm issue reproduction by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3784](https://togithub.com/mermaid-js/mermaid/pull/3784) - fix(deps): update all non-major dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3790](https://togithub.com/mermaid-js/mermaid/pull/3790) - chore: clean up code in mermaidAPI render() and write specs/tests by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3684](https://togithub.com/mermaid-js/mermaid/pull/3684) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3791](https://togithub.com/mermaid-js/mermaid/pull/3791) - fix(deps): update dependency rollup to v3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3674](https://togithub.com/mermaid-js/mermaid/pull/3674) - Add GHA that will check links + Fix broken links by [@​spier](https://togithub.com/spier) in [https://github.com/mermaid-js/mermaid/pull/3765](https://togithub.com/mermaid-js/mermaid/pull/3765) - chore: Merge master to develop by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3780](https://togithub.com/mermaid-js/mermaid/pull/3780) - bug: change shiki getHighlighter import by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3804](https://togithub.com/mermaid-js/mermaid/pull/3804) - Fix [#​3799](https://togithub.com/mermaid-js/mermaid/issues/3799): Remove `type` from package.json by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3802](https://togithub.com/mermaid-js/mermaid/pull/3802) - CI: disable pinning dependencies by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3735](https://togithub.com/mermaid-js/mermaid/pull/3735) - bug: State diagram fix classes type by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3798](https://togithub.com/mermaid-js/mermaid/pull/3798) - Remove extra arrow and adjust cross position by [@​ishuen](https://togithub.com/ishuen) in [https://github.com/mermaid-js/mermaid/pull/3641](https://togithub.com/mermaid-js/mermaid/pull/3641) - comments in states are skipped now by [@​avijit1258](https://togithub.com/avijit1258) in [https://github.com/mermaid-js/mermaid/pull/3762](https://togithub.com/mermaid-js/mermaid/pull/3762) - feat: Redirect old documentation links. by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3797](https://togithub.com/mermaid-js/mermaid/pull/3797) - Mindmap integration docs by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3810](https://togithub.com/mermaid-js/mermaid/pull/3810) - Use `github-dark` to highlight fence blocks in vitepress docs by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3807](https://togithub.com/mermaid-js/mermaid/pull/3807) - chore(deps): update lycheeverse/lychee-action action to v1.5.4 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3827](https://togithub.com/mermaid-js/mermaid/pull/3827) - chore(deps): update pnpm to v7.17.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3828](https://togithub.com/mermaid-js/mermaid/pull/3828) - feat: Title support via front matter for ER, state, class, git, and graph diagrams by [@​MasonM](https://togithub.com/MasonM) in [https://github.com/mermaid-js/mermaid/pull/3706](https://togithub.com/mermaid-js/mermaid/pull/3706) - Replace `dagre`/`dagre-d3` with `dagre-d3-es` by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3809](https://togithub.com/mermaid-js/mermaid/pull/3809) - Add package visualizations by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3823](https://togithub.com/mermaid-js/mermaid/pull/3823) - [#​3882](https://togithub.com/mermaid-js/mermaid/issues/3882) fix for issues with mindmaps with only a single node by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3833](https://togithub.com/mermaid-js/mermaid/pull/3833) - [#​3778](https://togithub.com/mermaid-js/mermaid/issues/3778) Adding a hexgon shape by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3834](https://togithub.com/mermaid-js/mermaid/pull/3834) - Fix for [#​3835](https://togithub.com/mermaid-js/mermaid/issues/3835), makes it possible to style path elements by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3836](https://togithub.com/mermaid-js/mermaid/pull/3836) - [#​3831](https://togithub.com/mermaid-js/mermaid/issues/3831) Re-enabling themes for er diagrams by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3837](https://togithub.com/mermaid-js/mermaid/pull/3837) - (chore) remove console stmt in pieDetector by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3840](https://togithub.com/mermaid-js/mermaid/pull/3840) - Revert "Added pie" by [@​pbrolin47](https://togithub.com/pbrolin47) in [https://github.com/mermaid-js/mermaid/pull/3842](https://togithub.com/mermaid-js/mermaid/pull/3842) - Fix typos by [@​endolith](https://togithub.com/endolith) in [https://github.com/mermaid-js/mermaid/pull/3820](https://togithub.com/mermaid-js/mermaid/pull/3820) - (feat) state classDef documentation by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3841](https://togithub.com/mermaid-js/mermaid/pull/3841) - Integrations added - Visual Studio Code \[Polyglot Interactive Notebooks] by [@​dfinke](https://togithub.com/dfinke) in [https://github.com/mermaid-js/mermaid/pull/3821](https://togithub.com/mermaid-js/mermaid/pull/3821) - Reduce mermaid size by 31% by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3825](https://togithub.com/mermaid-js/mermaid/pull/3825) - fix: LintStaged by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3844](https://togithub.com/mermaid-js/mermaid/pull/3844) - Add official vim plugin to list in integrations by [@​craigmac](https://togithub.com/craigmac) in [https://github.com/mermaid-js/mermaid/pull/3847](https://togithub.com/mermaid-js/mermaid/pull/3847) - chore(deps): remove dependency on `graphlib` by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3861](https://togithub.com/mermaid-js/mermaid/pull/3861) - chore(deps): update pnpm to v7.17.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3862](https://togithub.com/mermaid-js/mermaid/pull/3862) - Make gitgraph snapshots consistent in E2E tests by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3860](https://togithub.com/mermaid-js/mermaid/pull/3860) - Use stylis to prepend idSelector by [@​DanInProgress](https://togithub.com/DanInProgress) in [https://github.com/mermaid-js/mermaid/pull/3829](https://togithub.com/mermaid-js/mermaid/pull/3829) - Use current mermaid version in docs. by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3846](https://togithub.com/mermaid-js/mermaid/pull/3846) - Add support for [@​include](https://togithub.com/include) in docs by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3863](https://togithub.com/mermaid-js/mermaid/pull/3863) - Housekeeping with eslint-unicorn by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3845](https://togithub.com/mermaid-js/mermaid/pull/3845) - chore: delete functions not used in diagrams/c4 code (dead code) by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3871](https://togithub.com/mermaid-js/mermaid/pull/3871) - Switch back to jsdelivr by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3873](https://togithub.com/mermaid-js/mermaid/pull/3873) - 3882 edge labels by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3883](https://togithub.com/mermaid-js/mermaid/pull/3883) - Small fix for issue [#​3881](https://togithub.com/mermaid-js/mermaid/issues/3881) by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3884](https://togithub.com/mermaid-js/mermaid/pull/3884) - Defects/issue 3878 by [@​MrCoder](https://togithub.com/MrCoder) in [https://github.com/mermaid-js/mermaid/pull/3880](https://togithub.com/mermaid-js/mermaid/pull/3880) - chore(docs): Auto build docs by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3547](https://togithub.com/mermaid-js/mermaid/pull/3547) - docs: refactor Theming doc by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3889](https://togithub.com/mermaid-js/mermaid/pull/3889) - Feat: Add aria-describedby, aria-roledescription by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3808](https://togithub.com/mermaid-js/mermaid/pull/3808) - Release/9.3.0 by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3911](https://togithub.com/mermaid-js/mermaid/pull/3911) #### New Contributors - [@​revolter](https://togithub.com/revolter) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3657](https://togithub.com/mermaid-js/mermaid/pull/3657) - [@​Some-Dood](https://togithub.com/Some-Dood) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3643](https://togithub.com/mermaid-js/mermaid/pull/3643) - [@​danangtomo](https://togithub.com/danangtomo) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3679](https://togithub.com/mermaid-js/mermaid/pull/3679) - [@​DKurilo](https://togithub.com/DKurilo) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3690](https://togithub.com/mermaid-js/mermaid/pull/3690) - [@​devcer](https://togithub.com/devcer) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3604](https://togithub.com/mermaid-js/mermaid/pull/3604) - [@​isinek](https://togithub.com/isinek) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3688](https://togithub.com/mermaid-js/mermaid/pull/3688) - [@​jeroenekkelkamp](https://togithub.com/jeroenekkelkamp) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3698](https://togithub.com/mermaid-js/mermaid/pull/3698) - [@​imgss](https://togithub.com/imgss) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3707](https://togithub.com/mermaid-js/mermaid/pull/3707) - [@​jasmaa](https://togithub.com/jasmaa) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3609](https://togithub.com/mermaid-js/mermaid/pull/3609) - [@​uttk](https://togithub.com/uttk) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3652](https://togithub.com/mermaid-js/mermaid/pull/3652) - [@​CalebUsadi](https://togithub.com/CalebUsadi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3719](https://togithub.com/mermaid-js/mermaid/pull/3719) - [@​marcjansen](https://togithub.com/marcjansen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3721](https://togithub.com/mermaid-js/mermaid/pull/3721) - [@​DarkNami](https://togithub.com/DarkNami) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3729](https://togithub.com/mermaid-js/mermaid/pull/3729) - [@​6footGeek](https://togithub.com/6footGeek) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3741](https://togithub.com/mermaid-js/mermaid/pull/3741) - [@​hugovk](https://togithub.com/hugovk) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3752](https://togithub.com/mermaid-js/mermaid/pull/3752) - [@​raptor0929](https://togithub.com/raptor0929) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3738](https://togithub.com/mermaid-js/mermaid/pull/3738) - [@​spier](https://togithub.com/spier) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3760](https://togithub.com/mermaid-js/mermaid/pull/3760) - [@​ishuen](https://togithub.com/ishuen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3641](https://togithub.com/mermaid-js/mermaid/pull/3641) - [@​avijit1258](https://togithub.com/avijit1258) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3762](https://togithub.com/mermaid-js/mermaid/pull/3762) - [@​MasonM](https://togithub.com/MasonM) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3706](https://togithub.com/mermaid-js/mermaid/pull/3706) - [@​endolith](https://togithub.com/endolith) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3820](https://togithub.com/mermaid-js/mermaid/pull/3820) - [@​dfinke](https://togithub.com/dfinke) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3821](https://togithub.com/mermaid-js/mermaid/pull/3821) - [@​craigmac](https://togithub.com/craigmac) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3847](https://togithub.com/mermaid-js/mermaid/pull/3847) - [@​DanInProgress](https://togithub.com/DanInProgress) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3829](https://togithub.com/mermaid-js/mermaid/pull/3829) - [@​MrCoder](https://togithub.com/MrCoder) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3880](https://togithub.com/mermaid-js/mermaid/pull/3880) - [@​huynhicode](https://togithub.com/huynhicode) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3889](https://togithub.com/mermaid-js/mermaid/pull/3889) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v9.2.2...v9.3.0
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/BirthdayResearch/contented). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 348 ++---------------------- packages/contented-preview/package.json | 2 +- 2 files changed, 25 insertions(+), 325 deletions(-) diff --git a/package-lock.json b/package-lock.json index 737d87ec..644af7aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5698,11 +5698,6 @@ "node": ">=12" } }, - "node_modules/d3-collection": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz", - "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==" - }, "node_modules/d3-color": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", @@ -5992,11 +5987,6 @@ "d3-selection": "2 - 3" } }, - "node_modules/d3-voronoi": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/d3-voronoi/-/d3-voronoi-1.1.4.tgz", - "integrity": "sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg==" - }, "node_modules/d3-zoom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz", @@ -6012,294 +6002,13 @@ "node": ">=12" } }, - "node_modules/dagre": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/dagre/-/dagre-0.8.5.tgz", - "integrity": "sha512-/aTqmnRta7x7MCCpExk7HQL2O4owCT2h8NT//9I1OQ9vt29Pa0BzSAkR5lwFUcQ7491yVi/3CXU9jQ5o0Mn2Sw==", - "dependencies": { - "graphlib": "^2.1.8", - "lodash": "^4.17.15" - } - }, - "node_modules/dagre-d3": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/dagre-d3/-/dagre-d3-0.6.4.tgz", - "integrity": "sha512-e/6jXeCP7/ptlAM48clmX4xTZc5Ek6T6kagS7Oz2HrYSdqcLZFLqpAfh7ldbZRFfxCZVyh61NEPR08UQRVxJzQ==", - "dependencies": { - "d3": "^5.14", - "dagre": "^0.8.5", - "graphlib": "^2.1.8", - "lodash": "^4.17.15" - } - }, - "node_modules/dagre-d3/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "node_modules/dagre-d3/node_modules/d3": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/d3/-/d3-5.16.0.tgz", - "integrity": "sha512-4PL5hHaHwX4m7Zr1UapXW23apo6pexCgdetdJ5kTmADpG/7T9Gkxw0M0tf/pjoB63ezCCm0u5UaFYy2aMt0Mcw==", - "dependencies": { - "d3-array": "1", - "d3-axis": "1", - "d3-brush": "1", - "d3-chord": "1", - "d3-collection": "1", - "d3-color": "1", - "d3-contour": "1", - "d3-dispatch": "1", - "d3-drag": "1", - "d3-dsv": "1", - "d3-ease": "1", - "d3-fetch": "1", - "d3-force": "1", - "d3-format": "1", - "d3-geo": "1", - "d3-hierarchy": "1", - "d3-interpolate": "1", - "d3-path": "1", - "d3-polygon": "1", - "d3-quadtree": "1", - "d3-random": "1", - "d3-scale": "2", - "d3-scale-chromatic": "1", - "d3-selection": "1", - "d3-shape": "1", - "d3-time": "1", - "d3-time-format": "2", - "d3-timer": "1", - "d3-transition": "1", - "d3-voronoi": "1", - "d3-zoom": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-array": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", - "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==" - }, - "node_modules/dagre-d3/node_modules/d3-axis": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-1.0.12.tgz", - "integrity": "sha512-ejINPfPSNdGFKEOAtnBtdkpr24c4d4jsei6Lg98mxf424ivoDP2956/5HDpIAtmHo85lqT4pruy+zEgvRUBqaQ==" - }, - "node_modules/dagre-d3/node_modules/d3-brush": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-1.1.6.tgz", - "integrity": "sha512-7RW+w7HfMCPyZLifTz/UnJmI5kdkXtpCbombUSs8xniAyo0vIbrDzDwUJB6eJOgl9u5DQOt2TQlYumxzD1SvYA==", - "dependencies": { - "d3-dispatch": "1", - "d3-drag": "1", - "d3-interpolate": "1", - "d3-selection": "1", - "d3-transition": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-chord": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-1.0.6.tgz", - "integrity": "sha512-JXA2Dro1Fxw9rJe33Uv+Ckr5IrAa74TlfDEhE/jfLOaXegMQFQTAgAw9WnZL8+HxVBRXaRGCkrNU7pJeylRIuA==", - "dependencies": { - "d3-array": "1", - "d3-path": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-color": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.4.1.tgz", - "integrity": "sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==" - }, - "node_modules/dagre-d3/node_modules/d3-contour": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-1.3.2.tgz", - "integrity": "sha512-hoPp4K/rJCu0ladiH6zmJUEz6+u3lgR+GSm/QdM2BBvDraU39Vr7YdDCicJcxP1z8i9B/2dJLgDC1NcvlF8WCg==", - "dependencies": { - "d3-array": "^1.1.1" - } - }, - "node_modules/dagre-d3/node_modules/d3-dispatch": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz", - "integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA==" - }, - "node_modules/dagre-d3/node_modules/d3-drag": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-1.2.5.tgz", - "integrity": "sha512-rD1ohlkKQwMZYkQlYVCrSFxsWPzI97+W+PaEIBNTMxRuxz9RF0Hi5nJWHGVJ3Om9d2fRTe1yOBINJyy/ahV95w==", + "node_modules/dagre-d3-es": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/dagre-d3-es/-/dagre-d3-es-7.0.6.tgz", + "integrity": "sha512-CaaE/nZh205ix+Up4xsnlGmpog5GGm81Upi2+/SBHxwNwrccBb3K51LzjZ1U6hgvOlAEUsVWf1xSTzCyKpJ6+Q==", "dependencies": { - "d3-dispatch": "1", - "d3-selection": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-dsv": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-1.2.0.tgz", - "integrity": "sha512-9yVlqvZcSOMhCYzniHE7EVUws7Fa1zgw+/EAV2BxJoG3ME19V6BQFBwI855XQDsxyOuG7NibqRMTtiF/Qup46g==", - "dependencies": { - "commander": "2", - "iconv-lite": "0.4", - "rw": "1" - }, - "bin": { - "csv2json": "bin/dsv2json", - "csv2tsv": "bin/dsv2dsv", - "dsv2dsv": "bin/dsv2dsv", - "dsv2json": "bin/dsv2json", - "json2csv": "bin/json2dsv", - "json2dsv": "bin/json2dsv", - "json2tsv": "bin/json2dsv", - "tsv2csv": "bin/dsv2dsv", - "tsv2json": "bin/dsv2json" - } - }, - "node_modules/dagre-d3/node_modules/d3-ease": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-1.0.7.tgz", - "integrity": "sha512-lx14ZPYkhNx0s/2HX5sLFUI3mbasHjSSpwO/KaaNACweVwxUruKyWVcb293wMv1RqTPZyZ8kSZ2NogUZNcLOFQ==" - }, - "node_modules/dagre-d3/node_modules/d3-fetch": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-1.2.0.tgz", - "integrity": "sha512-yC78NBVcd2zFAyR/HnUiBS7Lf6inSCoWcSxFfw8FYL7ydiqe80SazNwoffcqOfs95XaLo7yebsmQqDKSsXUtvA==", - "dependencies": { - "d3-dsv": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-force": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.2.1.tgz", - "integrity": "sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg==", - "dependencies": { - "d3-collection": "1", - "d3-dispatch": "1", - "d3-quadtree": "1", - "d3-timer": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-format": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz", - "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==" - }, - "node_modules/dagre-d3/node_modules/d3-geo": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.12.1.tgz", - "integrity": "sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg==", - "dependencies": { - "d3-array": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-hierarchy": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz", - "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==" - }, - "node_modules/dagre-d3/node_modules/d3-interpolate": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz", - "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==", - "dependencies": { - "d3-color": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-path": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", - "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==" - }, - "node_modules/dagre-d3/node_modules/d3-polygon": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-1.0.6.tgz", - "integrity": "sha512-k+RF7WvI08PC8reEoXa/w2nSg5AUMTi+peBD9cmFc+0ixHfbs4QmxxkarVal1IkVkgxVuk9JSHhJURHiyHKAuQ==" - }, - "node_modules/dagre-d3/node_modules/d3-quadtree": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.7.tgz", - "integrity": "sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA==" - }, - "node_modules/dagre-d3/node_modules/d3-random": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-1.1.2.tgz", - "integrity": "sha512-6AK5BNpIFqP+cx/sreKzNjWbwZQCSUatxq+pPRmFIQaWuoD+NrbVWw7YWpHiXpCQ/NanKdtGDuB+VQcZDaEmYQ==" - }, - "node_modules/dagre-d3/node_modules/d3-scale": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-2.2.2.tgz", - "integrity": "sha512-LbeEvGgIb8UMcAa0EATLNX0lelKWGYDQiPdHj+gLblGVhGLyNbaCn3EvrJf0A3Y/uOOU5aD6MTh5ZFCdEwGiCw==", - "dependencies": { - "d3-array": "^1.2.0", - "d3-collection": "1", - "d3-format": "1", - "d3-interpolate": "1", - "d3-time": "1", - "d3-time-format": "2" - } - }, - "node_modules/dagre-d3/node_modules/d3-scale-chromatic": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-1.5.0.tgz", - "integrity": "sha512-ACcL46DYImpRFMBcpk9HhtIyC7bTBR4fNOPxwVSl0LfulDAwyiHyPOTqcDG1+t5d4P9W7t/2NAuWu59aKko/cg==", - "dependencies": { - "d3-color": "1", - "d3-interpolate": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-selection": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-1.4.2.tgz", - "integrity": "sha512-SJ0BqYihzOjDnnlfyeHT0e30k0K1+5sR3d5fNueCNeuhZTnGw4M4o8mqJchSwgKMXCNFo+e2VTChiSJ0vYtXkg==" - }, - "node_modules/dagre-d3/node_modules/d3-shape": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", - "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", - "dependencies": { - "d3-path": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-time": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", - "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==" - }, - "node_modules/dagre-d3/node_modules/d3-time-format": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", - "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", - "dependencies": { - "d3-time": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-timer": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", - "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==" - }, - "node_modules/dagre-d3/node_modules/d3-transition": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-1.3.2.tgz", - "integrity": "sha512-sc0gRU4PFqZ47lPVHloMn9tlPcv8jxgOQg+0zjhfZXMQuvppjG6YuwdMBE0TuqCZjeJkLecku/l9R0JPcRhaDA==", - "dependencies": { - "d3-color": "1", - "d3-dispatch": "1", - "d3-ease": "1", - "d3-interpolate": "1", - "d3-selection": "^1.1.0", - "d3-timer": "1" - } - }, - "node_modules/dagre-d3/node_modules/d3-zoom": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-1.8.3.tgz", - "integrity": "sha512-VoLXTK4wvy1a0JpH2Il+F2CiOhVu7VRXWF5M/LroMIh3/zBAC3WAt7QoIvPibOavVo20hN6/37vwAsdBejLyKQ==", - "dependencies": { - "d3-dispatch": "1", - "d3-drag": "1", - "d3-interpolate": "1", - "d3-selection": "1", - "d3-transition": "1" + "d3": "^7.7.0", + "lodash-es": "^4.17.21" } }, "node_modules/dargs": { @@ -6620,9 +6329,9 @@ } }, "node_modules/dompurify": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.4.0.tgz", - "integrity": "sha512-Be9tbQMZds4a3C6xTmz68NlMfeONA//4dOavl/1rNw50E+/QO0KVpbcU0PcaW0nsQxurXls9ZocqFxk8R2mWEA==" + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.4.1.tgz", + "integrity": "sha512-ewwFzHzrrneRjxzmK6oVz/rZn9VWspGFRDb4/rRtIsM1n36t9AKma/ye8syCpcw+XJ25kOK/hOG7t1j2I2yBqA==" }, "node_modules/dot-prop": { "version": "6.0.1", @@ -7796,11 +7505,6 @@ "node": ">=0.10.0" } }, - "node_modules/fast-clone": { - "version": "1.5.13", - "resolved": "https://registry.npmjs.org/fast-clone/-/fast-clone-1.5.13.tgz", - "integrity": "sha512-0ez7coyFBQFjZtId+RJqJ+EQs61w9xARfqjqK0AD9vIUkSxWD4HvPt80+5evebZ1tTnv1GYKrPTipx7kOW5ipA==" - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -8477,14 +8181,6 @@ "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", "dev": true }, - "node_modules/graphlib": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/graphlib/-/graphlib-2.1.8.tgz", - "integrity": "sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A==", - "dependencies": { - "lodash": "^4.17.15" - } - }, "node_modules/handlebars": { "version": "4.7.7", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", @@ -8903,6 +8599,7 @@ "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -11039,7 +10736,13 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" }, "node_modules/lodash.castarray": { "version": "4.4.0", @@ -11667,19 +11370,16 @@ } }, "node_modules/mermaid": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-9.2.2.tgz", - "integrity": "sha512-6s7eKMqFJGS+0MYjmx8f6ZigqKBJVoSx5ql2gw6a4Aa+WJ49QiEJg7gPwywaBg3DZMs79UP7trESp4+jmaQccw==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-9.3.0.tgz", + "integrity": "sha512-mGl0BM19TD/HbU/LmlaZbjBi//tojelg8P/mxD6pPZTAYaI+VawcyBdqRsoUHSc7j71PrMdJ3HBadoQNdvP5cg==", "dependencies": { "@braintree/sanitize-url": "^6.0.0", "d3": "^7.0.0", - "dagre": "^0.8.5", - "dagre-d3": "^0.6.4", - "dompurify": "2.4.0", - "fast-clone": "^1.5.13", - "graphlib": "^2.1.8", + "dagre-d3-es": "7.0.6", + "dompurify": "2.4.1", "khroma": "^2.0.0", - "lodash": "^4.17.21", + "lodash-es": "^4.17.21", "moment-mini": "^2.24.0", "non-layered-tidy-tree-layout": "^2.0.2", "stylis": "^4.1.2", @@ -18110,7 +17810,7 @@ "@tailwindcss/typography": "0.5.8", "autoprefixer": "10.4.13", "clsx": "1.2.1", - "mermaid": "9.2.2", + "mermaid": "9.3.0", "next": "12.3.0", "next-sitemap": "3.1.42", "postcss": "8.4.20", diff --git a/packages/contented-preview/package.json b/packages/contented-preview/package.json index 5310a8b9..e69b20ea 100644 --- a/packages/contented-preview/package.json +++ b/packages/contented-preview/package.json @@ -13,7 +13,7 @@ "@tailwindcss/typography": "0.5.8", "autoprefixer": "10.4.13", "clsx": "1.2.1", - "mermaid": "9.2.2", + "mermaid": "9.3.0", "next": "12.3.0", "next-sitemap": "3.1.42", "postcss": "8.4.20",