mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 08:03:13 +09:00
ZipArchive exposed yauzl.ZipFile and yauzl.Entry in its public members and zipOutputStream took a yazl.ZipFile, so @types/yauzl and @types/yazl had to be runtime dependencies of @clusterio/lib. They pull in @types/node and undici-types, about 2.7 MB in every server install. Entries are now typed with a local ZipEntry interface, the yauzl ZipFile is private, and zipOutputStream takes any object with an outputStream and an error event. ZipWriter.addEntry reads the compressed bytes through the new ZipArchive.openRawStream. Both type packages move to devDependencies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Common Library for Clusterio
This package contains functionality shared between controller, host, ctl and/or plugins of Clusterio.
See the Clusterio repository for more information on Clusterio.