Add support for package.json #200

Signed-off-by: Toure Dunnon <toure.dunnon@anchore.com>
This commit is contained in:
Toure Dunnon
2020-10-16 11:28:54 -04:00
parent 4c751cb1d4
commit 27c62e34f2
18 changed files with 857 additions and 109 deletions
-8
View File
@@ -69,14 +69,6 @@ func TestPackage_pURL(t *testing.T) {
},
expected: "pkg:npm/name@v0.1.0",
},
{
pkg: Package{
Name: "name",
Version: "v0.1.0",
Type: YarnPkg,
},
expected: "pkg:npm/name@v0.1.0",
},
{
distro: distro.Distro{
Type: distro.Ubuntu,