@zip.js/zip.js 2.6.78 → 2.6.79
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/README.md +6 -4
- package/dist/zip-fs-full.js +10 -1
- package/dist/zip-fs-full.min.js +1 -1
- package/dist/zip-fs.js +10 -1
- package/dist/zip-fs.min.js +1 -1
- package/index.cjs +10 -1
- package/lib/core/zip-fs-core.js +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -164,8 +164,10 @@ function downloadFile(blob) {
|
|
|
164
164
|
|
|
165
165
|
Run the code on Plunker: https://plnkr.co/edit/4sVljNIpqSUE9HCA?preview
|
|
166
166
|
|
|
167
|
-
|
|
168
|
-
https://github.com/gildas-lormeau/zip.js/tree/master/tests/all
|
|
167
|
+
## Demo of the FS API based on React
|
|
169
168
|
|
|
170
|
-
|
|
171
|
-
|
|
169
|
+
See https://gildas-lormeau.github.io/zipjs-react-app
|
|
170
|
+
|
|
171
|
+
## Tests
|
|
172
|
+
|
|
173
|
+
See https://github.com/gildas-lormeau/zip.js/tree/master/tests/all
|
package/dist/zip-fs-full.js
CHANGED
|
@@ -10578,7 +10578,16 @@
|
|
|
10578
10578
|
await initReaders(child, options);
|
|
10579
10579
|
} else {
|
|
10580
10580
|
const reader = child.reader = new child.Reader(child.data, options);
|
|
10581
|
-
|
|
10581
|
+
try {
|
|
10582
|
+
await initStream(reader);
|
|
10583
|
+
} catch (error) {
|
|
10584
|
+
try {
|
|
10585
|
+
error.entryId = child.id;
|
|
10586
|
+
} catch (_error) {
|
|
10587
|
+
// ignored
|
|
10588
|
+
}
|
|
10589
|
+
throw error;
|
|
10590
|
+
}
|
|
10582
10591
|
child.uncompressedSize = reader.size;
|
|
10583
10592
|
}
|
|
10584
10593
|
}));
|