auditjs
auditjs copied to clipboard
Show what dep brought in a dep, also the path to it
To help devs figure out how to remediate, it was suggested to add the:
- list of deps that require the dep
- the path to the dep
This gives a developer a lot of information to go on to figure out why something was brought in.
This pull request makes the following changes:
- Adds fields for what required a dependency, populates them as we parse the list from read-installed
- Adds a field for the realPath to the dependency, populates it
- Passes both the read-installed coordinates and ossindexserverresults to Audit, and merges them
- Outputs the dependency information:

cc @bhamail / @DarthHater / @allenhsieh / @ken-duck