@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.
- package/dist/zip-fs-full.js +2 -2
- package/dist/zip-fs-full.min.js +1 -1
- package/dist/zip-fs.js +2 -2
- package/dist/zip-fs.min.js +1 -1
- package/index.cjs +2 -2
- package/index.d.ts +4 -4
- package/lib/core/zip-fs-core.js +2 -2
- package/package.json +1 -1
package/dist/zip-fs-full.js
CHANGED
|
@@ -10797,12 +10797,12 @@
|
|
|
10797
10797
|
}
|
|
10798
10798
|
|
|
10799
10799
|
async function addFileSystemHandle(zipEntry, handle, options) {
|
|
10800
|
-
|
|
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();
|