PHP 8.2.30
Preview: valid.js Size: 312 B
//opt/alt/alt-nodejs19/root/lib/node_modules/npm/node_modules.bundled/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

Directory Contents

Dirs: 0 × Files: 11

Name Size Perms Modified Actions
217 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
201 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
213 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
579 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
577 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
1.46 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
2.14 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
1.31 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
7.24 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
268 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
312 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).