Skip to content

Commit

Permalink
Merge pull request #9562 from dependabot/dependabot/npm_and_yarn/npm_…
Browse files Browse the repository at this point in the history
…and_yarn/helpers/pnpm-dependencies-aed75d57aa

Bump the pnpm-dependencies group in /npm_and_yarn/helpers with 2 updates
  • Loading branch information
raj-meka committed May 2, 2024
2 parents 41313ee + a43cf5a commit 29dcdfa
Show file tree
Hide file tree
Showing 12 changed files with 4,119 additions and 360 deletions.
4 changes: 4 additions & 0 deletions npm_and_yarn/helpers/lib/pnpm/lockfile-parser.js
Expand Up @@ -15,6 +15,10 @@ async function parse(directory) {
});

return Object.entries(lockfile.packages ?? {})
.filter(([depPath, pkgSnapshot]) => {
let dp = dependencyPath.parse(depPath);
return dp && dp.name // null or undefined checked for dependency path (dp) and empty name dps are filtered.
})
.map(([depPath, pkgSnapshot]) => nameVerDevFromPkgSnapshot(depPath, pkgSnapshot, Object.values(lockfile.importers)))
}

Expand Down

0 comments on commit 29dcdfa

Please sign in to comment.