Semver range check

does a version satisfy ^, ~, >=, x-ranges — and the newest compatible one from a list

Check

1.4.2 satisfies ^1.2.0

Newest compatible

Newest under ^1.2.0
1.4.2
^1.2.3 = ≥1.2.3 <2.0.0 (minor+patch), ~1.2.3 = ≥1.2.3 <1.3.0 (patch only). Watch 0.x: ^0.3.0 = ≥0.3.0 <0.4.0 — the caret only stretches to the first non-zero digit, so npm writes 0.x deps as ~-ranges. || means OR between ranges.

Over Semver

Semver — gratis online tool op usefulhub.cloud. IT Tools: Hulpprogramma's voor ontwikkelaars. Gebruik onze tools zonder registratie of software-installatie. Alle berekeningen gebeuren in uw browser — uw gegevens worden nooit naar een server gestuurd.