Socket
Socket
Sign inDemoInstall

mqtts

Package Overview
Dependencies
17
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0-beta.4 to 1.4.0

6

dist/mqtt.client.js

@@ -268,4 +268,6 @@ "use strict";

sendData(data) {
if (!this.transport.duplex)
throw new errors_1.IllegalStateError('Expected a duplex - was undefined');
if (!this.transport.duplex) {
this.emitError(new errors_1.IllegalStateError('Expected a duplex - was undefined'));
return;
}
this.transport.duplex.write(data);

@@ -272,0 +274,0 @@ }

{
"name": "mqtts",
"version": "1.4.0-beta.4",
"version": "1.4.0",
"description": "MQTT client in Typescript",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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