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

npm / arborist / #8

Build:
Build:
LAST BUILD BRANCH:
DEFAULT BRANCH: master
Ran 28 Apr 2020 12:35AM UTC
Jobs 1
Files 27
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
#8

push

isaacs
Produce JSON-friendly format for AdvisoryReport

This adds a toJSON method on the AdvisoryReport class, so that it can be
passed to npm-audit-report, without that module having to know about
Arborist's internals.

This also moves the 'fixAvailable' calculation into the AdvisoryReport
class rather than buildIdealTree, since it's relevant to the report that
we output for the user, and thus needs to be in the pojo result.

Also, remove some tap snapshot files for tests that were removed (in
some cases, quite a while ago!)

PR-URL: https://github.com/npm/arborist/pull/59
Credit: @isaacs
Close: #59
Fix: #54
Reviewed-by: @ruyadorno

1701 of 1701 branches covered (100.0%)

Branch coverage included in aggregate %.

57 of 57 new or added lines in 3 files covered. (100.0%)

2555 of 2555 relevant lines covered (100.0%)

222.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #8.1 28 Apr 2020 12:35AM UTC 0
100.0
Source Files on build #8
Detailed source file information is not available for this build.
  • Back to Repo
  • 29ded541 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