bonjour-hap
Advanced tools
Comparing version 3.5.9 to 3.5.10
'use strict' | ||
var os = require('os') | ||
const ip = require('ip') | ||
var util = require('util') | ||
@@ -119,5 +118,3 @@ var EventEmitter = require('events').EventEmitter | ||
interfaces.forEach(iface => { | ||
if (iface.internal || ip.isLoopback(iface.address) || | ||
(!ip.isV4Format(iface.address) && ip.isPrivate(iface.address)) || | ||
addresses.includes(iface.address)) { | ||
if (iface.internal || addresses.includes(iface.address)) { | ||
return | ||
@@ -124,0 +121,0 @@ } |
{ | ||
"name": "bonjour-hap", | ||
"version": "3.5.9", | ||
"version": "3.5.10", | ||
"description": "A Bonjour/Zeroconf implementation in pure JavaScript (for HAP)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
'use strict' | ||
var os = require('os') | ||
const ip = require('ip') | ||
var dgram = require('dgram') | ||
@@ -16,5 +15,3 @@ var tape = require('tape') | ||
interfaces.forEach(iface => { | ||
if (iface.internal || ip.isLoopback(iface.address) || | ||
(!ip.isV4Format(iface.address) && ip.isPrivate(iface.address)) || | ||
addresses.includes(iface.address)) { | ||
if (iface.internal || addresses.includes(iface.address)) { | ||
return | ||
@@ -21,0 +18,0 @@ } |
@@ -14,5 +14,3 @@ 'use strict' | ||
interfaces.forEach(iface => { | ||
if (iface.internal || ip.isLoopback(iface.address) || | ||
(!ip.isV4Format(iface.address) && ip.isPrivate(iface.address)) || | ||
addresses.includes(iface.address)) { | ||
if (iface.internal || addresses.includes(iface.address)) { | ||
return | ||
@@ -19,0 +17,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
40323
918