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

@emartech/rabbitmq-client

Package Overview
Dependencies
Maintainers
143
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emartech/rabbitmq-client - npm Package Compare versions

Comparing version 4.2.0 to 5.0.0

12

package.json

@@ -24,12 +24,12 @@ {

"chai-subset": "1.6.0",
"eslint": "8.11.0",
"eslint": "8.23.1",
"eslint-config-emarsys": "5.1.0",
"eslint-plugin-mocha": "10.0.3",
"mocha": "9.2.2",
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.0.0",
"semantic-release": "19.0.2",
"sinon": "13.0.1",
"sinon": "14.0.0",
"sinon-chai": "3.7.0"
},
"dependencies": {
"@emartech/json-logger": "3.4.1",
"@emartech/json-logger": "7.0.3",
"@emartech/object-batcher-js": "1.4.2",

@@ -40,3 +40,3 @@ "amqplib": "0.8.0",

},
"version": "4.2.0"
"version": "5.0.0"
}

@@ -5,7 +5,7 @@ 'use strict';

const RabbitMq = require('../rabbit-mq');
const { getLogger } = require('../util');
const { createLogger } = require('@emartech/json-logger');
class RabbitMqBatchConsumer {
constructor(amqpConfig, configuration) {
this._logger = getLogger(configuration.logger);
this._logger = createLogger(configuration.logger);
this._channel = configuration.channel;

@@ -103,5 +103,7 @@ this._connectionType = configuration.connectionType || 'default';

messageObjects.map(
this._extendedMessages ?
this._getMessageWithDecryptedContent.bind(this) :
this._getDecryptedMessageContent.bind(this)
/* eslint-disable operator-linebreak */
this._extendedMessages
? this._getMessageWithDecryptedContent.bind(this)
: this._getDecryptedMessageContent.bind(this)
/* eslint-enable operator-linebreak */
)

@@ -108,0 +110,0 @@ )

@@ -5,7 +5,7 @@ 'use strict';

const RabbitMq = require('../rabbit-mq/index');
const { getLogger } = require('../util');
const { createLogger } = require('@emartech/json-logger');
class RabbitMqConsumer {
constructor(amqpConfig, configuration) {
this._logger = getLogger(configuration.logger);
this._logger = createLogger(configuration.logger);
this._channel = configuration.channel;

@@ -12,0 +12,0 @@ this._connectionType = configuration.connectionType || 'default';

@@ -6,3 +6,3 @@ 'use strict';

const sinonChai = require('sinon-chai');
const Logger = require('@emartech/json-logger').Logger;
const { Logger } = require('@emartech/json-logger');

@@ -9,0 +9,0 @@ chai.use(sinonChai);

@@ -5,7 +5,7 @@ 'use strict';

const RabbitMq = require('../rabbit-mq/index');
const { getLogger } = require('../util');
const { createLogger } = require('@emartech/json-logger');
class RabbitMqConsumer {
constructor(amqpConfig, configuration) {
this._logger = getLogger(configuration.logger);
this._logger = createLogger(configuration.logger);
this._channel = configuration.channel;

@@ -12,0 +12,0 @@ this._connectionType = configuration.connectionType || 'default';

@@ -8,3 +8,3 @@ 'use strict';

const amqp = require('amqplib');
const logger = require('@emartech/json-logger')('rabbit-mq-client');
const logger = require('@emartech/json-logger').createLogger('rabbit-mq-client');

@@ -11,0 +11,0 @@ class RabbitMq {

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