persona-community-5/.pnpm-store/v3/files/fa/8edd562f29875374751446c79365501a036f9bd534a84a94e30619d552643fe071ed84b2d0814350ee886c6b22ba9c7c735d6f8b7cbebdaa970036db766b41
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

14 lines
326 B
Plaintext

'use strict'
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