Commit Graph

10 Commits

Author SHA1 Message Date
Ivan Kopeykin 3b55455b26 improve parseRange, add test cases
- parse "NaN" as string part
- allow more whitespaces in hyphen
2022-02-01 10:57:42 +03:00
Nikita Milyanik 1ab1d0104c accept whitespaces after semver range operators 2022-01-28 14:24:05 +01:00
Tobias Koppers c3e8c55956 run prettier 2020-09-01 11:30:46 +02:00
Michael Peyper 1138a8cc0b reduce duplication of normal and runtime semver tests 2020-08-05 22:40:17 +10:00
Michael Peyper 16ea587de1 added tests around minified runtime versions of semver functions 2020-08-05 20:48:13 +10:00
Tobias Koppers 92472698d7 fix edge case of string with number compare 2020-07-02 16:10:04 +02:00
Tobias Koppers 67acac367b fix logic handling build version
build version should be ignored in matching ranges
2020-07-02 16:10:01 +02:00
Tobias Koppers 2689d026b1 refactor semver logic to be internal
share scope uses string version instead of parsed one
2020-07-02 16:09:57 +02:00
Tobias Koppers 33945ad2b3 fix matching of string version in prerelease ranges
versions are in a contiguous range of:
0, 1, ..., 9, 10, 11, ..., 100, ..., a, b, c, ..., alpha, ..., beta, ..., etc, ...
2020-07-02 16:09:48 +02:00
Tobias Koppers 3fcd5f9bc5 add full Semantic Versioning for Shared Modules
change storage format in the share scope
choose shared module deterministic from the same origin
remove array syntax from version and requiredVersion in schema
2020-07-02 16:09:39 +02:00