protobuf.js icon indicating copy to clipboard operation
protobuf.js copied to clipboard

Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Open Wonder233 opened this issue 4 years ago • 6 comments

protobuf.js version: 6.9.0

The above deprecation error is logged from new version of Node when using this package.

internal/process/warning.js:18 (node:61713) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

how to solve it?

Wonder233 avatar May 21 '20 08:05 Wonder233

DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. present on version 6.11.2 (apr 30)

iairsalem avatar May 31 '21 14:05 iairsalem

Ping

Eneris avatar Apr 27 '22 16:04 Eneris

Same problem

maksgithub avatar Nov 15 '22 12:11 maksgithub

+1

^ @alexander-fenster

panther7 avatar Mar 31 '23 14:03 panther7

#1905

panther7 avatar Jul 10 '23 09:07 panther7

Done via #1905.

panther7 avatar Aug 22 '23 06:08 panther7