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

npm / node-semver / 340 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: alternative-esm
DEFAULT BRANCH: master
Ran 23 Mar 2021 01:39AM UTC
Files 48
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

23 Mar 2021 01:36AM UTC coverage: 100.0%. Remained the same
340.1

push

travis-ci

isaacs
Correctly handle prereleases/ANY ranges in subset

An "ANY" range (ie, `""`, `*`, etc.) does not include prerelease
versions except when `includePrerelease` flag is set.

Also, merely looking at the max/min boundaries of any ranges ignores the
fact that the sub range maybe including prerelease versions that are
excluded from the super range.  For example, `>=1.2.3-pre.0` is _not_ a
subset of `>=1.0.0`, because it inludes `1.2.3-pre.0`, `1.2.3-pre.1`,
and so on.

PR-URL: https://github.com/npm/node-semver/pull/377
Credit: @isaacs
Close: #377
Reviewed-by: @wraithgar

766 of 766 branches covered (100.0%)

1059 of 1059 relevant lines covered (100.0%)

77.85 hits per line

Source Files on job 340.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 295
  • Travis Job 340.1
  • 0ce87d6a on github
  • Prev Job for on isaacs/range-subset-with-stars-and-prereleases (#336.2)
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