parse-version
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -1,3 +0,3 @@ | ||
module.exports = function(cb) { | ||
var vparts = version.split('.'); | ||
module.exports = function(versionString, cb) { | ||
var vparts = versionString.split('.'); | ||
if (vparts.length != 4) return cb(new Error("version format isn't valid (must be `*.*.*.*`)")); | ||
@@ -4,0 +4,0 @@ else { |
{ | ||
"name": "parse-version", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Parsing four number versions.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2616