The preview shows up here.
The parser only splits. Paste 2.1.0-alpha.2+b7 and you get major 2, minor 1, patch 0, prerelease alpha then the number 2, and build b7. Numeric prerelease identifiers stay numbers, which matters because SemVer compares 2 as a number and beta as text. Build metadata is reported and, by the spec, ignored when versions are ordered.
There is no bump and no range field on this page. If you need 1.2.3 to become 1.3.0, or you need to know whether a version satisfies ^1.0, that is the calculator. An unparseable string fails with “Invalid semantic version” rather than a partial object.
The build section after + can hold several dot-separated pieces. The prerelease section after - works the same way. A plain 1.2.3 comes back with empty prerelease and build arrays. Leading zeros and missing parts fail, because those are not semantic versions.
2.1.0-alpha.2+b7
major 2, minor 1, patch 0, prerelease ["alpha", 2], build ["b7"].
The number 2 stays a number. String sorting would put alpha.10 before alpha.2, and SemVer does not.
SemVer treats numeric prerelease identifiers as numbers, so alpha.2 is less than alpha.10. A string sort would get that backwards. The JSON keeps the type.
No. Build metadata is recorded and then ignored for precedence. 2.1.0-alpha.2+b7 and 2.1.0-alpha.2+b8 are the same version for ordering.
No. The leading v is not part of a semantic version. Paste 1.2.3.
On the SemVer calculator. Operations there include major, minor, patch, prerelease, compare and satisfies.