beyondscreen / node-rpi-ws281x-native

native bindings to drive WS2811 (or WS2812) LED-Controllers on a Raspberry Pi
MIT License
224 stars 101 forks source link

DeprecationWarning #95

Open nicklasfrahm opened 5 years ago

nicklasfrahm commented 5 years ago

Hello,

currently, when running this package in node v10.15.3 I get the following error: (node:806) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

I will submit a PR with a fix. What is the oldest node version that should be supported? v6 or v8?

nicklasfrahm commented 5 years ago

@usefulthink I really don't want to put any pressure, but is there a chance to release this change soon? If I am told, what I have to update (package.json, etc.), I can also submit a PR with that, so that you only have to create a release in GitHub.