This repository was archived by the owner on Feb 22, 2024. It is now read-only.
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
Uses deprecated new Buffer()
which gives warning #46
Open
Description
Description
When running anything that makes requests to the API a warning is emitted on newer versions of nodejs:
(node:41042) [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)
This is because the code uses the new Buffer(string)
method which is deprecated and since version 10 has emitted this warning: https://nodejs.org/api/buffer.html#new-bufferstring-encoding
Metadata
Metadata
Assignees
Labels
No labels