@zip.js/zip.js 2.6.74 → 2.6.75

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