Skip to content

Use Buffer.from instead of new Buffer()#2512

Merged
devongovett merged 1 commit into
masterfrom
buffer-from
Jan 7, 2019
Merged

Use Buffer.from instead of new Buffer()#2512
devongovett merged 1 commit into
masterfrom
buffer-from

Conversation

@mischnic

@mischnic mischnic commented Jan 5, 2019

Copy link
Copy Markdown
Member

↪️ Pull Request

Removes some warnings when running the tests
Based on https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/#variant-1

💻 Examples

✔️ PR Todo

  • Added/updated unit tests for this change
  • Filled out test instructions (In case there aren't any unit tests)
  • Included links to related issues/PRs

@mischnic

mischnic commented Jan 5, 2019

Copy link
Copy Markdown
Member Author

Failing tests likely caused by #2506

@devongovett devongovett merged commit 6e1bc68 into master Jan 7, 2019
@devongovett devongovett deleted the buffer-from branch January 7, 2019 20:15
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