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

Buffer() is deprecated #6

Open
ooker777 opened this issue Oct 18, 2021 · 0 comments
Open

Buffer() is deprecated #6

ooker777 opened this issue Oct 18, 2021 · 0 comments

Comments

@ooker777
Copy link

When running express-test.js I get this error:

(node:23872) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)

Searching everywhere in the directory there is no buffer() at all, except in package-lock.json. The dependencies are safe-buffer and safer-buffer. Do you have any idea? This Stack Overflow question about the error doesn't seem to provide any solution.

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