diff options
author | James M Snell <jasnell@gmail.com> | 2018-08-06 14:40:30 -0700 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2018-08-09 13:47:31 -0700 |
commit | c7962dcba46f44b888686e6a76bcc6fef2eb7760 (patch) | |
tree | 247db2bcd4f0673adf5ccad86ed7fc58286e7c9b /lib/internal/child_process.js | |
parent | 2fd71f92381010724e24cd07d505f76e63b16394 (diff) | |
download | android-node-v8-c7962dcba46f44b888686e6a76bcc6fef2eb7760.tar.gz android-node-v8-c7962dcba46f44b888686e6a76bcc6fef2eb7760.tar.bz2 android-node-v8-c7962dcba46f44b888686e6a76bcc6fef2eb7760.zip |
src: move process.binding('uv') to internalBinding
PR-URL: https://github.com/nodejs/node/pull/22163
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Diffstat (limited to 'lib/internal/child_process.js')
-rw-r--r-- | lib/internal/child_process.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/internal/child_process.js b/lib/internal/child_process.js index 32568aa311..c34bc996de 100644 --- a/lib/internal/child_process.js +++ b/lib/internal/child_process.js @@ -36,6 +36,8 @@ const { HTTPParser } = process.binding('http_parser'); const { freeParser } = require('_http_common'); const { kStateSymbol } = require('internal/dgram'); +const { internalBinding } = require('internal/bootstrap/loaders'); + const { UV_EACCES, UV_EAGAIN, @@ -45,7 +47,7 @@ const { UV_ENOENT, UV_ENOSYS, UV_ESRCH -} = process.binding('uv'); +} = internalBinding('uv'); const { SocketListSend, SocketListReceive } = SocketList; |