diff --git a/lib/util.js b/lib/util.js index 162d56aa..efb8a7db 100644 --- a/lib/util.js +++ b/lib/util.js @@ -19,11 +19,10 @@ if (!global.COM_RS_COMMON_LOGGER) { const path = require('path'); const fs = require('fs'); -const util = require('node:util'); const Promise = require('bluebird'); const ipaddr = require('ipaddr.js'); const dns = require('dns'); -const dnsLookup = util.promisify(dns.lookup); +const dnsLookup = Promise.promisify(dns.lookup); const mergeUtils = require('../utils/mergeUtils'); const forge = require('node-forge');