New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pubsubr

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pubsubr - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

1

lib/client.js

@@ -49,2 +49,3 @@ const connect = require('./connect');

this.connect.unsubscribe(topic, cb);
delete this.map['topic'];
};
const mqtt = require('mqtt');
const _ = require('lodash');
module.exports = function (options) {
options = options || {host: 'localhost', port: '1883'};
if (typeof options === "object") {
options = _.pick(options, ['host', 'port']);
}
const connect = mqtt.connect(options);
return connect;
};

2

package.json
{
"name": "pubsubr",
"version": "0.0.2",
"version": "0.0.3",
"description": "pub and sub to loopback components",

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

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