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

rabbit-queue

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rabbit-queue - npm Package Compare versions

Comparing version 4.7.0 to 4.7.1

2

js/rabbit.d.ts

@@ -15,3 +15,3 @@ /// <reference types="node" />

connected: Promise<any>;
changingPrefetch: Promise<void>;
lock: Promise<void>;
queues: {

@@ -18,0 +18,0 @@ [s: string]: Queue;

@@ -99,14 +99,15 @@ "use strict";

if (handler) {
let localPrefetch;
let localLock;
do {
localPrefetch = this.changingPrefetch;
yield this.changingPrefetch;
} while (this.changingPrefetch !== localPrefetch);
localLock = this.lock;
yield this.lock;
} while (this.lock !== localLock);
if (this.prefetch !== options.prefetch) {
this.prefetch = options.prefetch;
this.changingPrefetch = Promise.resolve(this.channel.prefetch(options.prefetch)).then(() => queue.subscribe(handler));
yield this.changingPrefetch;
this.lock = Promise.resolve(this.channel.prefetch(options.prefetch)).then(() => queue.subscribe(handler));
yield this.lock;
}
else {
yield queue.subscribe(handler);
this.lock = queue.subscribe(handler);
yield this.lock;
}

@@ -113,0 +114,0 @@ }

{
"name": "rabbit-queue",
"version": "4.7.0",
"version": "4.7.1",
"description": "AMQP/RabbitMQ queue management library.",

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

Sorry, the diff of this file is not supported yet

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