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.2 to 1.1.0

2

package.json
{
"name": "multicast-dns",
"version": "1.0.2",
"version": "1.1.0",
"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.toString().toUpperCase()) {
switch (type.toUpperCase()) {
case 'A': return ra

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

@@ -44,8 +44,9 @@ exports.toString = function(type) {

case 251: return 'IXFR'
case 41: return 'OPT'
}
return type
return 'UNKNOWN-'+type
}
exports.toType = function(name) {
switch (name.toString().toUpperCase()) {
switch (name.toUpperCase()) {
case 'A': return 1

@@ -92,4 +93,5 @@ case 'AAAA': return 28

case 'IXFR': return 251
case 'OPT': return 41
}
return 0
}
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