deps/npm/lib/install.js
function findSatisfying (pkg, name, range, mustHave, reg) {
  if (mustHave) return null
  return semver.maxSatisfying
         ( Object.keys(reg[name] || {})
           .concat(Object.keys(Object.getPrototypeOf(reg[name] || {})))
         , range
         )
}
function findSatisfying (pkg, name, range, mustHave, reg) {
  if (mustHave) return null
  return semver.maxSatisfying
         ( Object.keys(reg[name] || {})
           .concat(Object.keys(Object.getPrototypeOf(reg[name] || {})))
         , range
         )
}
function findSatisfying ( pkg , name , range , mustHave , reg ) { if ( mustHave ) return null return semver . maxSatisfying ( Object . keys ( reg [ name ] || { } ) . concat ( Object . keys ( Object . getPrototypeOf ( reg [ name ] || { } ) ) ) , range ) }
see if there is a satisfying version already
see if there is a satisfying version already