diff options
author | Gus Caplan <me@gus.host> | 2018-09-22 17:49:52 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-10-04 12:55:34 +0300 |
commit | e7f710c1d4729890806610e5450d7a0edfb4ac11 (patch) | |
tree | 2190bc3bca442a3f485a8c48dbf27bb9a16e099a /lib/internal/dns | |
parent | 9800fd7aaa7226fff3f21edd7f77f563b9a69753 (diff) |
bootstrapper: move internalBinding to NativeModule
internalBinding is used so often that it should just automatically be
available for usage in internals.
PR-URL: https://github.com/nodejs/node/pull/23025
Refs: https://github.com/nodejs/node/commit/2a9eb31
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'lib/internal/dns')
-rw-r--r-- | lib/internal/dns/promises.js | 1 | ||||
-rw-r--r-- | lib/internal/dns/utils.js | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/internal/dns/promises.js b/lib/internal/dns/promises.js index 408dec712d8..6d2fa3b1704 100644 --- a/lib/internal/dns/promises.js +++ b/lib/internal/dns/promises.js @@ -6,7 +6,6 @@ const { } = require('internal/dns/utils'); const { codes, dnsException } = require('internal/errors'); const { isIP, isIPv4, isLegalPort } = require('internal/net'); -const { internalBinding } = require('internal/bootstrap/loaders'); const { getaddrinfo, getnameinfo, diff --git a/lib/internal/dns/utils.js b/lib/internal/dns/utils.js index 2362f28a821..143d36193a3 100644 --- a/lib/internal/dns/utils.js +++ b/lib/internal/dns/utils.js @@ -1,7 +1,6 @@ 'use strict'; const errors = require('internal/errors'); const { isIP } = require('internal/net'); -const { internalBinding } = require('internal/bootstrap/loaders'); const { ChannelWrap, strerror, |