thejoshwolfe / yauzl

yet another unzip library for node
MIT License
736 stars 80 forks source link

[DEP0005] Replace fd-slicer dependency with fd-slicer2 fork #115

Closed nalhabash closed 9 months ago

nalhabash commented 4 years ago

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.

JoCat commented 4 years ago

@nalhabash thanks for fix

ArturoDent commented 3 years ago

Please merge these fixes.

ghost commented 3 years ago

@thejoshwolfe

Reemh commented 2 years ago

Hi, is there any update on this one please?

AerunDev commented 1 year ago

Hi there! Any update? :D