(input: string)
| 181 | } |
| 182 | |
| 183 | const parseOrThrow = (input: string): SemVerRange => { |
| 184 | if (input.trim().length === 0) return any |
| 185 | return makeRange(input.split("||").map(parseComparatorSet)) |
| 186 | } |
| 187 | |
| 188 | /** |
| 189 | * Parses an npm-style version range. |