zb-email-verifier
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -19,23 +19,4 @@ const gulp = require("gulp"); | ||
} | ||
gulp.task("set-new-npm-version-prod", function (done) { | ||
exec("npm show zb-email-verifier | grep latest").then(function(result) { | ||
const latestVersion = result.match(/\d+\.\d+\.\d+/g)[0] | ||
const latestVersions = latestVersion.split(".") | ||
const packageVersions = package.version.split(".") | ||
let newMinorVersion = parseInt(latestVersions[1]) + 1 | ||
const newFetchVersion = 0 | ||
if (packageVersions[0] !== latestVersions[0]) { | ||
newMinorVersion = 0 | ||
} | ||
const newVersion = `${packageVersions[0]}.${newMinorVersion}.${newFetchVersion}` | ||
package.version = newVersion | ||
writeJsonFile("package.json", package).then(done) | ||
}) | ||
}); | ||
gulp.task("set-new-npm-version-dev", function (done) { | ||
gulp.task("set-new-npm-version", function (done) { | ||
exec("npm show zb-email-verifier | grep latest").then(function(result) { | ||
@@ -42,0 +23,0 @@ const latestVersion = result.match(/\d+\.\d+\.\d+/g)[0] |
{ | ||
"name": "zb-email-verifier", | ||
"description": "Promise-based library for verify an email address existence via SMTP", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "ZIGBANG", |
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
26573
510