kirm / sip.js

Session Initiation Protocol for node.js
MIT License
427 stars 171 forks source link

DeprecationWarning on the use of Buffer(). #131

Closed jeremy-j-ackso closed 5 years ago

jeremy-j-ackso commented 5 years ago

When running tests, getting the following DeprecationWarning.

node:24554) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Looks like there are only a handful uses:

node --version
v10.11.0
kirm commented 5 years ago

Fixed