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

sockmq

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sockmq - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

examples/example1.js

14

index.js

@@ -94,2 +94,4 @@ const cluster = require('cluster');

const _on = sockmq.on;
sockmq.start = function start(options) {

@@ -163,2 +165,14 @@

sockmq.on = function(eventName, fnc) {
if (typeof eventName == 'object') {
return eventName.forEach(function (e) {
_on.apply(sockmq, [Object.keys(e)[0],e[Object.keys(e)[0]]]);
});
}
_on.apply(sockmq, [eventName, fnc]);
};
module.exports = sockmq;

2

package.json
{
"name": "sockmq",
"version": "1.0.0",
"version": "1.1.0",
"description": "Socket based Message Queue for NodeJS",

@@ -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