@readme/markdown 6.66.0 → 6.66.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/dist/main.js CHANGED
@@ -10658,7 +10658,7 @@ var tableCellInlineCode = function tableCellInlineCode() {
10658
10658
  tagName: 'code'
10659
10659
  }, function (inlineCodeNode) {
10660
10660
  var textNode = inlineCodeNode.children[0];
10661
- if (rxEscapedPipe.test(textNode.value)) {
10661
+ if (textNode && rxEscapedPipe.test(textNode.value)) {
10662
10662
  textNode.value = textNode.value.replace(rxEscapedPipe, '|');
10663
10663
  }
10664
10664
  });
package/dist/main.node.js CHANGED
@@ -11030,7 +11030,7 @@ var tableCellInlineCode = function tableCellInlineCode() {
11030
11030
  tagName: 'code'
11031
11031
  }, function (inlineCodeNode) {
11032
11032
  var textNode = inlineCodeNode.children[0];
11033
- if (rxEscapedPipe.test(textNode.value)) {
11033
+ if (textNode && rxEscapedPipe.test(textNode.value)) {
11034
11034
  textNode.value = textNode.value.replace(rxEscapedPipe, '|');
11035
11035
  }
11036
11036
  });
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.66.0",
5
+ "version": "6.66.1",
6
6
  "main": "dist/main.node.js",
7
7
  "browser": "dist/main.js",
8
8
  "files": [