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

coap

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coap - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

1

lib/retry_send.js

@@ -60,2 +60,3 @@

var err = new Error('No reply in ' + parameters.exchangeLifetime + 's')
err.retransmitTimeout = parameters.exchangeLifetime;
that.emit('error', err)

@@ -62,0 +63,0 @@ }, parameters.exchangeLifetime * 1000)

6

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

@@ -38,6 +38,6 @@ "main": "index.js",

"coap-packet": "~0.1.8",
"bl": "~0.5.0",
"bl": "~0.6.0",
"backoff": "~2.3.0",
"lru-cache": "~2.3.1"
"lru-cache": "~2.5.0"
}
}

@@ -16,2 +16,6 @@ node-coap

[![NPM](https://nodei.co/npm/coap.png)](https://nodei.co/npm/coap/)
[![NPM](https://nodei.co/npm-dl/coap.png)](https://nodei.co/npm/coap/)
<a name="intro"></a>

@@ -18,0 +22,0 @@ ## Introduction

@@ -576,2 +576,3 @@ const coap = require('../')

expect(err).to.have.property('message', 'No reply in 247s')
expect(err).to.have.property('retransmitTimeout', 247)
done()

@@ -578,0 +579,0 @@ })

@@ -619,3 +619,4 @@

res.on('error', function() {
res.on('error', function(err) {
expect(err).to.have.property('retransmitTimeout', 247)
done()

@@ -622,0 +623,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