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

DeprecationWarning: Using Buffer without new will soon stop working #1195

Closed
sarmiena opened this issue Jan 9, 2017 · 1 comment
Closed

Comments

@sarmiena
Copy link

sarmiena commented Jan 9, 2017

Version: 6.1.2
macOS Sierra
Getting the following warning when doing require('pg')

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

@charmander
Copy link
Collaborator

Upgrade to Node 7.2.1 or later; see #1158.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants