-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[CS2] Require Node 6.9.1+ #4341
Conversation
…alloc`; update our calls, and set the required version of Node to be >= 6.9.0, and set this to be 2.0.0-alpha for now
new Buffer
in favor of Buffer.from
and `Buffer.…new Buffer
is deprecated in Node 6
LGTM. Does it make sense to do something in master as well? For instance, |
Hmm, that’s clever. I suppose we could, though I’m not sure what benefit it would provide. |
new Buffer
is deprecated in Node 6
Should I maybe use a package.json version number like |
|
6054945
to
d465cb3
Compare
Any objections to merging this in? |
Not from me. |
- Because CoffeeScript 2 requires Node 6+. (Ref: jashkenas/coffeescript#4341)
Node 6 deprecated
new Buffer
in favor ofBuffer.from
andBuffer.alloc
. This PR updates our calls toBuffer
to use the new syntax. As a result of that, I also set the required version of Node perpackage.json
to be >= 6.9.1, and set the overall version of the project to be 2.0.0-alpha for now.