Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bonjour-hap

Package Overview
Dependencies
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bonjour-hap - npm Package Compare versions

Comparing version 3.5.9 to 3.5.10

5

lib/Service.js
'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 @@ }

2

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc