@pager/jackrabbit
Advanced tools
Comparing version 4.6.0 to 4.6.1
@@ -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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
14174
399