mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2025-12-10 14:58:48 +00:00
支持 mac
This commit is contained in:
6
npm-packages/mac-v2.4.x/semver/functions/valid.js
Normal file
6
npm-packages/mac-v2.4.x/semver/functions/valid.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const parse = require('./parse')
|
||||
const valid = (version, options) => {
|
||||
const v = parse(version, options)
|
||||
return v ? v.version : null
|
||||
}
|
||||
module.exports = valid
|
||||
Reference in New Issue
Block a user