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

amqp-wrapper

Package Overview
Dependencies
Maintainers
7
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqp-wrapper - npm Package Compare versions

Comparing version 7.0.0-es6.0 to 7.0.0-es6.1

test/00_test.js

4

lib/queue-setup.js

@@ -5,4 +5,4 @@ async function bindRoutingKeys (channel, exchange, queueName, keys = []) {

: keys;
for (let routingKey in routingKeys) {
await channel.bindQueue(queueName, exchange, routingKey);
for (let i in routingKeys) {
await channel.bindQueue(queueName, exchange, routingKeys[i]);
}

@@ -9,0 +9,0 @@ }

{
"name": "amqp-wrapper",
"version": "7.0.0-es6.0",
"version": "7.0.0-es6.1",
"engines": {

@@ -42,3 +42,4 @@ "node": ">= 8"

"semistandard": "^12.0.1",
"sinon": "^7.3.2"
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0"
},

@@ -45,0 +46,0 @@ "semistandard": {

@@ -51,2 +51,3 @@ const SandboxedModule = require('sandboxed-module');

// Bind the consume queue, and its dead letter queue.
expect(amqpLibMock.bindQueueSpy).to.have.been.calledWith(config.good.queue.name, config.good.exchange, config.good.queue.routingKey);
expect(amqpLibMock.bindQueueSpy.callCount).to.equal(2);

@@ -53,0 +54,0 @@ });

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