Socket
Socket
Sign inDemoInstall

amqp-connection-manager

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqp-connection-manager - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

18

lib/ChannelWrapper.js

@@ -105,9 +105,7 @@ // Generated by CoffeeScript 1.10.0

ChannelWrapper.prototype.addSetup = pb["break"](function(setup) {
return Promise.resolve().then((function(_this) {
return (this._settingUp || Promise.resolve()).then((function(_this) {
return function() {
_this._setups.push(setup);
if (_this._channel) {
return (_this._settingUp || Promise.resolve()).then(function() {
return setup(_this._channel);
});
return setup(_this._channel);
}

@@ -120,9 +118,9 @@ };

this._setups = _.without(this._setups, setup);
if (this._channel) {
return (this._settingUp || Promise.resolve()).then((function(_this) {
return function() {
return (this._settingUp || Promise.resolve()).then((function(_this) {
return function() {
if (_this._channel) {
return pb.callFn(teardown, 1, null, _this._channel);
};
})(this));
}
}
};
})(this));
});

@@ -129,0 +127,0 @@

{
"name": "amqp-connection-manager",
"version": "1.3.2",
"version": "1.3.3",
"description": "Auto-reconnect and round robin support for amqplib.",

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

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