Socket
Socket
Sign inDemoInstall

coap

Package Overview
Dependencies
24
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.0.7

7

dist/lib/server.js

@@ -205,3 +205,3 @@ "use strict";

}
else {
else if (this._options.type === 'udp4') {
allAddresses(this._options.type).forEach((_interface) => {

@@ -211,2 +211,7 @@ sock.addMembership(multicastAddress, _interface);

}
else {
// FIXME: Iterating over all network interfaces does not
// work for IPv6 at the moment
sock.addMembership(multicastAddress);
}
}

@@ -213,0 +218,0 @@ }

@@ -262,3 +262,3 @@ /*

)
} else {
} else if (this._options.type === 'udp4') {
allAddresses(this._options.type).forEach((

@@ -272,2 +272,6 @@ _interface

})
} else {
// FIXME: Iterating over all network interfaces does not
// work for IPv6 at the moment
sock.addMembership(multicastAddress)
}

@@ -274,0 +278,0 @@ }

9

package.json
{
"name": "coap",
"version": "1.0.6",
"version": "1.0.7",
"description": "A CoAP library for node modelled after 'http'",

@@ -11,4 +11,4 @@ "main": "dist/index.js",

"prepublishOnly": "npm run build",
"test": "nyc mocha ./dist/test --exit",
"coverage": "nyc report --reporter=lcov --reporter=text-summary",
"test": "c8 mocha ./dist/test --exit",
"coverage": "c8 report --reporter=lcov --reporter=text-summary",
"lint": "eslint .",

@@ -38,3 +38,2 @@ "lint:fix": "eslint . --fix"

"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/capitalize": "^2.0.0",

@@ -54,3 +53,3 @@ "@types/chai": "^4.3.0",

"mocha": "^9.2.0",
"nyc": "^15.1.0",
"c8": "^7.11.0",
"pre-commit": "1.2.2",

@@ -57,0 +56,0 @@ "sinon": "^12.0.1",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc