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 1.2.5 to 2.0.0

.editorconfig

7

lib/amqp-client.js

@@ -39,3 +39,8 @@ // Generated by CoffeeScript 1.10.0

if (!isShutdown) {
return log.warn('amqp error:', (err.message ? err.message : err));
log.warn('amqp error:', (err.message ? err.message : err));
if (typeof (conf != null ? conf.errorHandler : void 0) === 'function') {
return conf.errorHandler(err);
} else {
throw err;
}
}

@@ -42,0 +47,0 @@ });

2

package.json
{
"name": "amqp-as-promised",
"description": "A promise-based AMQP API build on node-amqp",
"version": "1.2.5",
"version": "2.0.0",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -63,2 +63,9 @@ AMQP as Promised

### `errorHandler`
*Since 2.0* connection errors are rethrown to crash process.
* `errorHandler`: sets a handler function to receive the error instead of
throwing to process.
## Example config

@@ -65,0 +72,0 @@

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