(comp, options)
| 6335 | // already replaced the hyphen ranges |
| 6336 | // turn into a set of JUST comparators. |
| 6337 | function parseComparator (comp, options) { |
| 6338 | debug('comp', comp, options) |
| 6339 | comp = replaceCarets(comp, options) |
| 6340 | debug('caret', comp) |
| 6341 | comp = replaceTildes(comp, options) |
| 6342 | debug('tildes', comp) |
| 6343 | comp = replaceXRanges(comp, options) |
| 6344 | debug('xrange', comp) |
| 6345 | comp = replaceStars(comp, options) |
| 6346 | debug('stars', comp) |
| 6347 | return comp |
| 6348 | } |
| 6349 | |
| 6350 | function isX (id) { |
| 6351 | return !id || id.toLowerCase() === 'x' || id === '*' |
no test coverage detected
searching dependent graphs…