File tree Expand file tree Collapse file tree 3 files changed +1300
-1081
lines changed Expand file tree Collapse file tree 3 files changed +1300
-1081
lines changed Original file line number Diff line number Diff line change 66 "bugs" : " https://github.com/heroku/http-call/issues" ,
77 "dependencies" : {
88 "content-type" : " ^1.0.4" ,
9- "debug" : " ^3 .1.0 " ,
9+ "debug" : " ^4 .1.1 " ,
1010 "is-retry-allowed" : " ^1.1.0" ,
11- "is-stream" : " ^1.1 .0" ,
11+ "is-stream" : " ^2.0 .0" ,
1212 "parse-json" : " ^4.0.0" ,
1313 "tunnel-agent" : " ^0.6.0"
1414 },
1515 "devDependencies" : {
1616 "@heroku-cli/tslint" : " ^1.1.4" ,
17- "@types/content-type" : " ^1.1.2 " ,
17+ "@types/content-type" : " ^1.1.3 " ,
1818 "@types/is-stream" : " ^1.1.0" ,
19- "@types/jest" : " ^23.3.1 " ,
20- "@types/nock" : " ^9.3.0 " ,
21- "@types/node" : " ^10.9.3 " ,
19+ "@types/jest" : " ^24.0.11 " ,
20+ "@types/nock" : " ^9.3.1 " ,
21+ "@types/node" : " ^11.13.7 " ,
2222 "@types/parse-json" : " ^4.0.0" ,
23- "jest" : " ^23.5.0 " ,
24- "nock" : " ^9.6.1 " ,
25- "ts-jest" : " ^23.1.4 " ,
26- "tslint" : " ^5.11 .0" ,
27- "typescript" : " ^3.0.1 "
23+ "jest" : " ^24.7.1 " ,
24+ "nock" : " ^10.0.6 " ,
25+ "ts-jest" : " ^24.0.2 " ,
26+ "tslint" : " ^5.16 .0" ,
27+ "typescript" : " ^3.4.5 "
2828 },
2929 "engines" : {
3030 "node" : " >=8.0.0"
Original file line number Diff line number Diff line change 11import contentType = require( 'content-type' )
22import http = require( 'http' )
33import https = require( 'https' )
4+ import isStream = require( 'is-stream' )
45
56import proxy = require( './proxy' )
67
78export const deps = {
89 get proxy ( ) : typeof proxy . default {
910 return fetch ( './proxy' ) . default
1011 } ,
11- get isStream ( ) : any {
12+ get isStream ( ) : typeof isStream {
1213 return fetch ( 'is-stream' )
1314 } ,
1415 get contentType ( ) : typeof contentType {
You can’t perform that action at this time.
0 commit comments