1
0
mirror of https://gitee.com/onvia/ccc-tnt-psd2ui synced 2025-06-08 03:34:10 +00:00

11 lines
233 B
JavaScript
Raw Normal View History

2023-07-24 10:36:46 +08:00
const Range = require('../classes/range')
const satisfies = (version, range, options) => {
try {
range = new Range(range, options)
} catch (er) {
return false
}
return range.test(version)
}
module.exports = satisfies