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 4646 "reformat" : " npm run prettier -- --write ."
4747 },
4848 "dependencies" : {
49+ "@mongodb-js/socksv5" : " ^0.0.10" ,
4950 "agent-base" : " ^7.1.1" ,
5051 "node-fetch" : " ^3.3.2" ,
5152 "proxy-agent" : " ^6.4.0" ,
5253 "ssh2" : " ^1.15.0" ,
53- "socksv5" : " ^0.0.6" ,
5454 "system-ca" : " ^2.0.0"
5555 },
5656 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ import { useOrCreateAgent } from './agent';
66
77// The socksv5 module is not bundle-able by itself, so we get the
88// 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' ;
1212import { promisify } from 'util' ;
1313import { isIPv6 } from 'net' ;
1414import 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' {
22 const mod : any ;
33 export = mod ;
44}
5- declare module 'socksv5/lib/auth/None' {
5+ declare module '@mongodb-js/ socksv5/lib/auth/None' {
66 const mod : any ;
77 export = mod ;
88}
9- declare module 'socksv5/lib/auth/UserPassword' {
9+ declare module '@mongodb-js/ socksv5/lib/auth/UserPassword' {
1010 const mod : any ;
1111 export = mod ;
1212}
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ import { Server as SSHServer } from 'ssh2';
1515import DuplexPair from 'duplexpair' ;
1616import { promisify } from 'util' ;
1717
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' ;
2121import type { Duplex } from 'stream' ;
2222
2323function 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' {
22 const mod : any ;
33 export = mod ;
44}
5- declare module 'socksv5/lib/auth/None' {
5+ declare module '@mongodb-js/ socksv5/lib/auth/None' {
66 const mod : any ;
77 export = mod ;
88}
9- declare module 'socksv5/lib/auth/UserPassword' {
9+ declare module '@mongodb-js/ socksv5/lib/auth/UserPassword' {
1010 const mod : any ;
1111 export = mod ;
1212}
You can’t perform that action at this time.
0 commit comments