@efrem/auditdeps

0.9.1 • Public • Published

Audit dependencies in Yarn 2 (berry) projects

Using

Yarn 2 (berry)

yarn dlx @efrem/auditdeps [--level=(low|moderate|high|critical)] [--production] [--ignore-cwe=cwe-126] [--ignore-cwe=cwe-] [--ignore-cwe=cwe-79]

Npm

npx @efrem/auditdeps [--level=(low|moderate|high|critical)] [--production] [--ignore-cwe=cwe-126] [--ignore-cwe=cwe-] [--ignore-cwe=cwe-79]
  • --level is optional and by default all vulneravilities shown. But if it's set then shown only vulnerabilities of selected level or higher.

  • --production is optional and by default all packages are verifying. When it's set only packages from dependencies section are verified.

  • --ignore-cwe is optional and by default any found vulnerability leads the command exits with code 1. Buf if it's set and if all found vulnerabilities are ignored then the command exits with code 0.

Development

VSCode

  • Setup (https://yarnpkg.com/advanced/editor-sdks#vscode)

    • Open this project directly otherwise you should add to VSCode Workspace settings.json:
    "typescript.tsdk": "<current directory name>/.yarn/sdks/typescript/lib"
    • Press ctrl+shift+p in a TypeScript file
    • Choose "Select TypeScript Version"
    • Pick "Use Workspace Version"

Readme

Keywords

none

Package Sidebar

Install

npm i @efrem/auditdeps

Weekly Downloads

5

Version

0.9.1

License

MIT

Unpacked Size

18.6 kB

Total Files

7

Last publish

Collaborators

  • efrem