node-lifx
node-lifx copied to clipboard
Using Buffer is deprecated
In newer versions of Node.js, using new Buffer is now deprecated.
https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/
Instead, you should use new Buffer.alloc(size) or new Buffer.from('c469ea095c6adf13', 'hex').
Changing it might cause compatibility issues in older versions of Node.js though. You can always write around it, but you could also upgrade the minimum version.