icetee / node-ftp

An FTP client module for node.js
MIT License
25 stars 16 forks source link

(node:30846) [DEP0005] DeprecationWarning: #11

Closed chenweibo closed 4 years ago

chenweibo commented 5 years ago

How do I need to deal with

internal/process/warning.js:18 (node:30846) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Follow the example to run normally, but this error makes me uncomfortable.

icetee commented 5 years ago

The code has already change, maybe the bug in xregexp package. I'm looking at it soon, thanks.

chenweibo commented 5 years ago

Thank you very much for your reply. I hope this project will run well. Before using mscdex/node-ftp, many problems have not been fixed. Many things have been solved for your project. thinks

icetee commented 4 years ago

I think resolved this issue. You may have used an earlier version of anno.