pac-proxy-agent
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -64,3 +64,3 @@ "use strict"; | ||
const uriStr = typeof uri === 'string' ? uri : uri.href; | ||
this.uri = new URL(uriStr.replace(/^pac\+/i, '')); | ||
this.uri = new url_1.URL(uriStr.replace(/^pac\+/i, '')); | ||
debug('Creating PacProxyAgent with URI %o', this.uri.href); | ||
@@ -67,0 +67,0 @@ // @ts-expect-error Not sure why TS is complaining here… |
@@ -8,2 +8,3 @@ /// <reference types="node" /> | ||
import { Readable } from 'stream'; | ||
import { URL } from 'url'; | ||
import { Agent, AgentConnectOpts } from 'agent-base'; | ||
@@ -10,0 +11,0 @@ import { HttpProxyAgentOptions } from 'http-proxy-agent'; |
@@ -64,3 +64,3 @@ "use strict"; | ||
const uriStr = typeof uri === 'string' ? uri : uri.href; | ||
this.uri = new URL(uriStr.replace(/^pac\+/i, '')); | ||
this.uri = new url_1.URL(uriStr.replace(/^pac\+/i, '')); | ||
debug('Creating PacProxyAgent with URI %o', this.uri.href); | ||
@@ -67,0 +67,0 @@ // @ts-expect-error Not sure why TS is complaining here… |
{ | ||
"name": "pac-proxy-agent", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "A PAC file proxy `http.Agent` implementation for HTTP", | ||
@@ -33,5 +33,5 @@ "main": "./dist/index.js", | ||
"http-proxy-agent": "^7.0.0", | ||
"https-proxy-agent": "^7.0.0", | ||
"https-proxy-agent": "^7.0.2", | ||
"pac-resolver": "^7.0.0", | ||
"socks-proxy-agent": "^8.0.1" | ||
"socks-proxy-agent": "^8.0.2" | ||
}, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
33803
559
Updatedhttps-proxy-agent@^7.0.2
Updatedsocks-proxy-agent@^8.0.2