Open gabrielschulhof opened 6 years ago
new Buffer(...) is deprecated and unsafe. Could it be replaced with Buffer.from(...) in these places?
new Buffer(...)
Buffer.from(...)
Any feedback from upstream ?
If it helps I am considering to pick this change in forked project: https://github.com/abandonware/bleno/
Relate-to: https://github.com/noble/bleno/pull/410
new Buffer(...)
is deprecated and unsafe. Could it be replaced withBuffer.from(...)
in these places?