Replaced node-unzip-2 to unzipper package which is more robust #708
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We are actively using
exceljs
in our company and noticed that sometimes we have a situation when CPU usage and memory consumption are very high if the source stream is broken or dead.After some investigation I noticed that
node-unzip-2
lib is the reason of this behaviour. Unfortunately it's not well supported and we didn't find the root cause of this problem.We've found the
unzipper
lib is a well supported fork of thenode-unzip
lib and it's pretty robust.In this PR,
node-unzip-2
is replaced to theunzipper
lib.Thanks a lot for the cool exceljs lib! 🤝