utils/initial-branch-utils.js
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 })
    }
  })
}
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 })
    }
  })
}
add npm package data to dependency info from previous function /*
Returns:
[{
name: '@finnpauls/dep',
version: '1.0.0',
type: 'devDependencies',
data: {
'dist-tags': [Object]
}
}]