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 #3546

Open
imgalli opened this issue Aug 17, 2023 · 9 comments
Open

DeprecationWarning: Buffer #3546

imgalli opened this issue Aug 17, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@imgalli
Copy link

imgalli commented Aug 17, 2023

Hi! We're seeing this error in the log that we're tracking back to protobuf.js, which is in turn a dep of dd-trace. Your module is the only reason for this dep to be included, is there a way you can upgrade or mitigate?

(node:7) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
@imgalli imgalli added the bug Something isn't working label Aug 17, 2023
@ofhouse
Copy link

ofhouse commented Aug 22, 2023

We saw a similar message this morning, but tracked it back to the use of msgpack-lite (which is a direct dependency of dd-trace).

X-Ref: kawanet/msgpack-lite#98

@opeologist
Copy link

any update on this ?

@juancarlosjr97
Copy link

Any update on this?

@swcm-mnestler
Copy link

Given that the library was last updated 7 years ago and this issue still remains, it may be worth considering a different msgpack library

@yelsayed
Copy link

Keeping this thread alive.

@Que3216
Copy link

Que3216 commented Mar 4, 2024

Just wanted to check in -- is there any update on this? (looks like it's been open for 6 months now, and presumably is affecting every customer using dd-trace on modern Node?)

@Que3216
Copy link

Que3216 commented Mar 4, 2024

Looks like there is a fork that may fix this meetnow/msgpack-long-lite@b7a4252 ? (but haven't investigated closely)

@kasleet
Copy link

kasleet commented Apr 17, 2024

Any timeline on this?

@juancarlosjr97
Copy link

:(...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants