EvanOxfeld / node-unzip

node.js cross-platform unzip using streams
MIT License
613 stars 343 forks source link

Using transform stream before piping to unzip results in invalid signature (test case inside) #61

Open berstend opened 10 years ago

berstend commented 10 years ago

I try to strip off crx headers before piping the data to unzip. Although it's a valid zip file after transforming node-unzip is throwing an invalid signature error.

I've extracted a simple test which can be found here: https://github.com/berstend/unzip-bug