Skip to content

Conversation

@kribblo
Copy link

@kribblo kribblo commented Nov 11, 2016

From Node 7 onwards you get this message:

DeprecationWarning: Using Buffer without new will soon stop working. Use new Buffer(), or preferably Buffer.from(), Buffer.allocUnsafe() or Buffer.alloc() instead.

Should probably be Buffer.from() but it's only available from Node 5, if that's important.

From Node 7 onwards you get this message:

DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.

Should probably be Buffer.from() but it's only available from Node 5, if that's important.
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.

1 participant