Skip to content

Use `Buffer.from()` in place of `new Buffer`

Compare
Choose a tag to compare
@flimzy flimzy released this 02 May 15:18
· 13 commits to v3 since this release
65a064e

new Buffer has been deprecated in recent versions of Node.js, so where supported, Buffer.from() is now used.

This should only affect the test suite, since this is not used in browsers.