-
Notifications
You must be signed in to change notification settings - Fork 26
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() (Use Buffer.from instead?) #17
Comments
I encountered the same issue... have published a revised version here using the PR opened by jrose-stac. Take no credit for the changes, simply published a new package as I needed it for a project. Solved the issue for me, hope it helps. |
Same warning...
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello and thank you for this minimal and smart repo!
Anyway, I am given warnings about using Buffer instead of Buffer.from with my Node 18 Lambda application.
Full error:
ERROR (node:8) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Im guessing it could have to do with busboy or something since your lib doesnt even include "Buffer" at all (from what I can see).
A fix to this would be appreciated 👍
The text was updated successfully, but these errors were encountered: