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

mqtt-packet

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mqtt-packet - npm Package Compare versions

Comparing version 6.2.1 to 6.3.0

2

package.json
{
"name": "mqtt-packet",
"version": "6.2.1",
"version": "6.3.0",
"description": "Parse and generate MQTT packets like a breeze",

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

@@ -63,2 +63,12 @@ 'use strict'

})
test(name + ' writeToStream', function (t) {
var stream = WS()
stream.write = () => true
stream.on('error', (err) => t.fail(err))
var result = mqtt.writeToStream(object, stream, opts)
t.equal(result, true, 'should return true')
t.end()
})
}

@@ -65,0 +75,0 @@

@@ -797,3 +797,3 @@ 'use strict'

stream.write(string, 'utf8')
return stream.write(string, 'utf8')
}

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