vue-devui 1.6.28 → 1.6.30

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.
@@ -6832,7 +6832,8 @@ function parseCodeToSingle(container, code, options) {
6832
6832
  diff2HtmlUi.draw();
6833
6833
  }
6834
6834
  function generateNumberTdObj(tdNodes) {
6835
- const lineNumber = parseInt(tdNodes[0].innerText) || -1;
6835
+ var _a;
6836
+ const lineNumber = ((_a = tdNodes[0]) == null ? void 0 : _a.innerText) ? parseInt(tdNodes[0].innerText) : -1;
6836
6837
  if (lineNumber !== -1) {
6837
6838
  return { [lineNumber]: tdNodes };
6838
6839
  }