Skip to content

buid: use Buffer.from instead of Buffer constructor#17

Open
Kikobeats wants to merge 1 commit intoRGBboy:masterfrom
Kikobeats:patch-1
Open

buid: use Buffer.from instead of Buffer constructor#17
Kikobeats wants to merge 1 commit intoRGBboy:masterfrom
Kikobeats:patch-1

Conversation

@Kikobeats
Copy link

@Kikobeats Kikobeats commented Mar 24, 2021

DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Closes #14

> DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants