mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
feat(tests): Use official semver.org RegExp (#5990)
Use the official semantic versioning regexp from https://semver.org/, rather than the shorter but sloppier one we had previously found at https://gist.github.com/jhorsman/62eeea161a13b80e39f5249281e17c39.
This commit is contained in:
committed by
GitHub
parent
3c723f0199
commit
afc4088ce2
@@ -5,7 +5,7 @@
|
||||
"description": "A file containing information about module and module export renamings",
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?(?:\\+[0-9A-Za-z-]+)?$": {"$ref": "#/$defs/version"}
|
||||
"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$": {"$ref": "#/$defs/version"}
|
||||
},
|
||||
"properties": {
|
||||
"develop": {"$ref": "#/$defs/version"}
|
||||
|
||||
Reference in New Issue
Block a user