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

npm / arborist / #736

Build:
Build:
LAST BUILD BRANCH:
DEFAULT BRANCH: master
Ran 12 Feb 2021 04:56PM UTC
Jobs 1
Files 39
Run time 4s
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
#736

push

isaacs
fix: deps of linked deps in package-lock

When having optional dependencies of a dependency of
a top-level link dependency, e.g:

    root -> LINK(a)
    a -> (b)
    b -> OPTIONAL(c)

    * c marked as extraneous

Any optional dependency (and all its nested nodes) were marked
as extraneous in package-lock due to `calcDepFlags` missing
properly following the target of Link nodes.

This changeset fixes it by properly following the result of the
`treeverse.visit` method that will have already followed any
link targets at that point.

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

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

2769 of 2769 branches covered (100.0%)

Branch coverage included in aggregate %.

3781 of 3781 relevant lines covered (100.0%)

568.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #736.1 12 Feb 2021 04:56PM UTC 0
100.0
Source Files on build #736
Detailed source file information is not available for this build.
  • Back to Repo
  • c2666af9 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