@harbour-enterprises/superdoc 0.5.20 → 0.5.21

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.
@@ -52440,7 +52440,7 @@ function importCommentData({ docx }) {
52440
52440
  if (!comments) return;
52441
52441
  const { elements } = comments;
52442
52442
  if (!elements || !elements.length) return;
52443
- const { elements: allComments } = elements[0];
52443
+ const { elements: allComments = [] } = elements[0];
52444
52444
  const extractedComments = allComments.map((el) => {
52445
52445
  const { attributes } = el;
52446
52446
  const commentId = attributes["w:id"];
@@ -52845,7 +52845,7 @@ const _SuperConverter = class _SuperConverter {
52845
52845
  return;
52846
52846
  }
52847
52847
  }
52848
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.20") {
52848
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.21") {
52849
52849
  const customLocation = "docProps/custom.xml";
52850
52850
  if (!docx[customLocation]) {
52851
52851
  docx[customLocation] = generateCustomXml();
@@ -53092,7 +53092,7 @@ function storeSuperdocVersion(docx) {
53092
53092
  function generateCustomXml() {
53093
53093
  return DEFAULT_CUSTOM_XML;
53094
53094
  }
53095
- function generateSuperdocVersion(version2 = "0.5.20") {
53095
+ function generateSuperdocVersion(version2 = "0.5.21") {
53096
53096
  return {
53097
53097
  type: "element",
53098
53098
  name: "property",
@@ -53164,4 +53164,4 @@ export {
53164
53164
  twipsToLines as y,
53165
53165
  pixelsToTwips as z
53166
53166
  };
53167
- //# sourceMappingURL=converter-DYxnABsy.js.map
53167
+ //# sourceMappingURL=converter-_pm6PkIG.js.map