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

npm / arborist / #342

Build:
Build:
LAST BUILD BRANCH:
DEFAULT BRANCH: master
Ran 15 Oct 2020 10:13PM UTC
Jobs 1
Files 33
Run time 8s
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
#342

push

isaacs
fix cycles/ordering when peer deps require nesting

Previously, there were cases where a peer dependency group might cycle
back in on itself, in such a way that we added a node and its peers
_prior_ to another member of the peer set that also peer-depended upon
the peer dependency.  Since the nodes were being moved rather than
copied, this meant that the conflicting peer was not around to be
checked, and so we would trigger peer conflict ERESOLVES when we tried
to resolve the dependencies of the second peer dependent at a higher
level.

By copying out of the virtual root peerSet, rather than moving, and
tracking which edges have already been overridden, we can avoid a lot of
other checks later on in the process, while ensuring that the
appropriate set of peer dependencies are being loaded at the optimal
level each time.

2323 of 2323 branches covered (100.0%)

Branch coverage included in aggregate %.

3327 of 3327 relevant lines covered (100.0%)

668.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #342.1 15 Oct 2020 10:13PM UTC 0
100.0
Source Files on build #342
Detailed source file information is not available for this build.
  • Back to Repo
  • fa27afd7 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