summaryrefslogtreecommitdiff
path: root/together/node_modules/semver/functions/major.js
diff options
context:
space:
mode:
Diffstat (limited to 'together/node_modules/semver/functions/major.js')
-rw-r--r--together/node_modules/semver/functions/major.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/together/node_modules/semver/functions/major.js b/together/node_modules/semver/functions/major.js
new file mode 100644
index 0000000..4283165
--- /dev/null
+++ b/together/node_modules/semver/functions/major.js
@@ -0,0 +1,3 @@
+const SemVer = require('../classes/semver')
+const major = (a, loose) => new SemVer(a, loose).major
+module.exports = major