summaryrefslogtreecommitdiff
path: root/lib/internal/child_process.js
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-08-06 14:40:30 -0700
committerJames M Snell <jasnell@gmail.com>2018-08-09 13:47:31 -0700
commitc7962dcba46f44b888686e6a76bcc6fef2eb7760 (patch)
tree247db2bcd4f0673adf5ccad86ed7fc58286e7c9b /lib/internal/child_process.js
parent2fd71f92381010724e24cd07d505f76e63b16394 (diff)
downloadandroid-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.js4
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;