File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @journeyapps/https-proxy-socket" ,
3- "version" : " 0.2.0 " ,
3+ "version" : " 0.2.1 " ,
44 "author" : " JourneyApps" ,
55 "repository" : " journeyapps/https-proxy-socket" ,
66 "license" : " MIT" ,
1717 "@types/mocha" : " ^5.2.6" ,
1818 "@types/node" : " ^11.9.4" ,
1919 "@types/node-fetch" : " ^2.1.6" ,
20- "agent-base" : " ^4.2.1 " ,
20+ "agent-base" : " ^6.0.0 " ,
2121 "assert" : " ^1.4.1" ,
2222 "mocha" : " ^6.0.2" ,
2323 "mssql" : " ^4.3.2" ,
2424 "node-fetch" : " ^2.3.0" ,
2525 "proxy" : " ^1.0.1" ,
2626 "ts-node" : " ^8.0.2" ,
27- "typescript" : " 3.2.4 "
27+ "typescript" : " ^3.7.5 "
2828 },
2929 "main" : " ./lib/index.js" ,
3030 "dependencies" : {},
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import * as tls from 'tls';
99 * @param options - to set additional TLS options for https requests, e.g. rejectUnauthorized
1010 */
1111export function proxyAgent ( proxy : HttpsProxySocket , options ?: tls . ConnectionOptions ) {
12- return agentBase ( async ( req , opts : any ) => {
12+ return agentBase ( async ( req : agentBase . ClientRequest , opts : any ) => {
1313 const socket = await proxy . connect ( opts ) ;
1414
1515 if ( opts . secureEndpoint ) {
Original file line number Diff line number Diff line change 1111 "outDir" : " lib" ,
1212 "rootDir" : " src" ,
1313 "allowJs" : false ,
14- "declaration" : true
14+ "declaration" : true ,
15+ "skipLibCheck" : true
1516 },
1617 "include" : [
1718 " src/**/*"
You can’t perform that action at this time.
0 commit comments