@mintlify/cli 4.0.1416 → 4.0.1418

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.
@@ -3158,7 +3158,8 @@ function renderMdxEsm(state, node) {
3158
3158
  state.closeBlock();
3159
3159
  }
3160
3160
  function stringifyMdxNode(children) {
3161
- const result = unified().use(remarkMdx2).use(remarkGfm2).use(remarkStringify).stringify({ type: "root", children });
3161
+ const wrapped = children.map((child) => (child === null || child === void 0 ? void 0 : child.type) === "mdxJsxTextElement" ? { type: "paragraph", children: [child] } : child);
3162
+ const result = unified().use(remarkMdx2).use(remarkGfm2).use(remarkStringify).stringify({ type: "root", children: wrapped });
3162
3163
  return typeof result === "string" ? result : String(result);
3163
3164
  }
3164
3165
  function renderMermaidBlock(state, node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/cli",
3
- "version": "4.0.1416",
3
+ "version": "4.0.1418",
4
4
  "description": "The Mintlify CLI",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -45,12 +45,12 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@inquirer/prompts": "7.9.0",
48
- "@mintlify/common": "1.0.1100",
49
- "@mintlify/link-rot": "3.0.1301",
48
+ "@mintlify/common": "1.0.1101",
49
+ "@mintlify/link-rot": "3.0.1302",
50
50
  "@mintlify/models": "0.0.350",
51
- "@mintlify/prebuild": "1.0.1253",
52
- "@mintlify/previewing": "4.0.1325",
53
- "@mintlify/validation": "0.1.834",
51
+ "@mintlify/prebuild": "1.0.1254",
52
+ "@mintlify/previewing": "4.0.1326",
53
+ "@mintlify/validation": "0.1.835",
54
54
  "adm-zip": "0.6.0",
55
55
  "chalk": "5.2.0",
56
56
  "color": "4.2.3",
@@ -82,7 +82,7 @@
82
82
  "keytar": "7.9.0"
83
83
  },
84
84
  "devDependencies": {
85
- "@mintlify/editor": "0.0.311",
85
+ "@mintlify/editor": "0.0.313",
86
86
  "@mintlify/ts-config": "2.0.2",
87
87
  "@tsconfig/recommended": "1.0.2",
88
88
  "@types/detect-port": "1.3.2",
@@ -101,5 +101,5 @@
101
101
  "vitest": "2.1.9",
102
102
  "vitest-mock-process": "1.0.4"
103
103
  },
104
- "gitHead": "574552f21f71428bb3398e9723dc8404fb319f01"
104
+ "gitHead": "e41a6a6783205d3bdd3a8af76194f34957519309"
105
105
  }