Newer
Older
vue-indexer / node_modules / semver / functions / valid.js
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 162 bytes v1.0
const parse = require('./parse')
const valid = (version, options) => {
  const v = parse(version, options)
  return v ? v.version : null
}
module.exports = valid