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

@pager/jackrabbit

Package Overview
Dependencies
Maintainers
15
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.6.0 to 4.6.1

17

lib/exchange.js

@@ -80,14 +80,23 @@ var amqp = require('amqplib/callback_api');

let replied = false;
var timeout = setTimeout(() => {
replyTo(new Error('Timeout'));
replied = true;
}, options.timeout || DEFAULT_RPC_CLIENT_OPTIONS.timeout);
function onReply (reply) {
function onReply(reply) {
clearTimeout(timeout);
replyTo(reply);
if (!replied) {
replyTo(reply);
}
}
function onNotFound (notFound) {
function onNotFound(notFound) {
clearTimeout(timeout);
replyTo(new Error('Not Found'));
if (!replied) {
replyTo(new Error('Not Found'));
}
}

@@ -94,0 +103,0 @@

{
"name": "@pager/jackrabbit",
"version": "4.6.0",
"version": "4.6.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