Skip to content

Commit

Permalink
dns: remove dns.promises experimental warning
Browse files Browse the repository at this point in the history
PR-URL: #26592
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Signed-off-by: Beth Griggs <[email protected]>
  • Loading branch information
cjihrig authored and BethGriggs committed Apr 8, 2019
1 parent b62739c commit d3c1de3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ Object.defineProperties(module.exports, {
if (promises === null) {
promises = require('internal/dns/promises');
promises.setServers = defaultResolverSetServers;
process.emitWarning('The dns.promises API is experimental',
'ExperimentalWarning');
}
return promises;
}
Expand Down
2 changes: 0 additions & 2 deletions test/parallel/test-dns-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ common.expectWarning({
'internal/test/binding': [
'These APIs are for internal testing only. Do not use them.'
],
// For dns.promises.
'ExperimentalWarning': 'The dns.promises API is experimental',
// For calling `dns.lookup` with falsy `hostname`.
'DeprecationWarning': {
DEP0118: 'The provided hostname "false" is not a valid ' +
Expand Down

0 comments on commit d3c1de3

Please sign in to comment.