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

npm / cli / #3619 / 1
97%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 26 Jan 2022 08:45PM UTC
Files 126
Run time 26s
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

26 Jan 2022 08:43PM UTC coverage: 97.25%. Remained the same
#3619.1

push

ruyadorno
fix(arborist): load actual tree on named updates

Arborist was not loading the actual tree when using named updates for
global updates, that would result in removing all previously installed
deps from a global install anytime the user would try to run
`npm update <pkgname>`.

This changeset fixes the problem by allowing the load of the actual tree
if the `global` and `update.names` options are defined.

Added a few more tests to illustrate but some of the snapshots already
included were actually demonstrating the problem by having empty trees
as result, these are now also updated with the expected tree result.

Fixes: https://github.com/npm/cli/issues/3175

3301 of 3404 branches covered (96.97%)

Branch coverage included in aggregate %.

5822 of 5977 relevant lines covered (97.41%)

29.53 hits per line

Source Files on job #3619.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 3619
  • 1f853f8b on github
  • Prev Job for on release-next (##3618.1)
  • Next Job for on release-next (##3620.1)
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