opyebSemVerLab
Track 55 · VERSION LAB

Evaluate version ranges under four ecosystems and see exactly where they collide

SemVer 2.0.0, npm, Cargo and PEP 440 range rules, implemented side by side. Give it candidate versions and constraints and it reports matches, the newest matching version, the shared intersection and the pair that conflicts. Nothing you paste leaves the browser.

0 bytes of your input sent to a server (advertising and affiliate widgets excluded)

  • 4ecosystem rule sets
  • 6workplace presets
  • 12,200cross-checked cases
  • 0server uploads

Range evaluator and intersection (conflict) tester

With two or more constraints it shows whether any candidate satisfies all of them, and if not, which two constraints collide and at which bound.

SemVer 2.0.0
Ecosystem mode

Presets

Constraints

Commas and semicolons work too. Leave it empty to judge from the intersection interval alone.

Version diff and sorter

See which part of a version changed, whether that change breaks ^/~ compatibility, and sort a list of versions at once.

Version sorter

One version per line; sorted by the current mode's precedence. Build metadata never affects the order.

Diagnostic report

Copy or save what is on screen as Markdown or JSON. The report holds your input and the verdict; it never leaves the browser.

Preview


How to use it

Three steps. Nothing you enter is stored anywhere.

Pick the modeChoose the ecosystem you are dealing with: npm, Cargo, PEP 440 or plain SemVer 2.0.0. The presets show the grammar differences at a glance.
Enter constraints and candidatesOne constraint per row, candidate versions pasted as a list. Every edit re-evaluates immediately.
Read the verdictCheck the shared versions, the intersection interval and the conflicting pair, then copy the report as Markdown or JSON.

Frequently asked questions

Is my version list uploaded anywhere?

No. Range parsing, comparison, intersection, diff, sorting and report generation all run in this page's JavaScript. Excluding advertising and affiliate widgets, 0 bytes of your input are sent to a server.

Why does ^0.2.3 refuse 0.3.0 in npm?

npm's ^ pins the left-most non-zero position. For 1.2.3 that is the major, for 0.2.3 the minor, so ^0.2.3 ends at `<0.3.0-0`. 0.3.0 sits outside that upper bound.

Is Cargo's ^0.0.3 the same as npm's?

With all three positions written, yes: both mean `>=0.0.3 <0.0.4. Cargo also accepts partial forms like 0.0 or 0, defaults to caret when the operator is omitted, and has no ||`. This site keeps a separate parser per mode so the differences stay visible.

Why does 1.4.3.dev0 fail ~=1.4.2 in PEP 440?

dev releases are prereleases. PEP 440 recommends excluding prereleases unless the specifier mentions one, so pip does the same. Add a constraint such as `>=1.4.2rc1` to admit them.

Prereleases never match my range. Is that a bug?

No. npm and Cargo only admit a prerelease when a comparator names the same major.minor.patch with a prerelease, so 1.5.0-beta.1 does not satisfy `>=1.2.3-beta.1 <2.0.0`. SemVer mode compares prereleases plainly, without that isolation rule.

Does it agree with node-semver and packaging?

The core paths were checked against both. npm ranges were compared with node-semver 7.7.3, PEP 440 with packaging 26.3 and ordering with an independent implementation across more than 12,000 cases. The verification report ships with the site.

Guides

Five notes, from range syntax traps to classifying peer dependency conflicts.