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

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

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

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

Jobs
ID Job ID Ran Files Coverage
1 #3619.1 26 Jan 2022 08:45PM UTC 0
97.25
Source Files on build #3619
Detailed source file information is not available for this build.
  • Back to Repo
  • 1f853f8b on github
  • Prev Build on release-next
  • Next Build on release-next
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