aud

3.0.1last stable release 9 months ago
Complexity Score
Low
Open Issues
0
Dependent Projects
358
Weekly Downloadsglobal
1,235

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

END OF LIFE

Thanks to the wonderful folks at npm, in npm v10.2+, after 6 years, npm audit no longer requires a lockfile!

Therefore, you should no longer use aud. Instead, use npx npm@'>=10.2' audit --production.

aud

Use npx aud instead of npm audit, whether you have a lockfile or not!

It’s a great idea to run npm audit in CI; it ensures that you don’t unknowingly have vulnerabilities in your dep graph.

Unfortunately, it doesn’t work without a lockfile :crying_cat_face: and only apps should have lockfiles. It also requires npm v6 or above.

Now, instead of npm audit, you can run npx aud! If your repo has a lockfile, it will just run npm audit; if it does not, it will use npm-lockfile to copy your package.json and your currently configured audit level (npm config get audit-level) to a temp dir that has the proper version of npm installed, it will use npm install --package-lock-only to create a temporary lockfile, and it will run npm audit there. On exit, all the temp dirs will get cleaned up.

aud fix without a lockfile present will throw npm audit‘s normal “no lockfile” error, since there’s no way to preserve fixes to transitive dependencies.

Dependencies

CVE IssuesActive
0
Scorecards Score
4.40
Test Coverage
43.00%
Follows Semver
Yes
Github Stars
26
Dependenciestotal
14
DependenciesOutdated
3
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute aud in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install aud
Processing...
Done

15 Releases

NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.