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

fix(Buffer): update buffer constructors to use from and alloc #1141

Merged
merged 1 commit into from
Jun 6, 2018

Conversation

Ethan-Arrowood
Copy link
Contributor

@Ethan-Arrowood Ethan-Arrowood commented Jun 6, 2018

No longer throws DeprecationWarning as described in #1140
Not sure whats up but fails the same tests as master branch so I assume that is okay?

https://nodejs.org/docs/latest/api/buffer.html#buffer_buffer_from_buffer_alloc_and_buffer_allocunsafe

Copy link
Member

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

thanks a lot, this is great 👍

@gr2m gr2m merged commit e933b3a into nock:master Jun 6, 2018
@nockbot
Copy link
Collaborator

nockbot commented Jun 7, 2018

🎉 This PR is included in version 9.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Ethan-Arrowood Ethan-Arrowood deleted the update-buffer branch June 7, 2018 05:21
@gr2m
Copy link
Member

gr2m commented Jun 7, 2018

@Ethan-Arrowood there was a regression so we had to revert the change. I’ll release a new version 10.0.0 shortly which will include your fix for the deprecation warnings

@lock
Copy link

lock bot commented Sep 13, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue and add a reference to this one if it’s related. Thank you!

@lock lock bot locked as resolved and limited conversation to collaborators Sep 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants