devhints.io
Open in
urlscan Pro
2606:4700:3033::ac43:ae29
Public Scan
URL:
https://devhints.io/semver
Submission: On March 17 via manual from IL — Scanned from DE
Submission: On March 17 via manual from IL — Scanned from DE
Form analysis
1 forms found in the DOMGET .
<form class="search" action="." method="get">
<label class="search-box -small">
<span class="prefix">devhints.io</span>
<span class="sep">/</span>
<input name="q" type="text" placeholder="Search 358+ cheatsheets">
</label>
</form>
Text Content
Devhints.io * * * Edit SEMVER CHEATSHEET Your new development career awaits. Check out the latest listings.ads via Carbon SEMVER Given a version number MAJOR.MINOR.PATCH: MAJOR incompatible API changes MINOR add functionality (backwards-compatible) PATCH bug fixes (backwards-compatible) SIMPLE RANGES 1.2.3 =1.2.3 >1.2.3 <1.2.3 >=1.2.3 Note that suffixed versions (1.2.3-rc1) are not matched. RANGES Range Description Notes ~1.2.3 is >=1.2.3 <1.3.0 ^1.2.3 is >=1.2.3 <2.0.0 ^0.2.3 is >=0.2.3 <0.3.0 (0.x.x is special) ^0.0.1 is =0.0.1 (0.0.x is special) ^1.2 is >=1.2.0 <2.0.0 (like ^1.2.0) ~1.2 is >=1.2.0 <1.3.0 (like ~1.2.0) ^1 is >=1.0.0 <2.0.0 ~1 same 1.x same 1.* same 1 same * any version x same HYPHENATED RANGES Range Description 1.2.3 - 2.3.4 is >=1.2.3 <=2.3.4 PARTIAL RIGHT Range Description 1.2.3 - 2.3 is >=1.2.3 <2.4.0 1.2.3 - 2 is >=1.2.3 <3.0.0 PARTIAL LEFT Range Description 1.2 - 2.3.0 is 1.2.0 - 2.3.0 When the right is partial (eg, 2.3), missing pieces are assumed to be x (eg, 2.3.x). When the left is partial (eg, 1.2), missing pieces are assumed to be 0 (eg, 1.2.0). COMBINING RANGES Range Description >=0.14 <16 And (space-separated) 0.14.x || 15.x.x Or (pipe-separated) PRE-RELEASES 1.2.3-prerelease+build EXPLANATION ^ means “compatible with” ~ means “reasonably close to” 0.x.x is for “initial development” 1.x.x means public API is defined #REFERENCES * https://semver.org/ * https://docs.npmjs.com/misc/semver 2 Comments for this cheatsheet. Write yours! devhints.io / Over 358 curated cheatsheets, by developers for developers. Devhints home OTHER CHEATSHEETS * Date & time formats cheatsheet * strftime format cheatsheet * regexp cheatsheet * Screen resolutions cheatsheet * Watchman cheatsheet * cheatsheet TOP CHEATSHEETS * Elixir cheatsheet * ES2015+ cheatsheet * React.js cheatsheet * Vimdiff cheatsheet * Vim cheatsheet * Vim scripting cheatsheet