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

Use Buffer.from() instead of new Buffer() #63

Open
onury opened this issue Jul 22, 2019 · 0 comments · May be fixed by #64
Open

Use Buffer.from() instead of new Buffer() #63

onury opened this issue Jul 22, 2019 · 0 comments · May be fixed by #64

Comments

@onury
Copy link

onury commented Jul 22, 2019

new Buffer() usage causes the warning below:

(node:3640) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
@onury onury linked a pull request Jul 22, 2019 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant