@docusaurus/theme-mermaid 3.5.2 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/index.js +1 -1
- package/package.json +8 -8
- package/src/client/index.ts +1 -1
package/lib/client/index.js
CHANGED
|
@@ -73,7 +73,7 @@ export function useMermaidRenderResult({ text, config: providedConfig, }) {
|
|
|
73
73
|
.then(setResult)
|
|
74
74
|
.catch((e) => {
|
|
75
75
|
// Funky way to trigger parent React error boundary
|
|
76
|
-
// See https://
|
|
76
|
+
// See https://x.com/sebastienlorber/status/1628340871899893768
|
|
77
77
|
setResult(() => {
|
|
78
78
|
throw e;
|
|
79
79
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/theme-mermaid",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Mermaid components for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/theme-mermaid.d.ts",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@docusaurus/core": "3.
|
|
37
|
-
"@docusaurus/module-type-aliases": "3.
|
|
38
|
-
"@docusaurus/theme-common": "3.
|
|
39
|
-
"@docusaurus/types": "3.
|
|
40
|
-
"@docusaurus/utils-validation": "3.
|
|
41
|
-
"mermaid": "
|
|
36
|
+
"@docusaurus/core": "3.6.0",
|
|
37
|
+
"@docusaurus/module-type-aliases": "3.6.0",
|
|
38
|
+
"@docusaurus/theme-common": "3.6.0",
|
|
39
|
+
"@docusaurus/types": "3.6.0",
|
|
40
|
+
"@docusaurus/utils-validation": "3.6.0",
|
|
41
|
+
"mermaid": ">=10.4",
|
|
42
42
|
"tslib": "^2.6.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=18.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "05bba6d4f495ef6b0bec5d41453932bb97981830"
|
|
55
55
|
}
|
package/src/client/index.ts
CHANGED
|
@@ -103,7 +103,7 @@ export function useMermaidRenderResult({
|
|
|
103
103
|
.then(setResult)
|
|
104
104
|
.catch((e) => {
|
|
105
105
|
// Funky way to trigger parent React error boundary
|
|
106
|
-
// See https://
|
|
106
|
+
// See https://x.com/sebastienlorber/status/1628340871899893768
|
|
107
107
|
setResult(() => {
|
|
108
108
|
throw e;
|
|
109
109
|
});
|