1. Related Developer Tools
Lint container builds in our Dockerfile Linter, convert config files with the ENV to JSON Converter, or export API collections in our Postman to cURL Converter.
THE TOOLBOX / PACKAGE MANAGEMENT & DEVOPS
Evaluate Semantic Versioning ranges (^, ~, >=, x, ||) against candidate versions using the exact npm semver engine—instantly seeing normalized comparators, maxSatisfying, and release bumps.
Comparator: >=1.2.3 <2.0.0-0
SEMVER OPERATOR CHEAT SHEET
| Range | Expanded Comparator | Allows |
|---|---|---|
| ^1.2.3 | >=1.2.3 <2.0.0 | Minor & patch updates within 1.x |
| ~1.2.3 | >=1.2.3 <1.3.0 | Patch updates within 1.2.x only |
| ^0.2.3 | >=0.2.3 <0.3.0 | Patch updates only (0.x treats minor as breaking) |
| 1.2.x || ^2.0.0 | (>=1.2.0 <1.3.0) OR (>=2.0.0 <3.0.0) | Union of multiple disjoint version ranges |
Lint container builds in our Dockerfile Linter, convert config files with the ENV to JSON Converter, or export API collections in our Postman to cURL Converter.
Evaluated directly in your browser using the official semver package for 100% parity with package.json resolution.
Caret (^1.2.3) allows minor and patch updates that do not change the leftmost non-zero digit (>=1.2.3 <2.0.0). Tilde (~1.2.3) is stricter and only allows patch-level updates (>=1.2.3 <1.3.0).
For 0.x versions, SemVer treats the minor version as breaking: ^0.2.3 resolves to >=0.2.3 <0.3.0, and ^0.0.3 resolves strictly to >=0.0.3 <0.0.4.
Under npm’s node-semver rules, prerelease tags are excluded from range matching unless a comparator in the same tuple explicitly includes a prerelease on that exact major.minor.patch, or includePrerelease is enabled.