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

jackrabbit

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jackrabbit - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

16

lib/jackrabbit.js

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

function close(callback) {
connection.close(function(err) {
if (callback) callback(err);
rabbit.emit('close');
});
try {
// I don't think amqplib should be throwing here, as this is an async function
// TODO: figure out how to test whether or not amqplib will throw
// (eg, how do they determine if closing is an illegal operation?)
connection.close(function(err) {
if (callback) callback(err);
rabbit.emit('close');
});
}
catch (e) {
if (callback) callback(e);
}
}

@@ -42,0 +50,0 @@

{
"name": "jackrabbit",
"version": "4.0.1",
"version": "4.0.2",
"description": "Easy RabbitMQ for node",

@@ -5,0 +5,0 @@ "readme": "https://github.com/hunterloftis/jackrabbit/blob/master/readme.md",

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