@zip.js/zip.js 2.6.71 → 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.
- package/dist/zip-fs-full.js +3 -2
- package/dist/zip-fs-full.min.js +1 -1
- package/dist/zip-fs.js +3 -2
- package/dist/zip-fs.min.js +1 -1
- package/index.cjs +3 -2
- package/lib/core/zip-fs-core.js +3 -2
- package/package.json +1 -1
package/dist/zip-fs-full.js
CHANGED
|
@@ -10258,8 +10258,9 @@
|
|
|
10258
10258
|
const clone = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
|
|
10259
10259
|
if (deepClone) {
|
|
10260
10260
|
clone.children = zipEntry.children.map(child => {
|
|
10261
|
-
child.clone(deepClone);
|
|
10262
|
-
|
|
10261
|
+
const clone = child.clone(deepClone);
|
|
10262
|
+
clone.parent = zipEntry;
|
|
10263
|
+
return clone;
|
|
10263
10264
|
});
|
|
10264
10265
|
}
|
|
10265
10266
|
return clone;
|