molnarg / node-http2

An HTTP/2 client and server implementation for node.js
MIT License
1.79k stars 187 forks source link

Moving away from the Buffer constructor #253

Open gabrielschulhof opened 5 years ago

gabrielschulhof commented 5 years ago

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

GrosSacASac commented 4 years ago

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.