ZJONSSON / node-unzipper

node.js cross-platform unzip using streams
Other
424 stars 114 forks source link

#261 move away from unmaintained fstream #317

Closed AyushAher closed 3 weeks ago

AyushAher commented 4 weeks ago

Moved from fstream to fs-extra package, as fstream is no longer supported, and its dependencies contain vulnerabilities.

Changes:

Issues:

261

ZJONSSON commented 4 weeks ago

Thanks @AyushAher, please ensure PR is passing all tests before I can review it. Also please submit PR without style changes for now, only the material code changes required for the replacement library.

AyushAher commented 4 weeks ago

@ZJONSSON Please Check now, I have updated the code as per your comments.

ZJONSSON commented 3 weeks ago

@AyushAher tests are still failing (eslint). Please ensure all tests pass by either running locally or by running github actions on your fork.

Also, please remove the axios code into a separate PR if you want to submit that code. We should not "replace" url source but instead create a new one called axios and also update readme

ZJONSSON commented 3 weeks ago

@AyushAher thank you for actively participating. Your idea of using fs-extra has been implemented here: https://github.com/ZJONSSON/node-unzipper/pull/318

I'm closing this PR because of the following issues:

Thanks again! If you want to pursue Axios, please do so as a separate source (i.e. url should use request and axios should use axios etc).