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

mqtt-packet

Package Overview
Dependencies
Maintainers
1
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 4.1.0 to 4.1.1

5

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

@@ -41,4 +41,5 @@ "main": "mqtt.js",

"bl": "^1.0.0",
"inherits": "^2.0.1"
"inherits": "^2.0.1",
"process-nextick-args": "^1.0.6"
}
}

12

writeToStream.js

@@ -8,14 +8,4 @@

, numCache = require('./numbers')
, nextTick = process.nextTick
, nextTick = require('process-nextick-args')
if (process.version.indexOf('v0.1') === 0) {
(function () {
nextTick = function tickShim(func, stream) {
process.nextTick(function tickWrap() {
return func(stream)
})
}
})()
}
function generate(packet, stream) {

@@ -22,0 +12,0 @@ if (stream.cork) {

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