Comparing version 1.4.4 to 1.4.5
@@ -23,2 +23,3 @@ 'use strict' | ||
this._url = opts.url || 'amqp://localhost' | ||
this._connect_options = opts.options || {} | ||
this._trace = opts.trace === false ? false : true | ||
@@ -345,3 +346,3 @@ this._exchange_name = opts.exchange || 'remit' | ||
// So let's connect! | ||
amqplib.connect(self._url).then((connection) => { | ||
amqplib.connect(self._url, self.options).then((connection) => { | ||
// Everything's go fine, so we'll set this global | ||
@@ -797,3 +798,3 @@ // object to our new connection. | ||
function step_through_callbacks (callbacks, args, extra, done, index) { | ||
args = args || {} | ||
args = args !== undefined ? args : {} | ||
extra = extra || {} | ||
@@ -800,0 +801,0 @@ |
{ | ||
"name": "remit", | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"description": "A small set of functionality used to create microservices that don't need to be aware of one-another's existence.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "./node_modules/.bin/mocha ./test/index.js -w --debug", | ||
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- ./test/index.js --timeout=60000" | ||
}, | ||
@@ -17,3 +18,9 @@ "author": "Jack Williams <jack@tagstr.co>", | ||
}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"chalk": "^1.1.3", | ||
"istanbul": "^0.4.3", | ||
"mocha": "^2.4.5", | ||
"prompt": "^1.0.0" | ||
}, | ||
"repository": { | ||
@@ -20,0 +27,0 @@ "type": "git", |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
49852
13
897
0
5
1