| 1 | #!/usr/bin/env node |
| 2 | function _parseBootstrapSemver(version) { |
| 3 | const match = /^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/.exec(String(version || '')); |
| 4 | if (!match) return null; |
nothing calls this directly
no test coverage detected