Comparing version 1.3.15 to 1.3.16
{ | ||
"name": "depsync", | ||
"version": "1.3.15", | ||
"version": "1.3.16", | ||
"author": "Dom Chen", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/domchen/depsync", |
@@ -162,3 +162,4 @@ ////////////////////////////////////////////////////////////////////////////////////// | ||
Utils.error("Current version: " + version); | ||
Utils.error("Please update the depsync tool and try again."); | ||
Utils.error("To upgrade the depsync tool, run:"); | ||
Utils.error(" `npm install -g depsync`"); | ||
return null; | ||
@@ -165,0 +166,0 @@ } |
@@ -66,5 +66,7 @@ ////////////////////////////////////////////////////////////////////////////////////// | ||
function run(args) { | ||
let version = process.versions.node; | ||
if (Utils.compareVersion(version, "14.14.0") < 0) { | ||
Utils.error("Node.js version must be greater than or equal to 14.14.0\n"); | ||
let nodeVersion = process.versions.node; | ||
if (Utils.compareVersion(nodeVersion, "14.14.0") < 0) { | ||
Utils.error("The depsync tool requires Node.js version 14.14.0 or later. "); | ||
Utils.error("Current version: " + nodeVersion); | ||
Utils.error("Please visit https://nodejs.org to download the latest version."); | ||
process.exit(1); | ||
@@ -71,0 +73,0 @@ } |
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
53724
1236