From 259865b2b2dfbf0d526bab063288c5eb797ca84d Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Sat, 9 Nov 2019 17:29:37 +0000 Subject: [PATCH] fix: update dependencies --- src/classes/Agent.js | 2 +- src/classes/HttpProxyAgent.js | 2 +- src/classes/HttpsProxyAgent.js | 2 +- src/factories/createGlobalProxyAgent.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/classes/Agent.js b/src/classes/Agent.js index e8f2b6be..07e40d40 100644 --- a/src/classes/Agent.js +++ b/src/classes/Agent.js @@ -38,7 +38,7 @@ class Agent { mustUrlUseProxy: MustUrlUseProxyMethodType, getUrlProxy: GetUrlProxyMethodType, fallbackAgent: AgentType, - socketConnectionTimeout: number + socketConnectionTimeout: number, ) { this.fallbackAgent = fallbackAgent; this.isProxyConfigured = isProxyConfigured; diff --git a/src/classes/HttpProxyAgent.js b/src/classes/HttpProxyAgent.js index 163b25c9..8b9b4710 100644 --- a/src/classes/HttpProxyAgent.js +++ b/src/classes/HttpProxyAgent.js @@ -20,7 +20,7 @@ class HttpProxyAgent extends Agent { createConnection (configuration: ConnectionConfigurationType, callback: ConnectionCallbackType) { const socket = net.connect( configuration.proxy.port, - configuration.proxy.hostname + configuration.proxy.hostname, ); callback(null, socket); diff --git a/src/classes/HttpsProxyAgent.js b/src/classes/HttpsProxyAgent.js index 69de6c3f..dd87a75b 100644 --- a/src/classes/HttpsProxyAgent.js +++ b/src/classes/HttpsProxyAgent.js @@ -20,7 +20,7 @@ class HttpsProxyAgent extends Agent { createConnection (configuration: ConnectionConfigurationType, callback: ConnectionCallbackType) { const socket = net.connect( configuration.proxy.port, - configuration.proxy.hostname + configuration.proxy.hostname, ); socket.on('error', (error) => { diff --git a/src/factories/createGlobalProxyAgent.js b/src/factories/createGlobalProxyAgent.js index e5493d18..2f28c615 100644 --- a/src/factories/createGlobalProxyAgent.js +++ b/src/factories/createGlobalProxyAgent.js @@ -129,7 +129,7 @@ export default (configurationInput: ProxyAgentConfigurationInputType = defaultCo mustUrlUseProxy(getHttpProxy), getUrlProxy(getHttpProxy), http.globalAgent, - configuration.socketConnectionTimeout + configuration.socketConnectionTimeout, ); } }; @@ -149,7 +149,7 @@ export default (configurationInput: ProxyAgentConfigurationInputType = defaultCo mustUrlUseProxy(getHttpsProxy), getUrlProxy(getHttpsProxy), https.globalAgent, - configuration.socketConnectionTimeout + configuration.socketConnectionTimeout, ); } };