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/util.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/util.js')
-rw-r--r-- | lib/internal/util.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/internal/util.js b/lib/internal/util.js index 54f725f172..bf8f9c26cf 100644 --- a/lib/internal/util.js +++ b/lib/internal/util.js @@ -13,7 +13,9 @@ const { arrow_message_private_symbol: kArrowMessagePrivateSymbolIndex, decorated_private_symbol: kDecoratedPrivateSymbolIndex } = process.binding('util'); -const { errmap } = process.binding('uv'); + +const { internalBinding } = require('internal/bootstrap/loaders'); +const { errmap } = internalBinding('uv'); const noCrypto = !process.versions.openssl; |