@office-open/xml 0.9.5 → 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.
- package/dist/utils.mjs +1 -1
- 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
|
-
|
|
105
|
+
for (const found of findDeep(child, name)) result.push(found);
|
|
106
106
|
}
|
|
107
107
|
return result;
|
|
108
108
|
}
|