node-http2 icon indicating copy to clipboard operation
node-http2 copied to clipboard

Moving away from the Buffer constructor

Open gabrielschulhof opened this issue 7 years ago • 1 comments
trafficstars

new Buffer(...) is unsafe and deprecated. Would it be possible to move these instances of its use to Buffer.from(...)?

gabrielschulhof avatar Aug 28 '18 14:08 gabrielschulhof

NOTE WELL This package is officially deprecated. As of node 9.0.0, there is an 'http2' package built-in. You should use that one instead.

GrosSacASac avatar Nov 27 '19 18:11 GrosSacASac