roytam1 / basilisk55

Other
20 stars 5 forks source link

Replacing calls to the Buffer constructor with Buffer.from() #1

Open gabrielschulhof opened 6 years ago

gabrielschulhof commented 6 years ago

new Buffer(...) is deprecated and unsafe. Would it be possible to replace calls to it with Buffer.from(...) in these places?

roytam1 commented 6 years ago

all of them are in unit tests and there is no non-unittest code using such syntax.