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.2.2 to 6.2.3

1

index.js

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

res.type = 'response'
res.flags = (res.flags || 0) | packet.AUTHORITATIVE_ANSWER
that.send(res, rinfo, cb)

@@ -98,0 +99,0 @@ }

10

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

@@ -11,8 +11,8 @@ "main": "index.js",

"dependencies": {
"dns-packet": "^1.0.1",
"thunky": "^0.1.0"
"dns-packet": "^1.3.1",
"thunky": "^1.0.2"
},
"devDependencies": {
"standard": "^5.4.1",
"tape": "^4.4.0"
"standard": "^10.0.3",
"tape": "^4.8.0"
},

@@ -19,0 +19,0 @@ "repository": {

@@ -163,3 +163,3 @@ var mdns = require('./')

test('TXT record', function (dns, t) {
var data = new Buffer('black box')
var data = Buffer.from('black box')

@@ -226,2 +226,17 @@ dns.once('query', function (packet) {

})
test('Authoritive Answer bit', function (dns, t) {
dns.once('query', function (packet) {
dns.respond([])
})
dns.once('response', function (packet) {
t.ok(packet.flag_auth, 'should be set')
dns.destroy(function () {
t.end()
})
})
dns.query('foo', 'A')
})
})

Sorry, the diff of this file is not supported yet

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