Skip to content

feat(preferred): add jszip to replacements - #1146

Merged
43081j merged 2 commits into
e18e:mainfrom
RizgarOzan:docs/jszip
Oct 10, 2026
Merged

43081j merged 2 commits into
e18e:mainfrom
RizgarOzan:docs/jszip

Conversation

@RizgarOzan

Copy link
Copy Markdown
Contributor

🔗 Linked issue

resolves #880

📚 Description

Adds jszip to the preferred manifest with fflate as the replacement (the fflate entry already exists from the pako PR), plus a docs page.

The page covers writing and reading an archive, since the shape is different: fflate takes a plain { name: Uint8Array } object (nested objects become folders) instead of a JSZip instance. It also points out that jszip stores files uncompressed by default while fflate deflates at level 6, so { level: 0 } is the equivalent. I left out CompressionStream because it only handles single deflate/gzip streams, not ZIP containers. jszip 3.10.2 came out in September after a four year gap, so the page doesn't call it unmaintained; it mentions the old dependencies it still pulls in (pako 1, readable-stream 2, lie, setimmediate).

Checked on Node 24 with jszip 3.10.2 and fflate 0.8.3: archives made by each library open in the other (files and folder entries), the page's snippets run as written, filter and level: 0 behave as described. Ran tsc, validate-modules.js (OK) and prettier --check on both files; sort-manifests keeps the same key order.

43081j
43081j previously approved these changes Oct 10, 2026
Comment thread docs/modules/jszip.md Outdated
@43081j
43081j merged commit a4f46db into e18e:main Oct 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Replacement]: jszip

2 participants