geoip-country 4.2.80 → 4.2.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/geoip-country.dat +0 -0
- package/data/geoip-country6.dat +0 -0
- package/package.json +1 -1
- package/scripts/updatedb.js +4 -3
package/data/geoip-country.dat
CHANGED
|
Binary file
|
package/data/geoip-country6.dat
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/scripts/updatedb.js
CHANGED
|
@@ -580,7 +580,7 @@ function processData(database, cb) {
|
|
|
580
580
|
}
|
|
581
581
|
|
|
582
582
|
if (!license_key || license_key === "true") {
|
|
583
|
-
console.log('No GeoLite2 License Key Provided, Please Provide Argument: `--license_key=`'
|
|
583
|
+
console.log('No GeoLite2 License Key Provided, Please Provide Argument: `--license_key=`');
|
|
584
584
|
process.exit(1);
|
|
585
585
|
}
|
|
586
586
|
|
|
@@ -599,7 +599,8 @@ async.eachSeries(databases, function(database, nextDatabase) {
|
|
|
599
599
|
process.exit(1);
|
|
600
600
|
} else {
|
|
601
601
|
console.log('Successfully Updated Databases from MaxMind.');
|
|
602
|
-
if (process.argv
|
|
603
|
-
else
|
|
602
|
+
if (process.argv.indexOf('debug') !== -1) console.log('Notice: temporary files are not deleted for debug purposes.');
|
|
603
|
+
else rimraf(tmpPath);
|
|
604
|
+
process.exit(0);
|
|
604
605
|
}
|
|
605
606
|
});
|