@zip.js/zip.js 2.6.72 → 2.6.73

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.
@@ -218,15 +218,15 @@ class ZipDirectoryEntry extends ZipEntry {
218
218
 
219
219
  clone(deepClone) {
220
220
  const zipEntry = this;
221
- const clone = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
221
+ const clonedEntry = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
222
222
  if (deepClone) {
223
- clone.children = zipEntry.children.map(child => {
223
+ clonedEntry.children = zipEntry.children.map(child => {
224
224
  const clone = child.clone(deepClone);
225
225
  clone.parent = zipEntry;
226
- return clone;
226
+ return clonedEntry;
227
227
  });
228
228
  }
229
- return clone;
229
+ return clonedEntry;
230
230
  }
231
231
 
232
232
  addDirectory(name) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A JavaScript library to zip and unzip files in the browser, Deno and Node.js",
4
4
  "author": "Gildas Lormeau",
5
5
  "license": "BSD-3-Clause",
6
- "version": "2.6.72",
6
+ "version": "2.6.73",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",