@docusaurus/theme-mermaid 3.9.2 → 3.10.1

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Docusaurus Theme Mermaid
1
+ # `@docusaurus/theme-mermaid`
2
2
 
3
3
  The mermaid components for Docusaurus.
4
4
 
package/lib/index.js CHANGED
@@ -46,17 +46,6 @@ async function themeMermaid() {
46
46
  !isServer && elkLayoutEnabled),
47
47
  }),
48
48
  ],
49
- // Workaround for weird Rspack/SWC issue
50
- // See https://github.com/facebook/docusaurus/issues/11430
51
- resolve: {
52
- alias: {
53
- ...(elkLayoutEnabled
54
- ? {}
55
- : {
56
- '@mermaid-js/layout-elk': false,
57
- }),
58
- },
59
- },
60
49
  };
61
50
  },
62
51
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-mermaid",
3
- "version": "3.9.2",
3
+ "version": "3.10.1",
4
4
  "description": "Mermaid components for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/theme-mermaid.d.ts",
@@ -33,17 +33,14 @@
33
33
  "copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
34
34
  },
35
35
  "dependencies": {
36
- "@docusaurus/core": "3.9.2",
37
- "@docusaurus/module-type-aliases": "3.9.2",
38
- "@docusaurus/theme-common": "3.9.2",
39
- "@docusaurus/types": "3.9.2",
40
- "@docusaurus/utils-validation": "3.9.2",
36
+ "@docusaurus/core": "3.10.1",
37
+ "@docusaurus/module-type-aliases": "3.10.1",
38
+ "@docusaurus/theme-common": "3.10.1",
39
+ "@docusaurus/types": "3.10.1",
40
+ "@docusaurus/utils-validation": "3.10.1",
41
41
  "mermaid": ">=11.6.0",
42
42
  "tslib": "^2.6.0"
43
43
  },
44
- "devDependencies": {
45
- "react-test-renderer": "^18.0.0"
46
- },
47
44
  "peerDependencies": {
48
45
  "@mermaid-js/layout-elk": "^0.1.9",
49
46
  "react": "^18.0.0 || ^19.0.0",
@@ -57,5 +54,5 @@
57
54
  "engines": {
58
55
  "node": ">=20.0"
59
56
  },
60
- "gitHead": "abfbe5621b08407bc3dcbe6111ff118d4c22f7a1"
57
+ "gitHead": "41c1a458ecb07d61b6df2761ea4bc1b13db49d12"
61
58
  }
package/src/index.ts CHANGED
@@ -49,18 +49,6 @@ export default async function themeMermaid(): Promise<Plugin<void>> {
49
49
  ),
50
50
  }),
51
51
  ],
52
-
53
- // Workaround for weird Rspack/SWC issue
54
- // See https://github.com/facebook/docusaurus/issues/11430
55
- resolve: {
56
- alias: {
57
- ...(elkLayoutEnabled
58
- ? {}
59
- : {
60
- '@mermaid-js/layout-elk': false,
61
- }),
62
- },
63
- },
64
52
  };
65
53
  },
66
54
  };