You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

amqp-connection-manager

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.4.2 to 3.4.3

4

dist/cjs/AmqpConnectionManager.js

@@ -131,3 +131,3 @@ "use strict";

if (this._closed || this.isConnected()) {
return Promise.resolve();
return Promise.resolve(null);
}

@@ -209,2 +209,4 @@ const result = (this._connectPromise = Promise.resolve()

this.emit('connect', { connection, url: originalUrl });
// Need to return null here, or Bluebird will complain - #171.
return null;
});

@@ -211,0 +213,0 @@ })

@@ -126,3 +126,3 @@ import amqp from 'amqplib';

if (this._closed || this.isConnected()) {
return Promise.resolve();
return Promise.resolve(null);
}

@@ -204,2 +204,4 @@ const result = (this._connectPromise = Promise.resolve()

this.emit('connect', { connection, url: originalUrl });
// Need to return null here, or Bluebird will complain - #171.
return null;
});

@@ -206,0 +208,0 @@ })

import { AmqpConnectionManagerOptions, IAmqpConnectionManager } from './AmqpConnectionManager.js';
export type { AmqpConnectionManagerOptions, IAmqpConnectionManager as AmqpConnectionManager, } from './AmqpConnectionManager.js';
export type { SetupFunc, CreateChannelOpts, default as ChannelWrapper } from './ChannelWrapper.js';
export declare function connect(urls: string[], options: AmqpConnectionManagerOptions): IAmqpConnectionManager;
export declare function connect(urls: string[], options?: AmqpConnectionManagerOptions): IAmqpConnectionManager;
declare const amqp: {

@@ -6,0 +6,0 @@ connect: typeof connect;

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

@@ -5,0 +5,0 @@ "module": "./dist/esm/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc