Uh oh!
There was an error while loading. Please reload this page.
test: migrate process.binding to internalBinding for misc. - #24952
test: migrate process.binding to internalBinding for misc.#24952BeniCheni wants to merge 12 commits into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
BeniCheni
commented
Dec 15, 2018
Thanks for the insight. Reverted back to |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
BeniCheni
commented
Dec 17, 2018
Thanks for the feedback, @joyeecheung. Updated per suggestions. Please review again at convenience. |
Hi reviewer(s), Following up on this PR w. a rebase, and ran into "make lint" error: The source of Is there any suggestion how to resolve this (The error shows "Unused", which seems to be a removal. But want to confirm w. your help. Thank you in advance!) |
cjihrig
commented
Jan 8, 2019
@BeniCheni I think you'll need #25395. |
BeniCheni
commented
Jan 8, 2019
Use of process.binding() has largely been replaced by internalBinding(). This commit updates the custom crypto check ESLint rule to check for both process.binding() and internalBinding(). Refs: nodejs#24952 PR-URL: nodejs#25395 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
BeniCheni
commented
Jan 14, 2019
Hi reviewer(s), friendly reminder rebased after #25395, and CI is “green” again to further review. Thanks! |
Use of process.binding() has largely been replaced by internalBinding(). This commit updates the custom crypto check ESLint rule to check for both process.binding() and internalBinding(). Refs: #24952 PR-URL: #25395 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Use of process.binding() has largely been replaced by internalBinding(). This commit updates the custom crypto check ESLint rule to check for both process.binding() and internalBinding(). Refs: nodejs#24952 PR-URL: nodejs#25395 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
BeniCheni
commented
Feb 22, 2019
Hello, reviewer(s), Trying to follow up with this pending PR by rebasing & passing the CI by the commit to bring the PR up-to-date. Please review at convenience, or let me that if this PR is not needed. I'll be happy to close it as well. |
Uh oh!
There was an error while loading. Please reload this page.
Per @BridgeAR’s comment ☝️, removed the unused flag. Thanks. |
Uh oh!
There was an error while loading. Please reload this page.
addaleax
commented
Feb 28, 2019
addaleax
commented
Mar 1, 2019
Looks like there is one failing test now when compiling with |
addaleax
commented
Mar 4, 2019
The fixup is pretty simple, doing the same we already do for |
BridgeAR
commented
Mar 5, 2019
richardlau
commented
Mar 5, 2019
(The without ssl variant build (nodejs/build#1574) was only enabled in the last few days which is why it didn't show up in previous CI runs. This is exactly the kind of thing it's designed to catch.) |
addaleax
commented
Mar 5, 2019
BridgeAR
commented
Mar 5, 2019
addaleax
commented
Mar 6, 2019
BridgeAR
commented
Mar 6, 2019
Landed in 53d4e04 🎉 |
Migrate various modules from using process.binding to internalBinding. PR-URL: nodejs#24952 Refs: nodejs#22160 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
BridgeAR
commented
Mar 6, 2019
I updated the commit message while landing. |
BeniCheni
commented
Mar 6, 2019
Migrate various modules from using process.binding to internalBinding. PR-URL: nodejs#24952 Refs: nodejs#22160 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
davalapar
commented
Mar 17, 2019
Hi, bit unrelated but does this mean there won't be a way anymore to access |
addaleax
commented
Mar 17, 2019
@davalapar Eventually, yes. There shouldn’t be anything on that object that isn’t available through public APIs, and there are no stability guarantess about the contents of |
Use of process.binding() has largely been replaced by internalBinding(). This commit updates the custom crypto check ESLint rule to check for both process.binding() and internalBinding(). Refs: #24952 PR-URL: #25395 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Use of process.binding() has largely been replaced by internalBinding(). This commit updates the custom crypto check ESLint rule to check for both process.binding() and internalBinding(). Refs: #24952 PR-URL: #25395 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Use of process.binding() has largely been replaced by internalBinding(). This commit updates the custom crypto check ESLint rule to check for both process.binding() and internalBinding(). Refs: #24952 PR-URL: #25395 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Refs #22160
For the migrated modules from the checklist of #22160, this PR identifies the places of source code & tests with "legacy"
process.binding, and follows up to migrate tointernalBinding.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes