It raises a deprecation warning and will be discarded completely in the future.
At the moment I just change the usage of the constructor to call the recommended Buffer.from(...)
@mindreframer @aungerh @fmoeckel
What do you think we should have a fallback for users using node in a version < 5.10.0 (where this Buffer.from was introduced)? Or should we state that we drop support in earlier versions?
We should not use
Buffer
constructor anymore: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructorIt raises a deprecation warning and will be discarded completely in the future. At the moment I just change the usage of the constructor to call the recommended
Buffer.from(...)
@mindreframer @aungerh @fmoeckel What do you think we should have a fallback for users using node in a version < 5.10.0 (where this
Buffer.from
was introduced)? Or should we state that we drop support in earlier versions?