File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa
44
55## Master
66
7+ - Retries downloading a package on ` yarn install ` when we get a ETIMEDOUT error.
8+
9+ [ #7163 ] ( https://github.com/yarnpkg/yarn/pull/7163 ) - [ ** Vincent Bailly** ] ( https://github.com/VincentBailly )
10+
711- Implements ` yarn audit --level [severity] ` flag to filter the audit command's output.
812
913[ #6716 ] ( https://github.com/yarnpkg/yarn/pull/6716 ) - [ ** Rogério Vicente** ] ( https://twitter.com/rogeriopvl )
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ export default class RequestManager {
301301 }
302302
303303 // TCP timeout
304- if ( code === 'ESOCKETTIMEDOUT' ) {
304+ if ( code === 'ESOCKETTIMEDOUT' || code === 'ETIMEDOUT' ) {
305305 return true ;
306306 }
307307
You can’t perform that action at this time.
0 commit comments