2025-04-02 06:50:39 -04:00

4 lines
125 B
JavaScript

const SemVer = require('../classes/semver');
const major = (a, loose) => new SemVer(a, loose).major;
module.exports = major;