Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-08-07 00:40:30 +0300
committerJames M Snell <jasnell@gmail.com>2018-08-09 23:47:31 +0300
commitc7962dcba46f44b888686e6a76bcc6fef2eb7760 (patch)
tree247db2bcd4f0673adf5ccad86ed7fc58286e7c9b /lib/internal/cluster
parent2fd71f92381010724e24cd07d505f76e63b16394 (diff)
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/cluster')
-rw-r--r--lib/internal/cluster/round_robin_handle.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/internal/cluster/round_robin_handle.js b/lib/internal/cluster/round_robin_handle.js
index b2dff017e8b..e351f433ab8 100644
--- a/lib/internal/cluster/round_robin_handle.js
+++ b/lib/internal/cluster/round_robin_handle.js
@@ -3,7 +3,8 @@ const assert = require('assert');
const net = require('net');
const { sendHelper } = require('internal/cluster/utils');
const getOwnPropertyNames = Object.getOwnPropertyNames;
-const uv = process.binding('uv');
+const { internalBinding } = require('internal/bootstrap/loaders');
+const uv = internalBinding('uv');
module.exports = RoundRobinHandle;