@xyd-js/content 0.0.0-build-60554d1-20251028180454 → 0.0.0-build-c7bdbdb-20251129215505

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyd-js/content",
3
- "version": "0.0.0-build-60554d1-20251028180454",
3
+ "version": "0.0.0-build-c7bdbdb-20251129215505",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",
@@ -38,14 +38,14 @@
38
38
  "unist-util-visit": "^5.0.0",
39
39
  "vfile": "^6.0.3",
40
40
  "vfile-matter": "^5.0.1",
41
- "@xyd-js/context": "0.0.0-build-60554d1-20251028180454",
42
- "@xyd-js/core": "0.0.0-build-60554d1-20251028180454",
43
- "@xyd-js/gql": "0.0.0-build-60554d1-20251028180454",
44
- "@xyd-js/openapi": "0.0.0-build-60554d1-20251028180454",
45
- "@xyd-js/sources": "0.0.0-build-60554d1-20251028180454"
41
+ "@xyd-js/core": "0.0.0-build-c7bdbdb-20251129215505",
42
+ "@xyd-js/gql": "0.0.0-build-c7bdbdb-20251129215505",
43
+ "@xyd-js/context": "0.0.0-build-c7bdbdb-20251129215505",
44
+ "@xyd-js/openapi": "0.0.0-build-c7bdbdb-20251129215505",
45
+ "@xyd-js/sources": "0.0.0-build-c7bdbdb-20251129215505"
46
46
  },
47
47
  "peerDependencies": {
48
- "@xyd-js/components": "0.0.0-build-60554d1-20251028180454"
48
+ "@xyd-js/components": "0.0.0-build-c7bdbdb-20251129215505"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^22.14.1",
@@ -104,7 +104,9 @@ export async function thirdPartyRehypePlugins(settings?: Settings) {
104
104
  ]
105
105
 
106
106
  if (settings?.integrations?.diagrams) {
107
- plugins.push(await getMermaidPlugin())
107
+ const options = typeof settings.integrations.diagrams === 'object' ? settings.integrations.diagrams : {};
108
+
109
+ plugins.push([await getMermaidPlugin(), options])
108
110
  }
109
111
 
110
112
  return plugins