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

@pager/jackrabbit

Package Overview
Dependencies
Maintainers
6
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pager/jackrabbit - npm Package Compare versions

Comparing version 4.8.0 to 4.8.1

26

lib/queue.js

@@ -30,14 +30,2 @@ 'use strict';

if ( ready ){
const opts = Extend({}, DEFAULT_CONSUME_OPTIONS, consumeOptions);
channel.consume(emitter.name, onMessage, opts, onConsume);
}
else {
emitter.once('ready', () => {
const opts = Extend({}, DEFAULT_CONSUME_OPTIONS, consumeOptions);
channel.consume(emitter.name, onMessage, opts, onConsume);
});
}
const onMessage = (msg) => {

@@ -75,2 +63,16 @@

};
if ( ready ){
const opts = Extend({}, DEFAULT_CONSUME_OPTIONS, consumeOptions);
channel.consume(emitter.name, onMessage, opts, onConsume);
return;
}
emitter.once('ready', () => {
const opts = Extend({}, DEFAULT_CONSUME_OPTIONS, consumeOptions);
channel.consume(emitter.name, onMessage, opts, onConsume);
});
};

@@ -77,0 +79,0 @@

{
"name": "@pager/jackrabbit",
"version": "4.8.0",
"version": "4.8.1",
"description": "Easy RabbitMQ for node",

@@ -5,0 +5,0 @@ "keywords": [

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