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

npm / arborist / #39

Build:
Build:
LAST BUILD BRANCH:
DEFAULT BRANCH: master
Ran 15 May 2020 06:03AM UTC
Jobs 1
Files 28
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
#39

push

isaacs
fix: avoid throwing type errors on inventory.add

Trying to load mock malformed testing data from the cli resulted in an
unexpected TypeError. The issue can be reproduced by having a falsy
funding property in a package.json, as seen here:
https://github.com/npm/cli/blob/abdf52879/test/tap/fund.js#L81

This commit fixes the problem by avoiding trying to retrieve the `type`
and `url` properties when having a `null` object reference.

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

1777 of 1777 branches covered (100.0%)

Branch coverage included in aggregate %.

2656 of 2656 relevant lines covered (100.0%)

231.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #39.1 15 May 2020 06:03AM UTC 0
100.0
Source Files on build #39
Detailed source file information is not available for this build.
  • Back to Repo
  • 983e7517 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