From d3c1de313e7c45ed9751c45b62db55b0babfedca Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 11 Mar 2019 12:49:59 -0400 Subject: [PATCH] dns: remove dns.promises experimental warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/26592 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Matteo Collina Reviewed-By: Michaƫl Zasso Signed-off-by: Beth Griggs --- lib/dns.js | 2 -- test/parallel/test-dns-lookup.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/dns.js b/lib/dns.js index 952ef39006c8e4..be52d545a0c873 100644 --- a/lib/dns.js +++ b/lib/dns.js @@ -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; } diff --git a/test/parallel/test-dns-lookup.js b/test/parallel/test-dns-lookup.js index 951e7e17a98b82..4fdfa1f4c22712 100644 --- a/test/parallel/test-dns-lookup.js +++ b/test/parallel/test-dns-lookup.js @@ -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 ' +