new Buffer() deprecated since v6
dev101 opened this issue · comments
dev101 commented
Code sample of handling base64-encoded secret in README triggers
new Buffer()' was deprecated since v6. Use 'Buffer.alloc()' or 'Buffer.from()' (use 'https://www.npmjs.com/package/safe-buffer' for '<4.5.0') instead
warning in my standardjs linter.
I suggest you follow the advice and update the docs.