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

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

Build:
Build:
LAST BUILD BRANCH: alternative-esm
DEFAULT BRANCH: master
Ran 23 Mar 2021 01:39AM UTC
Jobs 3
Files 48
Run time 1min
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
340

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%)

234.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 340.1 23 Mar 2021 01:39AM UTC 0
100.0
Travis Job 340.1
2 340.2 23 Mar 2021 01:39AM UTC 0
100.0
Travis Job 340.2
3 340.3 23 Mar 2021 01:40AM UTC 0
100.0
Travis Job 340.3
Source Files on build 340
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #340
  • 0ce87d6a on github
  • Prev Build on isaacs/range-subset-with-stars-and-prereleases (#336)
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