Skip to content

Fixed Buffer DeprecationWarning #31

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

Merged
merged 1 commit into from
May 3, 2018
Merged

Conversation

Lupino
Copy link
Contributor

@Lupino Lupino commented May 3, 2018

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

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

These methods were added in Node.js v6.0.0: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell

However, since all versions of Node.js prior to this one have now reached end-of life (see the LTS schedule), I think this is fine.

@hdgarrood
Copy link
Member

Thanks!

@hdgarrood hdgarrood merged commit 39d9d66 into purescript-node:master May 3, 2018
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