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

hare

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hare - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

7

lib/exchange.js

@@ -43,2 +43,3 @@ "use strict";

this.__exchange = null;
this.__connectionP = null;
this.exchangeName = name;

@@ -49,3 +50,3 @@ },

var exchangeName = this.exchangeName;
var ret = this.__exchange || this.getConnection().chain(function connectCb(connection) {
var ret = this.__connectionP || (this.__connectionP = this.getConnection().chain(function connectCb(connection) {
var ret = new Promise();

@@ -59,3 +60,3 @@ LOGGER.debug("connecting to exchange %s with options %4j", exchangeName, this.options);

return ret;
}.bind(this));
}.bind(this)));
return when(ret);

@@ -70,3 +71,3 @@ },

exchange: function () {
return this.__createExchange().chain(function () {
return when(this.__exchange) || this.__createExchange().chain(function () {
return this.__exchange;

@@ -73,0 +74,0 @@ }.bind(this));

{
"name": "hare",
"version": "0.0.6",
"version": "0.0.7",
"description": "Wrapper around amqp to make common patterns easier",

@@ -5,0 +5,0 @@ "main": "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