File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " http-proxy-agent " : patch
3+ " https-proxy-agent " : patch
4+ ---
5+
6+ Add missing ` URL ` type import
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ import * as tls from 'tls';
33import * as http from 'http' ;
44import createDebug from 'debug' ;
55import { once } from 'events' ;
6- import type { OutgoingHttpHeaders } from 'http' ;
76import { Agent , AgentConnectOpts } from 'agent-base' ;
7+ import { URL } from 'node:url' ;
8+ import type { OutgoingHttpHeaders } from 'http' ;
89
910const debug = createDebug ( 'http-proxy-agent' ) ;
1011
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ import * as tls from 'tls';
33import * as http from 'http' ;
44import assert from 'assert' ;
55import createDebug from 'debug' ;
6- import type { OutgoingHttpHeaders } from 'http' ;
76import { Agent , AgentConnectOpts } from 'agent-base' ;
7+ import { URL } from 'node:url' ;
88import { parseProxyResponse } from './parse-proxy-response' ;
9+ import type { OutgoingHttpHeaders } from 'http' ;
910
1011const debug = createDebug ( 'https-proxy-agent' ) ;
1112
You can’t perform that action at this time.
0 commit comments