Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

matiasleva
Copy link

Avoid deprecation warning in nodejs12.x

Avoid deprecation warning in nodejs12.x
@kusor kusor self-requested a review April 28, 2020 10:32
Copy link
Contributor

@kusor kusor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm not on a mistake, this method has been added since version 4.x of node. I'd say that in order to merge this pull request, package.json should be modified to explicitly require a version of node greater or equal than 4.9.x.

And given than the node dependency will be modified, I'd also bump package version.

Copy link
Contributor

@kusor kusor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@matiasleva matiasleva closed this May 13, 2020
@matiasleva matiasleva reopened this May 13, 2020
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