File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,8 @@ function specifierIncluded(specifier) {
1515 return cur < ver ;
1616 } else if ( op === '>=' ) {
1717 return cur >= ver ;
18- } else {
19- return false ;
2018 }
19+ return false ;
2120 }
2221 return op === '>=' ;
2322}
Original file line number Diff line number Diff line change 2626 "test:multirepo" : " cd ./test/resolver/multirepo && npm install && npm test"
2727 },
2828 "devDependencies" : {
29- "@ljharb/eslint-config" : " ^17.6 .0" ,
30- "array.prototype.map" : " ^1.0.3 " ,
29+ "@ljharb/eslint-config" : " ^18.0 .0" ,
30+ "array.prototype.map" : " ^1.0.4 " ,
3131 "aud" : " ^1.1.5" ,
3232 "eclint" : " ^2.8.1" ,
33- "eslint" : " ^7.27 .0" ,
33+ "eslint" : " ^7.32 .0" ,
3434 "object-keys" : " ^1.1.1" ,
3535 "safe-publish-latest" : " ^1.1.4" ,
3636 "tap" : " 0.4.13" ,
37- "tape" : " ^5.2.2 "
37+ "tape" : " ^5.3.1 "
3838 },
3939 "license" : " MIT" ,
4040 "author" : {
Original file line number Diff line number Diff line change @@ -122,9 +122,8 @@ test('symlinked', function (t) {
122122 var dir = path . dirname ( resolved ) ;
123123 var base = path . basename ( resolved ) ;
124124 return path . join ( dir , 'symlinked' , base ) ;
125- } else {
126- return path . join ( resolved , 'symlinked' ) ;
127125 }
126+ return path . join ( resolved , 'symlinked' ) ;
128127 }
129128 } ;
130129 }
@@ -183,9 +182,8 @@ test('readPackageSync', function (t) {
183182 var readPackageSync = function ( readFileSync , file ) {
184183 if ( file . indexOf ( path . join ( 'bar' , 'package.json' ) ) >= 0 ) {
185184 return { main : './something-else.js' } ;
186- } else {
187- return JSON . parse ( files [ path . resolve ( file ) ] ) ;
188185 }
186+ return JSON . parse ( files [ path . resolve ( file ) ] ) ;
189187 } ;
190188
191189 t . test ( 'with readPackage' , function ( st ) {
You can’t perform that action at this time.
0 commit comments