GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — spawn_sync: move process.binding('spawn_sync') to internalBinding by antsmartian · Pull Request #22260 · nodejs/node Conversation
|
|
@antsmartian ... when you get a moment, can you rebase this on master then apply the following patch which will be necessary for this to proceed: Author: James M Snell <[email protected]> Date: Tue Aug 14 19:36:25 2018 -0700 [Squash] add `process.binding('spawn_sync')` to fallthrough whitelist diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index 08daeb1915..ffae6e4cd9 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -327,7 +327,7 @@ // that are whitelisted for access via process.binding()... this is used // to provide a transition path for modules that are being moved over to // internalBinding. - const internalBindingWhitelist = new SafeSet(['uv']); + const internalBindingWhitelist = new SafeSet(['uv', 'spawn_sync']); process.binding = function binding(name) { return internalBindingWhitelist.has(name) ? internalBinding(name) : diff --git a/test/parallel/test-process-binding-internalbinding-whitelist.js b/test/parallel/test-process-binding-internalbinding-whitelist.js index ece967a0b7..cc0119917d 100644 --- a/test/parallel/test-process-binding-internalbinding-whitelist.js +++ b/test/parallel/test-process-binding-internalbinding-whitelist.js @@ -7,3 +7,4 @@ const assert = require('assert'); // Assert that whitelisted internalBinding modules are accessible via // process.binding(). assert(process.binding('uv')); +assert(process.binding('spawn_sync')); |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jasnell Now it should be good to go, thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
b8ab324 to
221afde
Compare
There was an error while loading. Please reload this page.
|
@jasnell Have rebased, can we get this merge, before I get an another conflict :) Thanks for your help. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ok seeing a lint issue, let me fix that. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM after lint fix.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
221afde to
b0addf2
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yet again conflicts, let me rebase it tonight.. sorry folks.. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 9c9c01f |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #22260 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
|
@targos Thanks for rebasing, didn't find time to do it. Thanks a ton. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.