• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

npm / arborist / #237

Build:
Build:
LAST BUILD BRANCH:
DEFAULT BRANCH: master
Ran 16 Sep 2020 04:38AM UTC
Jobs 1
Files 32
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#237

push

isaacs
Use @npmcli/metavuln-calculator for faster audits

This makes the AuditReport calculation around 40% faster in the cold
cache state, and anywhere from 90% to 99% faster with a warm cache.

It also sets the stage for the capability of doing audits without
hitting the registry, and potentially avoiding known-vulnerable package
versions if they've been previously marked and cached as vulnerable.
(This additional functionality is not implemented in this change, but
it's something we can do in the future.)

One impact is that the `Vuln` class now has an `advisories` set, as well
as a `via` set.  `vuln.advisories` is a set of advisories created by the
metavuln-calculator, which can represent either actual advisories or
metavulns.  The `via` set is a list of Vuln objects _only_, so that we
can track fixes and report on them comprehensively.

Fix: https://github.com/npm/arborist/issues/109

2227 of 2227 branches covered (100.0%)

Branch coverage included in aggregate %.

3254 of 3254 relevant lines covered (100.0%)

355.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #237.1 16 Sep 2020 04:38AM UTC 0
100.0
Source Files on build #237
Detailed source file information is not available for this build.
  • Back to Repo
  • b9f6dcd5 on github
  • Prev Build on
  • Next Build on
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc