PATH:
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
semver
/
ranges
const Range = require('../classes/range') const validRange = (range, options) => { try { // Return '*' instead of '' so that truthiness works. // This will throw if it's invalid anyway return new Range(range, options).range || '*' } catch (er) { return null } } module.exports = validRange
[-] intersects.js
[edit]
[-] valid.js
[edit]
[-] ltr.js
[edit]
[+]
..
[-] to-comparators.js
[edit]
[-] gtr.js
[edit]
[-] outside.js
[edit]
[-] simplify.js
[edit]
[-] min-version.js
[edit]
[-] max-satisfying.js
[edit]
[-] subset.js
[edit]
[-] min-satisfying.js
[edit]