Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
nodejs-18
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
semver
/
ranges
/
//opt/nodejs-18/usr/lib/node_modules/npm/node_modules/semver/ranges/valid.js
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