Skip to content

Fix usage of deprecated Buffer API - #1647

Closed
seishun wants to merge 1 commit into
browserify:masterfrom
seishun:fix-buffers
Closed

seishun wants to merge 1 commit into
browserify:masterfrom
seishun:fix-buffers

Conversation

@seishun

@seishun seishun commented Nov 5, 2016

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

See #1616. Only tests were affected.

Once Node.js 0.12 reaches EOL (January 1 2017), or whenever you feel comfortable with dropping 0.12 support, you can safely remove the "safe-buffer" dependency and the requires.

@mourner

mourner commented Dec 1, 2016

Copy link
Copy Markdown

@substack any chance of merging this harmless PR? Those Node 7 warnings are pretty annoying.

@ghost

ghost commented Dec 15, 2016

Copy link
Copy Markdown

This patch updates tests. Why? This patch ONLY updates tests, which I also don't understand.

@ghost

ghost commented Feb 18, 2017

Copy link
Copy Markdown

I don't like this.

@ghost ghost closed this Feb 18, 2017
@seishun

seishun commented Feb 18, 2017

Copy link
Copy Markdown
Author

You don't like this because it updates tests?

This patch ONLY updates tests, which I also don't understand.

"Only tests were affected." #1647 (comment)

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants