@mintlify/cli 4.0.1456 → 4.0.1457
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/bin/vendor/converter.js +5 -1
- package/package.json +3 -3
package/bin/vendor/converter.js
CHANGED
|
@@ -1605,7 +1605,7 @@ function handleFlowJsxInner(node, ctx, transformNode2, mapJsxChildren2) {
|
|
|
1605
1605
|
content: mapJsxChildren2(node, ctx)
|
|
1606
1606
|
};
|
|
1607
1607
|
}
|
|
1608
|
-
if (node.name === "table" && !hasSpannedCell(node)) {
|
|
1608
|
+
if (node.name === "table" && !hasSpannedCell(node) && !hasTableClass(node)) {
|
|
1609
1609
|
return handleHtmlTable(node, ctx, transformNode2, mapJsxChildren2);
|
|
1610
1610
|
}
|
|
1611
1611
|
if (HTML_ELEMENTS.has(node.name)) {
|
|
@@ -1841,6 +1841,10 @@ function handleTree(node) {
|
|
|
1841
1841
|
};
|
|
1842
1842
|
}
|
|
1843
1843
|
var CELL_SPAN_ATTRS = /* @__PURE__ */ new Set(["colspan", "colSpan", "rowspan", "rowSpan"]);
|
|
1844
|
+
var TABLE_CLASS_ATTRS = /* @__PURE__ */ new Set(["class", "className"]);
|
|
1845
|
+
function hasTableClass(node) {
|
|
1846
|
+
return node.attributes.some((a) => a.type === "mdxJsxAttribute" && TABLE_CLASS_ATTRS.has(a.name));
|
|
1847
|
+
}
|
|
1844
1848
|
function hasSpannedCell(node) {
|
|
1845
1849
|
if (isTableCellJsxNode(node) && node.attributes.some((a) => a.type === "mdxJsxAttribute" && CELL_SPAN_ATTRS.has(a.name))) {
|
|
1846
1850
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1457",
|
|
4
4
|
"description": "The Mintlify CLI",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"keytar": "7.9.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@mintlify/editor": "0.0.
|
|
89
|
+
"@mintlify/editor": "0.0.347",
|
|
90
90
|
"@mintlify/ts-config": "2.0.2",
|
|
91
91
|
"@tsconfig/recommended": "1.0.2",
|
|
92
92
|
"@types/detect-port": "1.3.2",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"vitest": "2.1.9",
|
|
106
106
|
"vitest-mock-process": "1.0.4"
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "299b232ba90dfbf18ad63091485467c3d53f4dbb"
|
|
109
109
|
}
|