Comparing version 6.3.19 to 6.3.20
@@ -6,2 +6,3 @@ const url = require('url') | ||
const _ = require('lodash') | ||
const { lookup } = require('../utils/dns-utils') | ||
@@ -45,3 +46,6 @@ const log = require('../logger').create('proxy') | ||
const Agent = protocol === 'https:' ? httpsAgent : httpAgent | ||
const agent = new Agent({ keepAlive: true }) | ||
const agent = new Agent({ | ||
keepAlive: true, | ||
lookup | ||
}) | ||
const proxy = httpProxy.createProxyServer({ | ||
@@ -48,0 +52,0 @@ target: { host: hostname, port, protocol }, |
@@ -10,2 +10,3 @@ 'use strict' | ||
const logger = require('./logger') | ||
const { lookup } = require('./utils/dns-utils') | ||
const log = logger.create('runner') | ||
@@ -78,3 +79,4 @@ | ||
'Content-Type': 'application/json' | ||
} | ||
}, | ||
lookup | ||
} | ||
@@ -81,0 +83,0 @@ |
@@ -5,2 +5,3 @@ const http = require('http') | ||
const helper = require('./helper') | ||
const { lookup } = require('./utils/dns-utils') | ||
@@ -46,3 +47,4 @@ exports.stop = function (cliOptionsOrConfig, done) { | ||
port: config.port, | ||
method: 'GET' | ||
method: 'GET', | ||
lookup | ||
}) | ||
@@ -49,0 +51,0 @@ |
@@ -32,4 +32,4 @@ { | ||
"Karma Bot <karmarunnerbot@gmail.com>", | ||
"semantic-release-bot <semantic-release-bot@martynus.net>", | ||
"Maksim Ryzhikov <rv.maksim@gmail.com>", | ||
"semantic-release-bot <semantic-release-bot@martynus.net>", | ||
"ukasz Usarz <lukasz.usarz@gmail.com>", | ||
@@ -503,3 +503,3 @@ "Christian Budde Christensen <budde377@gmail.com>", | ||
}, | ||
"version": "6.3.19", | ||
"version": "6.3.20", | ||
"license": "MIT", | ||
@@ -506,0 +506,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
530624
90
10648
12