The adm-zip package is actively maintained, popular with 3.5M weekly downloads, and lightweight with no dependencies.
It requires Node.js >=6 so I have updated the engines field in package.json accordingly. I don't think this should be a problem since Node versions older than 6 have been out of support for a long time.
Also, it doesn't use streams like unzipper did. I think this is a good change since extracting a ZIP archive using a stream is inherently unreliable due to the way ZIP files are structured (see https://github.com/thejoshwolfe/yauzl/issues/12).
Fixes #920 by replacing the problematic
unzipper
package (see https://github.com/ZJONSSON/node-unzipper/issues/271) withadm-zip
.The
adm-zip
package is actively maintained, popular with 3.5M weekly downloads, and lightweight with no dependencies.It requires Node.js >=6 so I have updated the
engines
field in package.json accordingly. I don't think this should be a problem since Node versions older than 6 have been out of support for a long time.Also, it doesn't use streams like
unzipper
did. I think this is a good change since extracting a ZIP archive using a stream is inherently unreliable due to the way ZIP files are structured (see https://github.com/thejoshwolfe/yauzl/issues/12).