@zip.js/zip.js 2.7.8 → 2.7.10

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.
@@ -10797,12 +10797,12 @@
10797
10797
  }
10798
10798
 
10799
10799
  async function addFileSystemHandle(zipEntry, handle, options) {
10800
- await addFile(zipEntry, handle, []);
10800
+ return addFile(zipEntry, handle, []);
10801
10801
 
10802
10802
  async function addFile(parentEntry, handle, addedEntries) {
10803
10803
  try {
10804
10804
  if (handle.isFile || handle.isDirectory) {
10805
- handle = transformToFileSystemhandle(handle);
10805
+ handle = await transformToFileSystemhandle(handle);
10806
10806
  }
10807
10807
  if (handle.kind == "file") {
10808
10808
  const file = await handle.getFile();