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

amqp-extension

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

amqp-extension - npm Package Compare versions

Comparing version 4.0.0-beta.2 to 4.0.0-beta.3

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [4.0.0-beta.3](https://github.com/Tada5hi/amqp-extension/compare/v4.0.0-beta.2...v4.0.0-beta.3) (2024-06-12)
### Bug Fixes
* only ack message if noAck option is false ([d6102e3](https://github.com/Tada5hi/amqp-extension/commit/d6102e3df431c6710257b5bdf59c8e99672e7df6))
# [4.0.0-beta.2](https://github.com/Tada5hi/amqp-extension/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2024-06-11)

@@ -2,0 +9,0 @@

12

dist/module.js

@@ -81,3 +81,5 @@ "use strict";

if (typeof handler === 'undefined') {
ch.nack(message, undefined, requeueOnFailure);
if (!options.noAck) {
ch.nack(message, undefined, requeueOnFailure);
}
return;

@@ -87,6 +89,10 @@ }

await handler(message, ch);
ch.ack(message);
if (!options.noAck) {
ch.ack(message);
}
}
catch (e) {
ch.nack(message, undefined, requeueOnFailure);
if (!options.noAck) {
ch.nack(message, undefined, requeueOnFailure);
}
}

@@ -93,0 +99,0 @@ };

{
"name": "amqp-extension",
"version": "4.0.0-beta.2",
"version": "4.0.0-beta.3",
"description": "An amqp extension with functions and utility functions to consume and publish queue messages.",

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