In another project i was working on I had this error show up:
[DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
After some digging i figured out that it was because of the fd-slicer dependency that yauzl was using, and it seemed the repo owner isn't maintaining it anymore. (see that one closed PR: https://github.com/andrewrk/node-fd-slicer/pull/4)
These changes in the fork break compatibility with versions up to 4 of Node.
In another project i was working on I had this error show up:
After some digging i figured out that it was because of the fd-slicer dependency that yauzl was using, and it seemed the repo owner isn't maintaining it anymore. (see that one closed PR: https://github.com/andrewrk/node-fd-slicer/pull/4)
These changes in the fork break compatibility with versions up to 4 of Node.