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

removed depecation warning and errors for 'HasOwnProperty' #79

Closed Omegahorus closed 6 years ago

Omegahorus commented 6 years ago

With node version 8.9.4 some deprecation warnings occurred (with Hint of Use Maybe). With node version 10.1.0 the same lines (at least for my installation) throw errors and the package could not be installed.

little Changes made it possible to run without warnings and errors.

(Hope I made it right, never worked with bindings directly before)

Regards Omegahorus

PS: I just recognized, I only testet compiling, not running so far.

usefulthink commented 6 years ago

Awesome, thanks a lot!