3 lines
122 B
JavaScript
3 lines
122 B
JavaScript
const SemVer = require('../classes/semver')
|
|
const major = (a, loose) => new SemVer(a, loose).major
|
|
module.exports = major
|