MuhammaraJS icon indicating copy to clipboard operation
MuhammaraJS copied to clipboard

Use `Buffer.from` instead of `new Buffer`

Open ericbf opened this issue 2 years ago • 3 comments

The Buffer constructor is deprecated, so we should use the recommended Buffer.from instead.

Fixes #338

ericbf avatar Oct 21 '23 21:10 ericbf

this seems to trigger issues, needs further investigation

julianhille avatar Oct 23 '23 23:10 julianhille

this seems to trigger issues, needs further investigation

Hmmm. I didn’t even do any further testing for this one as I figured it was a drop-in replacement. Will look a little further.

ericbf avatar Oct 23 '23 23:10 ericbf

Might has To-Do with this: https://github.com/julianhille/MuhammaraJS/issues/258

julianhille avatar Oct 24 '23 02:10 julianhille