-
Notifications
You must be signed in to change notification settings - Fork 16.2k
Node 12 Upgrade (5-0-x) #17752
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
Node 12 Upgrade (5-0-x) #17752
Conversation
…17247) * refactor: load electron builtin modules with process._linkedBinding NODE_BUILTING_MODULE_CONTEXT_AWARE and process.binding are removed in nodejs/node#25829. This changes uses the alternative available without any functionality change. * chore: roll node
// dependency. So to expose the unmodified Node 'fs' functionality here, | ||
// we have to copy both 'fs' *and* 'internal/fs/streams' and modify the | ||
// copies to depend on each other instead of on our asarified 'fs' code. | ||
source['original-fs'].replace("require('internal/fs/streams')", "require('original-fs/streams')") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hack has been moved to our node fork due to changes of node's module loader.
4da2333
to
689f9ff
Compare
_breakFirstLine was being set on the process, but that has changed in node 12 and so is no longer needed. Node will handle it properly when --inspect-brk is provided
What NMV does this currently include? cc @nornagon |
Release Notes Persisted
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nornagon This needs to be NMV 70 though?
https://github.com/nodejs/node/pull/24114/files#diff-638a1790356b6a533fa41d0f6715e061R5
you're totally right, whoops. |
Description of Change
This PR uses electrons
electron-node-v12.x
branch which is based on node's v12.x branch.This is however, not rebased on head of node's v12.x branch yet, but is a few commits behind the v8 7.4 merge in node.
Future PRs will rebase on latest node v12.x commits.
Checklist
npm test
passesRelease Notes
Notes: Upgraded to node-12 with v8 7.3