async function addNPMPackageData (dependencyInfo, registryGet, log) {
  return Promise.mapSeries(dependencyInfo, async dep => {
    try {
      dep.data = await registryGet(registryUrl + dep.name.replace('/', '%2F'), {
      })
      return dep
    } catch (err) {
      log.error('npm: Could not get package data', { dependency: dep, error: err })
    }
  })
}