detect-port
Advanced tools
Comparing version 1.1.2 to 1.1.3
1.1.3 / 2017-05-24 | ||
================== | ||
* fix: should ignore getaddrinfo ENOTFOUND error (#22) | ||
1.1.2 / 2017-05-11 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -75,2 +75,6 @@ 'use strict'; | ||
server.close(); | ||
if (err.code === 'ENOTFOUND') { | ||
debug('ignore dns ENOTFOUND error, get free %s:%s', hostname, port); | ||
return callback(null, port); | ||
} | ||
return callback(err); | ||
@@ -77,0 +81,0 @@ }); |
{ | ||
"name": "detect-port", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "detect available port", | ||
@@ -28,2 +28,3 @@ "keywords": [ | ||
"eslint-config-egg": "^3.1.0", | ||
"mm": "^2.1.0", | ||
"pedding": "^1.1.0" | ||
@@ -30,0 +31,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
31121
79
7