@zip.js/zip.js 2.7.3 → 2.7.4

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.
@@ -375,7 +375,7 @@ class ZipDirectoryEntry extends ZipEntry {
375
375
  const previousParent = parent;
376
376
  parent = parent.getChildByName(pathPart);
377
377
  if (!parent) {
378
- parent = new ZipDirectoryEntry(this.fs, pathPart, null, previousParent);
378
+ parent = new ZipDirectoryEntry(this.fs, pathPart, { data: entry }, previousParent);
379
379
  importedEntries.push(parent);
380
380
  }
381
381
  });
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.7.3",
6
+ "version": "2.7.4",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",