File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-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+ Import ` url ` instead of ` node:url ` 🤷♂️
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import * as http from 'http';
44import createDebug from 'debug' ;
55import { once } from 'events' ;
66import { Agent , AgentConnectOpts } from 'agent-base' ;
7- import { URL } from 'node: url' ;
7+ import { URL } from 'url' ;
88import type { OutgoingHttpHeaders } from 'http' ;
99
1010const debug = createDebug ( 'http-proxy-agent' ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import * as http from 'http';
44import assert from 'assert' ;
55import createDebug from 'debug' ;
66import { Agent , AgentConnectOpts } from 'agent-base' ;
7- import { URL } from 'node: url' ;
7+ import { URL } from 'url' ;
88import { parseProxyResponse } from './parse-proxy-response' ;
99import type { OutgoingHttpHeaders } from 'http' ;
1010
You can’t perform that action at this time.
0 commit comments