emf-converter 4.11.2 → 4.11.3

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/browser.js CHANGED
@@ -22668,7 +22668,9 @@ var SvgContext = class {
22668
22668
  if (this.defs.length) {
22669
22669
  children.push({ tag: "defs", attrs: {}, children: this.defs });
22670
22670
  }
22671
- children.push(...pruneEmptySlots(this.body));
22671
+ for (const node of pruneEmptySlots(this.body)) {
22672
+ children.push(node);
22673
+ }
22672
22674
  return { tag: "svg", attrs, children };
22673
22675
  }
22674
22676
  };
package/dist/browser.mjs CHANGED
@@ -22666,7 +22666,9 @@ var SvgContext = class {
22666
22666
  if (this.defs.length) {
22667
22667
  children.push({ tag: "defs", attrs: {}, children: this.defs });
22668
22668
  }
22669
- children.push(...pruneEmptySlots(this.body));
22669
+ for (const node of pruneEmptySlots(this.body)) {
22670
+ children.push(node);
22671
+ }
22670
22672
  return { tag: "svg", attrs, children };
22671
22673
  }
22672
22674
  };
package/dist/index.js CHANGED
@@ -22669,7 +22669,9 @@ var SvgContext = class {
22669
22669
  if (this.defs.length) {
22670
22670
  children.push({ tag: "defs", attrs: {}, children: this.defs });
22671
22671
  }
22672
- children.push(...pruneEmptySlots(this.body));
22672
+ for (const node of pruneEmptySlots(this.body)) {
22673
+ children.push(node);
22674
+ }
22673
22675
  return { tag: "svg", attrs, children };
22674
22676
  }
22675
22677
  };
package/dist/index.mjs CHANGED
@@ -22667,7 +22667,9 @@ var SvgContext = class {
22667
22667
  if (this.defs.length) {
22668
22668
  children.push({ tag: "defs", attrs: {}, children: this.defs });
22669
22669
  }
22670
- children.push(...pruneEmptySlots(this.body));
22670
+ for (const node of pruneEmptySlots(this.body)) {
22671
+ children.push(node);
22672
+ }
22671
22673
  return { tag: "svg", attrs, children };
22672
22674
  }
22673
22675
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emf-converter",
3
- "version": "4.11.2",
3
+ "version": "4.11.3",
4
4
  "description": "Convert EMF/WMF metafile binaries to PNG data URLs or SVG (markup, data URL, React/JSX)",
5
5
  "keywords": [
6
6
  "canvas",