@zip.js/zip.js
Advanced tools
Comparing version 2.6.72 to 2.6.73
@@ -221,11 +221,11 @@ /* | ||
const zipEntry = this; | ||
const clone = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name); | ||
const clonedEntry = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name); | ||
if (deepClone) { | ||
clone.children = zipEntry.children.map(child => { | ||
clonedEntry.children = zipEntry.children.map(child => { | ||
const clone = child.clone(deepClone); | ||
clone.parent = zipEntry; | ||
return clone; | ||
return clonedEntry; | ||
}); | ||
} | ||
return clone; | ||
return clonedEntry; | ||
} | ||
@@ -232,0 +232,0 @@ |
@@ -6,3 +6,3 @@ { | ||
"license": "BSD-3-Clause", | ||
"version": "2.6.72", | ||
"version": "2.6.73", | ||
"type": "module", | ||
@@ -9,0 +9,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2784387