From 7bacef70d84b65317a80ae08f42e2d17b23b2171 Mon Sep 17 00:00:00 2001 From: David Junger Date: Fri, 19 Apr 2024 11:10:35 +0200 Subject: [PATCH 1/2] clone file.encodedName so the stream can be transferred safely --- src/zip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zip.ts b/src/zip.ts index 71476a9..33963d3 100644 --- a/src/zip.ts +++ b/src/zip.ts @@ -42,7 +42,7 @@ export async function* loadFiles(files: AsyncIterable Date: Fri, 19 Apr 2024 11:30:43 +0200 Subject: [PATCH 2/2] 1.6.4 --- CHANGES.md | 4 ++++ README.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ce8c232..f71d84f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +## 1.6.4: + +* bugfix: the output stream can now be transferred without breaking the central repository. + ## 1.6.3: * bugfix: cancelling the output stream will cause an error in the source iterator FOR REAL NOW diff --git a/README.md b/README.md index 524ccf0..d295796 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ In a different experiment using Deno to avoid storing very large output files, m Now, comparing bundle size is clearly unfair because the others do a bunch of things that my library doesn't. Here you go anyway (sizes are shown in decimal kilobytes): -| | `client-zip`@1.6.3 | fflate@0.7.4 | zip.js@2.7.14 | conflux@4.0.3 | JSZip@3.10.1 | +| | `client-zip`@1.6.4 | fflate@0.7.4 | zip.js@2.7.14 | conflux@4.0.3 | JSZip@3.10.1 | |--------------------|-------------------:|-------------:|--------------:|--------------:|--------------:| | minified | 4.8 kB | 29.8 kB | 163.2 kB | 198.8 kB | 94.9 kB | | minified + gzipped | 2.1 kB | 11 kB | 58 kB | 56.6 kB | 27.6 kB | diff --git a/package-lock.json b/package-lock.json index 0feab59..29e1df8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "client-zip", - "version": "1.6.3", + "version": "1.6.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "client-zip", - "version": "1.6.3", + "version": "1.6.4", "license": "MIT", "devDependencies": { "esbuild": "^0.17.19", diff --git a/package.json b/package.json index 3c5f867..a6683e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "client-zip", - "version": "1.6.3", + "version": "1.6.4", "description": "A tiny and fast client-side streaming ZIP generator", "browser": "index.js", "module": "index.js",