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

Switch from bytebuffer to fork, since Buffer() is deprecated #50

Open
Sadzurami opened this issue Dec 17, 2024 · 0 comments
Open

Switch from bytebuffer to fork, since Buffer() is deprecated #50

Sadzurami opened this issue Dec 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Sadzurami
Copy link
Contributor

Is your feature request related to a problem? Please describe.

In some cases new versions of nodejs will print warns in console, like this.

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

Warns caused by bytebuffer.

Describe the solution you'd like

Switch to fork, for example https://github.com/ExodusMovement/bytebuffer.js or make new.
Original lib is no longer supported https://github.com/protobufjs/bytebuffer.js.

@Sadzurami Sadzurami added the enhancement New feature or request label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant