-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Do not use the deprecated Buffer() constructor #304
Conversation
@phated are you interested in this? If so I will rebase. If not I will close. |
@lpinca I'm going to be tweaking stuff in the next week or so. It looks like there are some file conflicts right now. |
7c16760
to
7b31cbc
Compare
Yes, I asked exactly for that reason. There is no point in resolving conflicts if the patch is not wanted. |
Seems like this is languishing due to a very narrow test not failing in the expected way! An assert IS generated is appveyor test environment (not travis-ci) running Node 0.12, perhaps the test is too specific as to what is expected in a negative test. What is the point of supporting Node.js version all the way back to version 0. I somehow doubt anyone is seriously interested in building systems that depend on that platform, particularly on Windows. Stack for that failure suggests to me the bug is in the test. It says:
|
@BurtHarris it's not been looked at because I started a new job that's taking most of my time and traveling which is taking the rest. And I'm the only one "actively" working on this stuff. Thanks for diving in further, but I believe that test was a regression test so we should probably figure out why it is breaking (though it probably isn't happening from this PR???). |
@sttk would you have some time to debug that test? |
@phated I could reproduce this error on appveyor |
This problem on v0.12 is the known issue as per nodejs/node-v0.x-archive#4574 or nodejs/node#3718. |
Since we are dropping node <10.13.0 support, we will be able to use the buffer constructor directly. |
Refs: nodejs/citgm#605
Refs: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor