From c7962dcba46f44b888686e6a76bcc6fef2eb7760 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 6 Aug 2018 14:40:30 -0700 Subject: src: move process.binding('uv') to internalBinding PR-URL: https://github.com/nodejs/node/pull/22163 Reviewed-By: Ruben Bridgewater Reviewed-By: Gus Caplan Reviewed-By: Colin Ihrig Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Trivikram Kamat Reviewed-By: Jon Moss --- lib/internal/child_process.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/internal/child_process.js') 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; -- cgit v1.2.3