New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amqp-as-promised

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqp-as-promised - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

2

lib/amqp-client.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1
(function() {

@@ -3,0 +3,0 @@ var ExchangeWrapper, Q, QueueWrapper, amqp, log;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1
(function() {

@@ -33,3 +33,3 @@ var I, Q, comp, compress, decomp, decompress, jsonp, plug, zlib;

return Q.Promise(function(rs, rj) {
var err, error;
var err;
try {

@@ -36,0 +36,0 @@ return rs(JSON.parse(str));

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1
(function() {

@@ -3,0 +3,0 @@ var ExchangeWrapper, Q;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1
(function() {

@@ -3,0 +3,0 @@ var Rpc, RpcBackend, amqpClient, log;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1
(function() {

@@ -3,0 +3,0 @@ var slice = [].slice;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1
(function() {

@@ -102,3 +102,3 @@ var Q, QueueWrapper, log,

wrapper = function() {
var err, error;
var err;
try {

@@ -117,2 +117,4 @@ return callb.apply(null, arguments);

return def.resolve(_this);
}).addErrback(function(err) {
return def.reject(err);
});

@@ -133,5 +135,10 @@ };

delete this._ctag;
this.queue.unsubscribe(ctag);
log.info('unsubscribed:', this.name, ctag);
def.resolve(this);
(this.queue.unsubscribe(ctag)).addCallback((function(_this) {
return function() {
log.info('unsubscribed:', _this.name, ctag);
return def.resolve(_this);
};
})(this)).addErrback(function(err) {
return def.reject(err);
});
return def.promise;

@@ -138,0 +145,0 @@ };

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1
(function() {

@@ -3,0 +3,0 @@ var Q, RpcBackend, compress, decompress, doack, log, merge, ref,

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1
(function() {

@@ -3,0 +3,0 @@ var Cache, DEFAULT_TIMEOUT, Q, Rpc, compress, decompress, merge, ref, uuid,

{
"name": "amqp-as-promised",
"description": "A promise-based AMQP API build on node-amqp",
"version": "2.0.1",
"version": "2.1.0",
"repository": {

@@ -26,3 +26,3 @@ "type": "git",

"q": "~1.4.1",
"amqp": "0.2.4",
"amqp": "0.2.6",
"uuid": "~2.0.1",

@@ -29,0 +29,0 @@ "bog": "1",

Sorry, the diff of this file is not supported yet

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc