Comparing version 1.0.1 to 1.0.2
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
102167
1070
1