File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ module.exports = figgyPudding({
19
19
'fetch-retry-mintimeout' : { } ,
20
20
'gid' : { } ,
21
21
'headers' : { } ,
22
+ 'https-proxy' : { } ,
22
23
'integrity' : { } ,
23
24
'is-from-ci' : 'isFromCI' ,
24
25
'isFromCI' : {
@@ -45,6 +46,7 @@ module.exports = figgyPudding({
45
46
'method' : {
46
47
default : 'GET'
47
48
} ,
49
+ 'no-proxy' : { } ,
48
50
'noproxy' : { } ,
49
51
'npm-session' : 'npmSession' ,
50
52
'npmSession' : { } ,
Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ function regFetch (uri, opts) {
66
66
maxSockets : opts . get ( 'maxsockets' ) ,
67
67
memoize : opts . get ( 'memoize' ) ,
68
68
method : opts . get ( 'method' ) || 'GET' ,
69
- noProxy : opts . get ( 'noproxy' ) ,
69
+ noProxy : opts . get ( 'no-proxy' ) || opts . get ( ' noproxy') ,
70
70
Promise : opts . get ( 'Promise' ) ,
71
- proxy : opts . get ( 'proxy' ) ,
71
+ proxy : opts . get ( 'https-proxy' ) || opts . get ( ' proxy') ,
72
72
referer : opts . get ( 'refer' ) ,
73
73
retry : opts . get ( 'retry' ) || {
74
74
retries : opts . get ( 'fetch-retries' ) ,
You can’t perform that action at this time.
0 commit comments