@zip.js/zip.js 2.6.17 → 2.6.18
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 +6 -1
- package/dist/zip-fs-full.min.js +1 -1
- package/dist/zip-fs.js +6 -1
- package/dist/zip-fs.min.js +1 -1
- package/dist/zip-full.js +6 -1
- package/dist/zip-full.min.js +1 -1
- package/dist/zip-no-worker-deflate.min.js +1 -1
- package/dist/zip-no-worker-inflate.min.js +1 -1
- package/dist/zip-no-worker.min.js +1 -1
- package/dist/zip.js +6 -1
- package/dist/zip.min.js +1 -1
- package/lib/core/io.js +6 -1
- package/package.json +1 -1
package/dist/zip-fs-full.js
CHANGED
|
@@ -7687,7 +7687,12 @@
|
|
|
7687
7687
|
super();
|
|
7688
7688
|
const writer = this;
|
|
7689
7689
|
writer.contentType = contentType;
|
|
7690
|
-
writer.transformStream = new TransformStream(
|
|
7690
|
+
writer.transformStream = new TransformStream({
|
|
7691
|
+
transform(chunk, controller) {
|
|
7692
|
+
writer.size += chunk.length;
|
|
7693
|
+
controller.enqueue(chunk);
|
|
7694
|
+
}
|
|
7695
|
+
});
|
|
7691
7696
|
Object.defineProperty(this, "writable", {
|
|
7692
7697
|
get() {
|
|
7693
7698
|
return writer.transformStream.writable;
|