codeintel/lockfiles: Introduce yarn.lock parser
Created by: tsenart
Background
This commit introduces a yarn.lock parser and refactors the existing package-lock.json parser to reuse github.com/aquasecurity/go-dep-parser. As part of this PR, we also introduce support for sub repo permissions checking by using git.LsFiles
.
Test plan
Unit and integration tests.