@zip.js/zip.js 2.6.70 → 2.6.72

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.
@@ -10257,7 +10257,11 @@
10257
10257
  const zipEntry = this;
10258
10258
  const clone = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
10259
10259
  if (deepClone) {
10260
- clone.children = zipEntry.children.map(child => child.clone(deepClone));
10260
+ clone.children = zipEntry.children.map(child => {
10261
+ const clone = child.clone(deepClone);
10262
+ clone.parent = zipEntry;
10263
+ return clone;
10264
+ });
10261
10265
  }
10262
10266
  return clone;
10263
10267
  }