discord-screenshot
discord-screenshot copied to clipboard
DeprecationWarning
Happens the first time you take a screenshot.
(node:824) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use FXServer --trace-deprecation ... to show where the warning was created)
Happens the first time you take a screenshot.
(node:824) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use
FXServer --trace-deprecation ...to show where the warning was created)
Go to dist folder edit server.js Search : new Buffer(0) Replace with : Buffer.allocUnsafe(0)
Happens the first time you take a screenshot. (node:824) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use
FXServer --trace-deprecation ...to show where the warning was created)Go to dist folder edit server.js Search : new Buffer(0) Replace with : Buffer.allocUnsafe(0)
Having the same issue, but searching for that does not retrieve nothing.
Did found this one: a.getBuffer()
No idea if its that we must change to make the warning go away.