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

hase

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hase - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

src/hase.js

12

package.json
{
"name": "hase",
"version": "1.0.1",
"version": "1.0.2",
"description": "hase handles exchanges and queues on RabbitMQ.",

@@ -25,9 +25,7 @@ "contributors": [

"devDependencies": {
"assertthat": "0.11.0",
"async-retry": "1.1.4",
"processenv": "0.1.1",
"roboter": "0.16.0",
"roboter-server": "0.16.0",
"assertthat": "1.0.0",
"async-retry": "1.2.1",
"roboter": "thenativeweb/roboter#vnext",
"shelljs": "0.8.1",
"uuidv4": "0.5.0"
"uuidv4": "1.0.0"
},

@@ -34,0 +32,0 @@ "repository": {

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

const env = require('../helpers/env'),
hase = require('../../lib/hase'),
waitForRabbitMq = require('../helpers/waitForRabbitMq');
const env = require('../shared/env'),
hase = require('../../src/hase'),
waitForRabbitMq = require('../shared/waitForRabbitMq');

@@ -15,0 +15,0 @@ suite('hase', () => {

'use strict';
const processenv = require('processenv'),
shell = require('shelljs');
const shell = require('shelljs');
const post = function (done) {
(async () => {
try {
if (!processenv('CIRCLECI')) {
// On CircleCI, we are not allowed to remove Docker containers.
shell.exec('docker kill rabbitmq; docker rm -v rabbitmq');
}
return done(null);
} catch (ex) {
return done(ex);
}
})();
const post = async function () {
shell.exec('docker kill rabbitmq; docker rm -v rabbitmq');
};
module.exports = post;

@@ -5,17 +5,9 @@ 'use strict';

const waitForRabbitMq = require('../helpers/waitForRabbitMq');
const waitForRabbitMq = require('../shared/waitForRabbitMq');
const pre = function (done) {
(async () => {
try {
shell.exec('docker run -d -p 5673:5672 --name rabbitmq rabbitmq:3.6.6-alpine');
await waitForRabbitMq();
return done(null);
} catch (ex) {
return done(ex);
}
})();
const pre = async function () {
shell.exec('docker run -d -p 5673:5672 --name rabbitmq rabbitmq:3.6.6-alpine');
await waitForRabbitMq();
};
module.exports = pre;
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