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

multicast-dns

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multicast-dns - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

4

index.js

@@ -16,2 +16,3 @@ var packet = require('dns-packet')

var me = {address: ip, port: port}
var destroyed = false

@@ -77,2 +78,3 @@ if (type === 'udp6' && (!ip || !opts.interface)) {

bind(function (err) {
if (destroyed) return cb()
if (err) return cb(err)

@@ -107,2 +109,4 @@ var message = packet.encode(value)

if (!cb) cb = noop
if (destroyed) return process.nextTick(cb)
destroyed = true
socket.once('close', cb)

@@ -109,0 +113,0 @@ socket.close()

2

package.json
{
"name": "multicast-dns",
"version": "6.0.0",
"version": "6.0.1",
"description": "Low level multicast-dns implementation in pure javascript",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -37,6 +37,2 @@ # multicast-dns

got a query packet: { type: 'query',
qdcount: 1,
ancount: 0,
nscount: 0,
arcount: 0,
questions: [ { name: 'brunhilde.local', type: 'A', class: 1 } ],

@@ -52,6 +48,2 @@ answers: [],

got a response packet: { type: 'response',
qdcount: 0,
ancount: 1,
nscount: 0,
arcount: 2,
questions: [],

@@ -58,0 +50,0 @@ answers:

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