Hacker News new | ask | show | jobs
by thepill 202 days ago
How do you test your projects if there are any infected/affected dependencies used? As i understand it could also be a dependency of a dependency ... that could be affected?
1 comments

   npm audit
and

   npm audit --fix
Or if you want to know the version of a package you have installed:

   npm ls some-pkg