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

rascal

Package Overview
Dependencies
Maintainers
4
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rascal - npm Package Compare versions

Comparing version 13.0.0 to 13.0.2

7

CHANGELOG.md
# Change Log
## 13.0.2
- Fixed https://github.com/guidesmiths/rascal/issues/150
## 13.0.1
- Improved readme
- Update zUnit
## 13.0.0

@@ -4,0 +11,0 @@ - Switched to eslint-config-esnext and updated style

1

lib/amqp/SubscriberError.js

@@ -87,2 +87,3 @@ const debug = require('debug')('rascal:SubscriberError');

if (err) return next(err);
if (!publisherChannel) return next(new Error('Unable to handle subscriber error by republishing. The VHost is shutting down'));

@@ -89,0 +90,0 @@ publisherChannel.on('error', next);

5

lib/amqp/Subscription.js

@@ -58,6 +58,3 @@ const debug = require('debug')('rascal:Subscription');

if (err) return done(err);
if (!channel) {
debug('No channel returned. VHost is shutting down.');
return done();
}
if (!channel) return done();

@@ -64,0 +61,0 @@ if (config.prefetch) channel.prefetch(config.prefetch);

@@ -336,3 +336,6 @@ const debug = require('debug')('rascal:Vhost');

if (shuttingDown) return next();
if (shuttingDown) {
debug('Ignoring create channel request. VHost is shutting down.');
return next();
}
if (!connection) return next(new Error(format('VHost: %s must be initialised before you can create a channel', self.name)));

@@ -339,0 +342,0 @@

{
"name": "rascal",
"version": "13.0.0",
"version": "13.0.2",
"description": "A config driven wrapper for amqplib supporting multi-host connections, automatic error recovery, redelivery flood protection, transparent encryption / decryption, channel pooling and publication timeouts",

@@ -29,3 +29,3 @@ "main": "index.js",

"random-readable": "^1.0.1",
"zunit": "^3.0.0"
"zunit": "^3.0.8"
},

@@ -39,5 +39,5 @@ "peerDependencies": {

"scripts": {
"test": "node test",
"test": "zUnit",
"lint": "eslint .",
"coverage": "nyc --report html --reporter lcov --reporter text-summary node test",
"coverage": "nyc --report html --reporter lcov --reporter text-summary zUnit",
"docker": "docker run -d --name rascal-rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management",

@@ -64,3 +64,7 @@ "prepare": "husky install"

"author": "Stephen Cresswell",
"license": "ISC"
"license": "ISC",
"zUnit": {
"pollute": true,
"pattern": "^[\\w-]+.tests.js$"
}
}

@@ -565,3 +565,3 @@ # Rascal

```
Refer to the [amqplib](http://www.squaremobius.net/amqp.node/doc/channel_api.html) documentation for further exchange options.
Refer to the [amqplib](https://www.squaremobius.net/amqp.node/channel_api.html) documentation for further exchange options.

@@ -636,3 +636,3 @@ #### Queues

```
Refer to the [amqplib](http://www.squaremobius.net/amqp.node/doc/channel_api.html) documentation for further queue options.
Refer to the [amqplib](https://www.squaremobius.net/amqp.node/channel_api.html) documentation for further queue options.

@@ -815,3 +815,3 @@ #### bindings

Refer to the [amqplib](http://www.squaremobius.net/amqp.node/doc/channel_api.html) documentation for further exchange options.
Refer to the [amqplib](https://www.squaremobius.net/amqp.node/channel_api.html) documentation for further exchange options.

@@ -1153,6 +1153,6 @@ **It's important to realise that even though publication emits a "success" event, this offers no guarantee that the message has been sent UNLESS you use a confirm channel**. Providing you use Rascal's defaults publications will always be confirmed.

"redeliveries": {
"counter": {
"counters": {
"<counter name>": {
"type": "<counter type>",
"size": "1000",
"size": 1000,
}

@@ -1159,0 +1159,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