@readme/markdown 6.75.0-beta.76 → 6.75.0-beta.77
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/dist/main.js +2 -1
- package/dist/main.node.js +2 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -65262,6 +65262,7 @@ const alignToStyle = (align) => {
|
|
|
65262
65262
|
},
|
|
65263
65263
|
};
|
|
65264
65264
|
};
|
|
65265
|
+
const tables_to_jsx_isTableCell = (node) => ['tableHead', 'tableCell'].includes(node.type);
|
|
65265
65266
|
const visitor = (table, index, parent) => {
|
|
65266
65267
|
let hasFlowContent = false;
|
|
65267
65268
|
const tableCellVisitor = (cell) => {
|
|
@@ -65279,7 +65280,7 @@ const visitor = (table, index, parent) => {
|
|
|
65279
65280
|
}
|
|
65280
65281
|
});
|
|
65281
65282
|
};
|
|
65282
|
-
visit(table,
|
|
65283
|
+
visit(table, tables_to_jsx_isTableCell, tableCellVisitor);
|
|
65283
65284
|
if (!hasFlowContent) {
|
|
65284
65285
|
table.type = 'table';
|
|
65285
65286
|
return;
|
package/dist/main.node.js
CHANGED
|
@@ -66249,6 +66249,7 @@ const alignToStyle = (align) => {
|
|
|
66249
66249
|
},
|
|
66250
66250
|
};
|
|
66251
66251
|
};
|
|
66252
|
+
const tables_to_jsx_isTableCell = (node) => ['tableHead', 'tableCell'].includes(node.type);
|
|
66252
66253
|
const visitor = (table, index, parent) => {
|
|
66253
66254
|
let hasFlowContent = false;
|
|
66254
66255
|
const tableCellVisitor = (cell) => {
|
|
@@ -66266,7 +66267,7 @@ const visitor = (table, index, parent) => {
|
|
|
66266
66267
|
}
|
|
66267
66268
|
});
|
|
66268
66269
|
};
|
|
66269
|
-
visit(table,
|
|
66270
|
+
visit(table, tables_to_jsx_isTableCell, tableCellVisitor);
|
|
66270
66271
|
if (!hasFlowContent) {
|
|
66271
66272
|
table.type = 'table';
|
|
66272
66273
|
return;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@readme/markdown",
|
|
3
3
|
"description": "ReadMe's React-based Markdown parser",
|
|
4
4
|
"author": "Rafe Goldberg <rafe@readme.io>",
|
|
5
|
-
"version": "6.75.0-beta.
|
|
5
|
+
"version": "6.75.0-beta.77",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"browser": "dist/main.js",
|