Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning: Buffer() is deprecated due to security and usability issues. #23

Closed
JoseCadenas opened this issue Aug 23, 2022 · 0 comments

Comments

@JoseCadenas
Copy link

JoseCadenas commented Aug 23, 2022

I am using promise-ftp that use this node-ftp and I am encountering an issue with the depreciated Buffer function... similar to here.

Problematic code existed here.

Full warning message:

(node:1654) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Electron Helper (Renderer) --trace-deprecation ...` to show where the warning was created)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant