detect-port-alt
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -75,3 +75,10 @@ 'use strict' | ||
// 4. check current ip | ||
listen(port, address.ip(), (err, realPort) => { | ||
let ip; | ||
try { | ||
ip = address.ip() | ||
} catch (err) { | ||
return handleError(err) | ||
} | ||
listen(port, ip, (err, realPort) => { | ||
if (err) { | ||
@@ -78,0 +85,0 @@ return handleError(err) |
{ | ||
"name": "detect-port-alt", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "detect available port", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
98
31211
12
2