feat(nodejs): add support dependency location for yarn.lock files (#3016)

This commit is contained in:
DmitriyLewen
2022-10-25 14:19:21 +06:00
committed by GitHub
parent b22e37e0c6
commit cbedd712db
8 changed files with 348 additions and 3 deletions

View File

@@ -69,6 +69,15 @@ func TestFilesystem(t *testing.T) {
},
golden: "testdata/nodejs.json.golden",
},
{
name: "yarn",
args: args{
securityChecks: "vuln",
input: "testdata/fixtures/fs/yarn",
listAllPkgs: true,
},
golden: "testdata/yarn.json.golden",
},
{
name: "pnpm",
args: args{