projects
/
platform
/
framework
/
web
/
wrtjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Apply module bundling
[platform/framework/web/wrtjs.git]
/
node_modules
/
semver
/
functions
/
valid.js
1
const parse = require('./parse')
2
const valid = (version, options) => {
3
const v = parse(version, options)
4
return v ? v.version : null
5
}
6
module.exports = valid