npm-audit-haphap

    1.2.1 • Public • Published

    npm-audit-haphap

    Are you also tired of getting "Your configured registry (https://registry.npmjs.org/) does not support audit requests." errors from npm audit every now and then?

    Don't worry, just switch your npm audit npm script from

    npm audit --json | audit-filter

    to:

    npm-audit-haphap | audit-filter

    And your builds won't break any longer on a flaky audit step. Audit-haphap will return a clean audit report when npm is not available.

    Validate with exception filtering

    You can also check if you have any unresolved advisories running:

    npm-audit-haphap --validate-with-filter

    Should remaining advisories be found, it exits with error code 1.

    It also reads your .nsprc file for exceptions, so you can exclude advisories until you solve them:

    Example .nsprc file:

    {
      "exceptions": [
        "https://npmjs.com/advisories/1523",
        "https://npmjs.com/advisories/1556"
      ]
    }
    

    Install

    npm i npm-audit-haphap

    DownloadsWeekly Downloads

    1

    Version

    1.2.1

    License

    ISC

    Unpacked Size

    3.14 kB

    Total Files

    3

    Last publish

    Collaborators

    • mkls
    • akapa