Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update dependency mermaid to v12

renovate[bot]6214c230714d
diff --git a/apps/client/package.json b/apps/client/package.json
index 3b00d25501..3481e5607a 100644
--- a/apps/client/package.json
+++ b/apps/client/package.json
@@ -58,7 +58,7 @@
"maplibre-gl": "6.9.0",
"mark.js": "8.11.1",
"marked": "18.0.12",
- "mermaid": "11.17.2",
+ "mermaid": "12.0.0",
"mind-elixir": "5.15.1",
"panzoom": "9.4.4",
"preact": "10.29.8",
diff --git a/apps/standalone/package.json b/apps/standalone/package.json
index 27c15c12bf..79a688087b 100644
--- a/apps/standalone/package.json
+++ b/apps/standalone/package.json
@@ -52,7 +52,7 @@
"maplibre-gl": "6.9.0",
"mark.js": "8.11.1",
"marked": "18.0.12",
- "mermaid": "11.17.2",
+ "mermaid": "12.0.0",
"mind-elixir": "5.15.1",
"panzoom": "9.4.4",
"preact": "10.29.8",
diff --git a/packages/share-theme/package.json b/packages/share-theme/package.json
index a96c56b922..86002158b5 100644
--- a/packages/share-theme/package.json
+++ b/packages/share-theme/package.json
@@ -27,7 +27,7 @@
"@triliumnext/commons": "workspace:*",
"fuse.js": "7.5.0",
"katex": "0.18.7",
- "mermaid": "11.17.2"
+ "mermaid": "12.0.0"
},
"devDependencies": {
"@digitak/esrun": "3.2.26",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1ca41ec655..6cf75da761 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -18,7 +18,7 @@ overrides:
'@lezer/lr': 1.4.10
'@ai-sdk/provider-utils': 5.0.39
zod: 4.6.2
- mermaid: 11.17.2
+ mermaid: 12.0.0
preact: 10.29.8
roughjs: 4.6.6
'@types/express-serve-static-core': 5.1.3
@@ -211,7 +211,7 @@ importers:
'@mermaid-js/layout-elk':
specifier: 0.2.2
- version: 0.2.2([email protected])
+ version: 0.2.2([email protected])
'@popperjs/core':
specifier: 2.11.8
version: 2.11.8
@@ -327,8 +327,8 @@ importers:
specifier: 18.0.12
version: 18.0.12
mermaid:
- specifier: 11.17.2
- version: 11.17.2
+ specifier: 12.0.0
+ version: 12.0.0
mind-elixir:
specifier: 5.15.1
version: 5.15.1
@@ -828,7 +828,7 @@ importers:
version: 0.18.1(patch_hash=859531a8ff622291b895d36bcd33e07ced6fcb3bcc90631ccaf776789b03f0c2)([email protected]([email protected]))([email protected])
'@mermaid-js/layout-elk':
specifier: 0.2.2
- version: 0.2.2([email protected])
+ version: 0.2.2([email protected])
'@popperjs/core':
specifier: 2.11.8
version: 2.11.8
@@ -935,8 +935,8 @@ importers:
specifier: 18.0.12
version: 18.0.12
mermaid:
- specifier: 11.17.2
- version: 11.17.2
+ specifier: 12.0.0
+ version: 12.0.0
mind-elixir:
specifier: 5.15.1
version: 5.15.1
@@ -1347,8 +1347,8 @@ importers:
specifier: 0.18.7
version: 0.18.7
mermaid:
- specifier: 11.17.2
- version: 11.17.2
+ specifier: 12.0.0
+ version: 12.0.0
devDependencies:
'@digitak/esrun':
specifier: 3.2.26
@@ -1784,12 +1784,21 @@ packages:
'@chevrotain/[email protected]':
resolution: {integrity: sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==}
+ '@chevrotain/[email protected]':
+ resolution: {integrity: sha512-XTsjvDVB5nDZBQB8o0o/0ozNelQtn2KrUVteIHSlPd2VAV2utEb6JzyCJaJ8tGxACR4RiBNWy5uYUHX2eji88Q==}
+
'@chevrotain/[email protected]':
resolution: {integrity: sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==}
+ '@chevrotain/[email protected]':
+ resolution: {integrity: sha512-Z9zfXR5jNZb1Hlsd/p+4XWeUFugrHirq36bKzPWDSIacV+GPSVXdk+ahVWZTwjhNwofAWg/sZg58fyucKSQx5g==}
+
'@chevrotain/[email protected]':
resolution: {integrity: sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==}
+ '@chevrotain/[email protected]':
+ resolution: {integrity: sha512-nMU3Uj8naWer7xpZTYJdxbAs6RIv/dxYzkYU8GSwgUtcAAlzjcPfX1w+RKRcYG8POlzMeayOQ/znfwxEGo5ulw==}
+
'@chevrotain/[email protected]':
resolution: {integrity: sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==}
@@ -1799,6 +1808,9 @@ packages:
'@chevrotain/[email protected]':
resolution: {integrity: sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==}
+ '@chevrotain/[email protected]':
+ resolution: {integrity: sha512-4mudFAQ6H+MqBTfqLmU7G1ZwRzCLfJEooL/fsF6rCX5eePMbGhoy5n4g+G4vlh2muDcsCTJtL+uKbOzWxs5LHA==}
+
'@ckeditor/[email protected]':
resolution: {integrity: sha512-88OXfndKdAFSiJVNaQQhwRo5ym70vF6+ujycUmwZqqpFCSz9IRp++R5N1xndmc5e36X+8whhL6zG0r4wonJ3wg==}
@@ -3367,13 +3379,14 @@ packages:
'@mermaid-js/[email protected]':
resolution: {integrity: sha512-vnH3gtqfhyBiRVKNpT8iDENTw18q/OF0GF/SfYfHN43KZpu+6eZDEOMHTfNYAkpmUWJNgtRQFIS6BTc7vH/DYQ==}
peerDependencies:
- mermaid: 11.17.2
+ mermaid: 12.0.0
'@mermaid-js/[email protected]':
resolution: {integrity: sha512-lnjOhe7zyHjc+If7yT4zoedx2vo4sHaTmtkl1+or8BRTnCtDmcTpAjpzDSfCZrshM5bCoz0GyidzadJAH1xobA==}
- '@mermaid-js/[email protected]':
- resolution: {integrity: sha512-n12NohV3mrUyUL2o93IgG/ifeW9FTyeJn3zDxkhwa8MJ9Fxg3HQMlA3RiGmD/3UnJvheztkjjQAjA2T4LmUcpw==}
+ '@mermaid-js/[email protected]':
+ resolution: {integrity: sha512-K8BeapFUfrfxbRAUQAG5oBOCwo1+bNWzaVnPxTCutkfrTBn6T/j91FIhqxWJ32SUeQ9T3iy1zcmPZ5ROZEvDrg==}
+ engines: {node: '>=22.12.0'}
'@mixmark-io/[email protected]':
resolution: {integrity: sha512-Y28PR25bHXUg88kCV7nivXrP2Nj2RueZ3/l/jdx6J9f8J4nsEGcgX0Qe6lt7Pa+J79+kPiJU3LguR6O/6zrLOw==}
@@ -6246,6 +6259,9 @@ packages:
resolution: {integrity: sha512-ci2iJH6LeIkvP9eJW6gpueU8cnZhv85ELY8w8WiFtNjMHA5ad6pQLaJo9mEly/9qUyCpvqX8/POVUTf18/HFdw==}
+ resolution: {integrity: sha512-opLQzEVriiH1uUQ4Kctsd49bRoFDXGGSC4GUqj7pGyxM3RehRhvTlZJc1FL/Flew2p5uwxa1tUDWKzI4wNM8pg==}
+
resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
engines: {node: '>= 8.10.0'}
@@ -7449,9 +7465,6 @@ packages:
resolution: {integrity: sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==}
- resolution: {integrity: sha512-LB+xjSTEbjHE1cWsxu+tN2Xqr1kpi+V9aADI7sVM5ZMaXyYGPHULQMzpJMYqOTULK/73pUkWVzzObFRBkPr+hg==}
-
resolution: {integrity: sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==}
engines: {node: '>= 4.9.1'}
@@ -8951,8 +8964,9 @@ packages:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
- resolution: {integrity: sha512-V6K3C8EBdEsPFZXSKMJe6ppQOENxuHARr9GvHX4hh47lAbhMRD9qf4oEK7LoaRQxULMa80/qt5gHO73aCleBBg==}
+ resolution: {integrity: sha512-/wQXC9iBxoGV8p3erbvaXs9h77VyLDBH6GdayVjj3hEcSQhFU4N1WUhUppotCEqlIxI2pRMwjwBSwTB1MfZBgQ==}
+ engines: {node: '>=22.12.0'}
resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==}
@@ -10550,9 +10564,6 @@ packages:
resolution: {integrity: sha512-zEzXb0s5Cds7tqMH6rhZ05lcJydCWiQPEwiNngVqzsxCc962vLY4Uw+mW7od8kDH258k2Uz/JrOkdIAAhSh9VA==}
- resolution: {integrity: sha512-cEmp9QeXXRmjj/rVp9oyiqcvyocWab/HaoN4+bwFeZ7QzykJD6L3yD4v12K1x0tHpqRqVpJevN3gW7kyM39Bqg==}
-
resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
engines: {node: '>=8'}
@@ -12055,19 +12066,34 @@ snapshots:
'@chevrotain/types': 11.0.3
lodash-es: 4.18.1
+ '@chevrotain/[email protected]':
+ dependencies:
+ '@chevrotain/gast': 11.1.2
+ '@chevrotain/types': 11.1.2
+ lodash-es: 4.18.1
+
'@chevrotain/[email protected]':
dependencies:
'@chevrotain/types': 11.0.3
lodash-es: 4.18.1
+ '@chevrotain/[email protected]':
+ dependencies:
+ '@chevrotain/types': 11.1.2
+ lodash-es: 4.18.1
+
'@chevrotain/[email protected]': {}
+ '@chevrotain/[email protected]': {}
+
'@chevrotain/[email protected]': {}
'@chevrotain/[email protected]': {}
'@chevrotain/[email protected]': {}
+ '@chevrotain/[email protected]': {}
+
'@ckeditor/[email protected]':
dependencies:
'@ckeditor/ckeditor5-core': 48.5.0
@@ -13496,7 +13522,7 @@ snapshots:
dependencies:
'@excalidraw/markdown-to-text': 0.1.2
'@mermaid-js/parser': 0.6.3
- mermaid: 11.17.2
+ mermaid: 12.0.0
nanoid: 6.0.1
'@excalidraw/[email protected]': {}
@@ -14541,17 +14567,17 @@ snapshots:
'@mdn/[email protected]': {}
dependencies:
d3: 7.9.0
elkjs: 0.9.3
- mermaid: 11.17.2
+ mermaid: 12.0.0
'@mermaid-js/[email protected]':
dependencies:
langium: 3.3.1
- '@mermaid-js/[email protected]':
+ '@mermaid-js/[email protected]':
dependencies:
'@chevrotain/types': 11.1.2
@@ -18242,6 +18268,15 @@ snapshots:
'@chevrotain/utils': 11.0.3
lodash-es: 4.18.1
+ dependencies:
+ '@chevrotain/cst-dts-gen': 11.1.2
+ '@chevrotain/gast': 11.1.2
+ '@chevrotain/regexp-to-ast': 11.1.2
+ '@chevrotain/types': 11.1.2
+ '@chevrotain/utils': 11.1.2
+ lodash-es: 4.18.1
+
dependencies:
anymatch: 3.1.3
@@ -19755,10 +19790,6 @@ snapshots:
- dependencies:
- strictdom: 1.0.1
-
@@ -21440,13 +21471,14 @@ snapshots:
dependencies:
'@braintree/sanitize-url': 7.1.2
'@iconify/utils': 3.1.7
- '@mermaid-js/parser': 1.2.1
+ '@mermaid-js/parser': 2.0.0
'@types/d3': 7.4.3
'@upsetjs/venn.js': 2.0.0
+ chevrotain: 11.1.2
cytoscape: 3.34.3
cytoscape-cose-bilkent: 4.1.0([email protected])
cytoscape-fcose: 2.2.0([email protected])
@@ -21455,8 +21487,8 @@ snapshots:
dagre-d3-es: 7.0.14
dayjs: 1.11.23
dompurify: 3.4.15
+ elkjs: 0.9.3
es-toolkit: 1.52.0
- fastdom: 1.0.12
katex: 0.16.47
khroma: 2.1.0
marked: 16.4.2
@@ -23233,8 +23265,6 @@ snapshots:
- bare-abort-controller
- react-native-b4a
-
dependencies:
emoji-regex: 8.0.0
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index af1781478d..7b96b76e43 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -40,7 +40,7 @@ overrides:
# web-search tool). Pin the version `ai` itself is built against, and raise it with the next bump.
"@ai-sdk/provider-utils": "5.0.39"
"zod": "4.6.2"
- "mermaid": "11.17.2"
+ "mermaid": "12.0.0"
"preact": "10.29.8"
"roughjs": "4.6.6"
"@types/express-serve-static-core": "5.1.3"