File tree 3 files changed +10
-2
lines changed
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';
3
3
import * as http from 'http' ;
4
4
import createDebug from 'debug' ;
5
5
import { once } from 'events' ;
6
- import type { OutgoingHttpHeaders } from 'http' ;
7
6
import { Agent , AgentConnectOpts } from 'agent-base' ;
7
+ import { URL } from 'node:url' ;
8
+ import type { OutgoingHttpHeaders } from 'http' ;
8
9
9
10
const debug = createDebug ( 'http-proxy-agent' ) ;
10
11
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ import * as tls from 'tls';
3
3
import * as http from 'http' ;
4
4
import assert from 'assert' ;
5
5
import createDebug from 'debug' ;
6
- import type { OutgoingHttpHeaders } from 'http' ;
7
6
import { Agent , AgentConnectOpts } from 'agent-base' ;
7
+ import { URL } from 'node:url' ;
8
8
import { parseProxyResponse } from './parse-proxy-response' ;
9
+ import type { OutgoingHttpHeaders } from 'http' ;
9
10
10
11
const debug = createDebug ( 'https-proxy-agent' ) ;
11
12
You can’t perform that action at this time.
1 commit comments
vercel[bot] commentedon Jan 8, 2024
Successfully deployed to the following URLs:
proxy-agents – ./
proxy-agents-git-main-tootallnate.vercel.app
proxy-agents-tootallnate.vercel.app
proxy-agents.vercel.app
proxy-agents.n8.io