dns: remove dns.promises experimental warning · nodejs/node@d3c1de3 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit d3c1de3

cjihrigBethGriggs

authored and

committed

dns: remove dns.promises experimental warning

PR-URL: #26592Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: James M Snell jasnell@gmail.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Signed-off-by: Beth Griggs Bethany.Griggs@uk.ibm.com

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -321,8 +321,6 @@ Object.defineProperties(module.exports, {
321 321 if (promises === null) {
322 322 promises = require('internal/dns/promises');
323 323 promises.setServers = defaultResolverSetServers;
324 -process.emitWarning('The dns.promises API is experimental',
325 -'ExperimentalWarning');
326 324 }
327 325 return promises;
328 326 }
Original file line number Diff line number Diff line change
@@ -27,8 +27,6 @@ common.expectWarning({
27 27 'internal/test/binding': [
28 28 'These APIs are for internal testing only. Do not use them.'
29 29 ],
30 -// For dns.promises.
31 -'ExperimentalWarning': 'The dns.promises API is experimental',
32 30 // For calling `dns.lookup` with falsy `hostname`.
33 31 'DeprecationWarning': {
34 32 DEP0118: 'The provided hostname "false" is not a valid ' +