From d91c23e93fd500a7e9a70acc8ee3cadd056694f9 Mon Sep 17 00:00:00 2001 From: Gildas Date: Tue, 23 Apr 2024 18:54:15 +0200 Subject: [PATCH] use CompressionStream API when available --- demos/demo-create-file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/demo-create-file.js b/demos/demo-create-file.js index 1cd2acfdf..9c4b171c4 100644 --- a/demos/demo-create-file.js +++ b/demos/demo-create-file.js @@ -14,7 +14,7 @@ return { addFile(file, options) { if (!zipWriter) { - zipWriter = new zip.ZipWriter(new zip.BlobWriter("application/zip"), { bufferedWrite: true, useCompressionStream: false }); + zipWriter = new zip.ZipWriter(new zip.BlobWriter("application/zip"), { bufferedWrite: true }); } return zipWriter.add(file.name, new zip.BlobReader(file), options); },