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:
authorcjihrig <cjihrig@gmail.com>2018-08-23 16:28:41 +0300
committercjihrig <cjihrig@gmail.com>2018-08-30 16:08:44 +0300
commit8b0c482647004667ac9688f72264b9efca36b699 (patch)
tree7888478e95eed7b6160d46c0db23c9e891d3951b /lib/tls.js
parent60465700ed055640e737ca3a53e16465dfec00d6 (diff)
dns: make process.binding('cares_wrap') internal
PR-URL: https://github.com/nodejs/node/pull/22474 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'lib/tls.js')
-rw-r--r--lib/tls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tls.js b/lib/tls.js
index d58906b2867..9da17411db3 100644
--- a/lib/tls.js
+++ b/lib/tls.js
@@ -35,7 +35,7 @@ const { Buffer } = require('buffer');
const EventEmitter = require('events');
const { URL } = require('internal/url');
const DuplexPair = require('internal/streams/duplexpair');
-const { canonicalizeIP } = process.binding('cares_wrap');
+const { canonicalizeIP } = internalBinding('cares_wrap');
const _tls_common = require('_tls_common');
const _tls_wrap = require('_tls_wrap');