distributed-dig
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -296,4 +296,5 @@ #!/usr/bin/env node | ||
debug('"%s" is not a valid hostname. Excluding it from the domains[] array', process.argv[i]); | ||
if (process.argv[i].substr(0, 2) != '--') { | ||
console.log(chalk.blue('Ignoring [') + chalk.blue.underline('%s') + chalk.blue('] because it is not a valid domain name'), process.argv[i]); | ||
if (process.argv[i].substr(0, 1) !== '-') { | ||
// We don't want to warn on switches (which start with '-') | ||
console.log(chalk.yellow('Warning: ') + 'ignoring ' + chalk.blue(process.argv[i]) + ' because it\'s not a valid domain name'); | ||
} | ||
@@ -303,3 +304,3 @@ | ||
if ((process.argv[i].substring(0, 1) === '-') && (process.argv[i].substring(0, 2) !== '--')) { | ||
console.log('Warning: '.yellow + 'ignoring ' + process.argv[i].blue + ' as it\'s not a valid argument'); | ||
console.log(chalk.yellow('Warning: ') + 'ignoring ' + chalk.blue(process.argv[i]) + ' as it\'s not a valid argument'); | ||
} | ||
@@ -306,0 +307,0 @@ } |
{ | ||
"name": "distributed-dig", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "A utility which makes DNS lookup requests across multiple DNS resolvers and collates the results.", | ||
@@ -5,0 +5,0 @@ "main": "distributed-dig.js", |
@@ -290,2 +290,10 @@ # distributed-dig | ||
### [1.5.1] - June 19<sup>th</sup> 2020 | ||
#### Changed | ||
* Improved the detection and reporting of invalid domains and switches | ||
--- | ||
### [1.5.0] - June 19<sup>th</sup> 2020 | ||
@@ -292,0 +300,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
73432
1454
458