doc: add explicit example with ^ and leading 0

Since the leading 0 is treated a bit special, its worth it to have an
explicit example to match the above example of the major version being >
0.
This commit is contained in:
Doug Goldstein 2018-02-17 22:23:27 -06:00
parent 489f570d47
commit 996197094c
No known key found for this signature in database
GPG Key ID: C88CD4C6DF24365D

View File

@ -42,6 +42,7 @@ be allowed with them:
^1.2 := >=1.2.0 <2.0.0
^1 := >=1.0.0 <2.0.0
^0.2.3 := >=0.2.3 <0.3.0
^0.2 := >= 0.2.0 < 0.3.0
^0.0.3 := >=0.0.3 <0.0.4
^0.0 := >=0.0.0 <0.1.0
^0 := >=0.0.0 <1.0.0