Moving away from the Buffer constructor
gabrielschulhof opened this issue · comments
new Buffer(...)
is deprecated and unsafe. Would it be possible to use Buffer.from(...)
in the relevant places instead?
I’m not sure. This would require dropping 0.12 support.
Released 7.0.0 that stops using new Buffer()