bonjour-hap
Advanced tools
Comparing version 3.5.5 to 3.5.6
@@ -112,3 +112,5 @@ 'use strict' | ||
var address = iface[i] | ||
if (address.internal) { continue } | ||
if (address.internal && address.mac === '00:00:00:00:00:00') { | ||
continue | ||
} | ||
@@ -115,0 +117,0 @@ records.push( |
{ | ||
"name": "bonjour-hap", | ||
"version": "3.5.5", | ||
"version": "3.5.6", | ||
"description": "A Bonjour/Zeroconf implementation in pure JavaScript (for HAP)", | ||
@@ -9,3 +9,6 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "standard && tape test/*.js" | ||
"lint": "standard", | ||
"test": "tape test/*.js", | ||
"test-coverage": "nyc --reporter=lcovonly npm test", | ||
"clean": "rimraf coverage && rimraf .nyc_output" | ||
}, | ||
@@ -42,4 +45,6 @@ "homepage": "https://github.com/homebridge/bonjour", | ||
"standard": "^14.3.3", | ||
"tape": "^4.5.1" | ||
"tape": "^4.5.1", | ||
"nyc": "^15.0.1", | ||
"rimraf": "^3.0.2" | ||
} | ||
} |
@@ -1,3 +0,8 @@ | ||
# bonjour | ||
# bonjour-hap | ||
![NPM-Version](https://badgen.net/npm/v/bonjour-hap) | ||
![NPM-Downloads](https://badgen.net/npm/dt/bonjour-hap) | ||
![Node-CI](https://github.com/homebridge/bonjour/workflows/Node-CI/badge.svg) | ||
[![Coverage Status](https://coveralls.io/repos/github/homebridge/bonjour/badge.svg?branch=master)](https://coveralls.io/github/homebridge/bonjour?branch=master) | ||
A Bonjour/Zeroconf protocol implementation in pure JavaScript. Publish | ||
@@ -7,9 +12,6 @@ services on the local network or discover existing services using | ||
[![Build status](https://travis-ci.org/watson/bonjour.svg?branch=master)](https://travis-ci.org/watson/bonjour) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) | ||
## Installation | ||
``` | ||
npm install bonjour | ||
npm install bonjour-hap | ||
``` | ||
@@ -20,3 +22,3 @@ | ||
```js | ||
var bonjour = require('bonjour')() | ||
var bonjour = require('bonjour-hap')() | ||
@@ -37,3 +39,3 @@ // advertise an HTTP server on port 3000 | ||
```js | ||
var bonjour = require('bonjour')([options]) | ||
var bonjour = require('bonjour-hap')([options]) | ||
``` | ||
@@ -40,0 +42,0 @@ |
Sorry, the diff of this file is not supported yet
40081
910
188
5