Socket
Socket
Sign inDemoInstall

multicast-dns

Package Overview
Dependencies
Maintainers
1
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 1.0.1 to 1.0.2

4

example.js
var mdns = require('./')()
mdns.on('warning', function(err) {
console.log(err.stack)
})
mdns.on('response', function(response) {

@@ -4,0 +8,0 @@ console.log('got a response packet:', response)

2

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

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

@@ -289,3 +289,3 @@ var types = require('./types')

var renc = function(type) {
switch (type.toUpperCase()) {
switch (type.toString().toUpperCase()) {
case 'A': return ra

@@ -292,0 +292,0 @@ case 'PTR': return rptr

@@ -49,3 +49,3 @@ exports.toString = function(type) {

exports.toType = function(name) {
switch (name.toUpperCase()) {
switch (name.toString().toUpperCase()) {
case 'A': return 1

@@ -52,0 +52,0 @@ case 'AAAA': return 28

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