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.

About Semver

Semver — free online tool on usefulhub.cloud. IT Tools: Developer utilities. Use our tools without registration or installing software. All calculations happen in your browser — your data is never sent to a server.