Commit 6260a52
authored
Look up OSV advisories under the npm package name (#626)
checkOSV was given the repository's display key, which is the name shown in
reports rather than the name on npm. 21 of the 26 components that declare an
npmname differ, so the deps.dev request 404s, loadJson turns that into
undefined and checkOSV returns an empty list with nothing logged. The reporter
already resolves this the same way, with npmname falling back to component.
Signed-off-by: Arpit Jain <arpitjain099@gmail.com>1 parent 35696b7 commit 6260a52
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments