@office-open/xml 0.9.4 → 0.9.6

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.
Files changed (2) hide show
  1. package/dist/utils.mjs +1 -1
  2. package/package.json +1 -1
package/dist/utils.mjs CHANGED
@@ -102,7 +102,7 @@ function findDeep(parent, name) {
102
102
  if (!parent) return result;
103
103
  for (const child of parent.elements ?? []) {
104
104
  if (child.name === name) result.push(child);
105
- result.push(...findDeep(child, name));
105
+ for (const found of findDeep(child, name)) result.push(found);
106
106
  }
107
107
  return result;
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-open/xml",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "description": "XML parsing and serialization for Office Open XML. Zero dependencies, drop-in replacement for xml + xml-js.",
5
5
  "keywords": [
6
6
  "office-open",