Server : LiteSpeed
System : Linux server64.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : nimalaab ( 3358)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /opt/alt/alt-nodejs19/root/lib/node_modules/npm/node_modules/semver/ranges/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/alt/alt-nodejs19/root/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

F1le Man4ger