We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a978db9 commit 47e2a56Copy full SHA for 47e2a56
1 file changed
src/utils/pnpm.mts
@@ -43,7 +43,10 @@ export async function extractPurlsFromPnpmLockfile(
43
...(pkg as any).devDependencies,
44
}
45
for (const depName in deps) {
46
- const ref = deps[depName]!
+ const ref = deps[depName]
47
+ if (!ref) {
48
+ continue
49
+ }
50
const subKey = isPnpmDepPath(ref) ? ref : `/${depName}@${ref}`
51
visit(subKey)
52
0 commit comments