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

bonjour-hap

Package Overview
Dependencies
Maintainers
0
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.7.3 to 3.8.0-beta.0

4

lib/Registry.js
'use strict'
const flatten = require('array-flatten')
const flatten = require('array-flatten').flatten
const Service = require('./Service.js')

@@ -48,3 +48,3 @@ const Prober = require('./Prober.js')

const records = flatten.depth(services.map(function (service) {
const records = flatten(services.map(function (service) {
service.deactivate()

@@ -51,0 +51,0 @@ const records = service._records(true)

@@ -5,3 +5,3 @@ 'use strict'

const dnsEqual = require('./utils/dnsEqual')
const flatten = require('array-flatten')
const flatten = require('array-flatten').flatten
const helpers = require('./helpers.js')

@@ -26,3 +26,3 @@

const answers = type === 'ANY'
? flatten.depth(Object.keys(this.registry).map(this._recordsFor.bind(this, name)), 1)
? flatten(Object.keys(this.registry).map(this._recordsFor.bind(this, name)), 1)
: this._recordsFor(name, type)

@@ -29,0 +29,0 @@

{
"name": "bonjour-hap",
"version": "3.7.3",
"version": "3.8.0-beta.0",
"description": "A Bonjour/Zeroconf implementation in pure JavaScript (for HAP)",

@@ -43,3 +43,3 @@ "main": "index.js",

"dependencies": {
"array-flatten": "^2.1.2",
"array-flatten": "^3.0.0",
"deep-equal": "^2.2.3",

@@ -53,5 +53,5 @@ "multicast-dns": "^7.2.5",

"tape": "^5.8.1",
"nyc": "^15.1.0",
"nyc": "^17.0.0",
"rimraf": "^5.0.7"
}
}

@@ -0,7 +1,15 @@

<p align="center">
<a href="https://homebridge.io"><img src="https://raw.githubusercontent.com/homebridge/branding/latest/logos/homebridge-color-round-stylized.png" height="140"></a>
</p>
<span align="center">
# bonjour-hap
<a href="https://www.npmjs.com/package/bonjour-hap"><img title="npm version" src="https://badgen.net/npm/v/bonjour-hap" ></a>
<a href="https://www.npmjs.com/package/bonjour-hap/v/beta"><img title="npm version beta" src="https://badgen.net/npm/v/bonjour-hap/beta" ></a>
<a href="https://www.npmjs.com/package/bonjour-hap"><img title="npm downloads" src="https://badgen.net/npm/dt/bonjour-hap" ></a>
<a href="https://github.com/homebridge/bonjour/actions/workflows/build.yml"><img title="Node Build" src="https://github.com/homebridge/bonjour/actions/workflows/build.yml/badge.svg" ></a>
<a href='https://coveralls.io/github/homebridge/bonjour?branch=latest'><img src='https://coveralls.io/repos/github/homebridge/bonjour/badge.svg?branch=latest' alt='Coverage Status' /></a>
![NPM-Version](https://badgen.net/npm/v/bonjour-hap)
![NPM-Downloads](https://badgen.net/npm/dt/bonjour-hap)
[![Node Build](https://github.com/homebridge/bonjour/actions/workflows/nodejs.yml/badge.svg)](https://github.com/homebridge/bonjour/actions/workflows/nodejs.yml)
[![Coverage Status](https://coveralls.io/repos/github/homebridge/bonjour/badge.svg?branch=master)](https://coveralls.io/github/homebridge/bonjour?branch=master)
</span>

@@ -8,0 +16,0 @@ A Bonjour/Zeroconf protocol implementation in pure JavaScript. Publish

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