File tree Expand file tree Collapse file tree 6 files changed +35
-78
lines changed
packages/devtools-proxy-support Expand file tree Collapse file tree 6 files changed +35
-78
lines changed Original file line number Diff line number Diff line change 46
46
"reformat" : " npm run prettier -- --write ."
47
47
},
48
48
"dependencies" : {
49
+ "@mongodb-js/socksv5" : " ^0.0.10" ,
49
50
"agent-base" : " ^7.1.1" ,
50
51
"node-fetch" : " ^3.3.2" ,
51
52
"proxy-agent" : " ^6.4.0" ,
52
53
"ssh2" : " ^1.15.0" ,
53
- "socksv5" : " ^0.0.6" ,
54
54
"system-ca" : " ^2.0.0"
55
55
},
56
56
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ import { useOrCreateAgent } from './agent';
6
6
7
7
// The socksv5 module is not bundle-able by itself, so we get the
8
8
// subpackages directly
9
- import socks5Server from 'socksv5/lib/server' ;
10
- import socks5AuthNone from 'socksv5/lib/auth/None' ;
11
- import socks5AuthUserPassword from 'socksv5/lib/auth/UserPassword' ;
9
+ import socks5Server from '@mongodb-js/ socksv5/lib/server' ;
10
+ import socks5AuthNone from '@mongodb-js/ socksv5/lib/auth/None' ;
11
+ import socks5AuthUserPassword from '@mongodb-js/ socksv5/lib/auth/UserPassword' ;
12
12
import { promisify } from 'util' ;
13
13
import { isIPv6 } from 'net' ;
14
14
import type { Socket } from 'net' ;
Original file line number Diff line number Diff line change 1
- declare module 'socksv5/lib/server' {
1
+ declare module '@mongodb-js/ socksv5/lib/server' {
2
2
const mod : any ;
3
3
export = mod ;
4
4
}
5
- declare module 'socksv5/lib/auth/None' {
5
+ declare module '@mongodb-js/ socksv5/lib/auth/None' {
6
6
const mod : any ;
7
7
export = mod ;
8
8
}
9
- declare module 'socksv5/lib/auth/UserPassword' {
9
+ declare module '@mongodb-js/ socksv5/lib/auth/UserPassword' {
10
10
const mod : any ;
11
11
export = mod ;
12
12
}
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ import { Server as SSHServer } from 'ssh2';
15
15
import DuplexPair from 'duplexpair' ;
16
16
import { promisify } from 'util' ;
17
17
18
- import socks5Server from 'socksv5/lib/server' ;
19
- import socks5AuthNone from 'socksv5/lib/auth/None' ;
20
- import socks5AuthUserPassword from 'socksv5/lib/auth/UserPassword' ;
18
+ import socks5Server from '@mongodb-js/ socksv5/lib/server' ;
19
+ import socks5AuthNone from '@mongodb-js/ socksv5/lib/auth/None' ;
20
+ import socks5AuthUserPassword from '@mongodb-js/ socksv5/lib/auth/UserPassword' ;
21
21
import type { Duplex } from 'stream' ;
22
22
23
23
function parseHTTPAuthHeader ( header : string | undefined ) : [ string , string ] {
Original file line number Diff line number Diff line change 1
- declare module 'socksv5/lib/server' {
1
+ declare module '@mongodb-js/ socksv5/lib/server' {
2
2
const mod : any ;
3
3
export = mod ;
4
4
}
5
- declare module 'socksv5/lib/auth/None' {
5
+ declare module '@mongodb-js/ socksv5/lib/auth/None' {
6
6
const mod : any ;
7
7
export = mod ;
8
8
}
9
- declare module 'socksv5/lib/auth/UserPassword' {
9
+ declare module '@mongodb-js/ socksv5/lib/auth/UserPassword' {
10
10
const mod : any ;
11
11
export = mod ;
12
12
}
You can’t perform that action at this time.
0 commit comments