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

change new buffer to buffer.alloc #64

Merged
merged 1 commit into from
Jul 28, 2019

Conversation

muz3
Copy link
Contributor

@muz3 muz3 commented Jul 27, 2019

a quick and easy fix. changed from 'new Buffer(1)' to Buffer.alloc(1). no more deprecated warning, and passed npm test.

@muz3 muz3 mentioned this pull request Jul 27, 2019
@mcollina mcollina merged commit caf3944 into mqttjs:master Jul 28, 2019
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