default-gateway
Advanced tools
Comparing version 2.7.1 to 2.7.2
@@ -27,3 +27,3 @@ "use strict"; | ||
addresses.some(function(addr) { | ||
addresses.some(addr => { | ||
if (addr.family.substring(2) === family && net.isIP(addr.address)) { | ||
@@ -30,0 +30,0 @@ result = {gateway: addr.address, interface: (iface ? iface : null)}; |
{ | ||
"name": "default-gateway", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"description": "Get the default network gateway, cross-platform.", | ||
@@ -20,3 +20,4 @@ "author": "silverwind <me@silverwind.io>", | ||
"eslint": "^4.19.1", | ||
"updates": "^2.4.1" | ||
"eslint-config-silverwind": "^1.0.42", | ||
"updates": "^3.0.0" | ||
}, | ||
@@ -23,0 +24,0 @@ "os": [ |
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
13590
3