mirror of
https://github.com/nodejs/node.git
synced 2026-12-04 23:18:49 -05:00
dns: add dns/promises alias
PR-URL: https://github.com/nodejs/node/pull/32953 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
7a094dc505
commit
039cd00a9a
6 files changed
+60
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const dnsPromises = require('internal/dns/promises');
|
||||
dnsPromises.setServers = require('dns').setServers;
|
||||
module.exports = dnsPromises;
|
||||
Reference in new issue
Block a user