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

mqlight-dev

Package Overview
Dependencies
Maintainers
6
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mqlight-dev - npm Package Compare versions

Comparing version 2.0.2016111400 to 2.0.2017050800

node_modules/amqp10/.editorconfig

7

package.json
{
"name": "mqlight-dev",
"version": "2.0.2016111400",
"version": "2.0.2017050800",
"description": "IBM MQ Light Client Module",

@@ -28,5 +28,6 @@ "author": "IBM MQ Light <mqlight@uk.ibm.com>",

},
"bundledDependencies": [ "amqp10" ],
"dependencies": {
"amqp10": "^3.3.1",
"amqp10-link-cache": "^1.1.0",
"amqp10": "3.5.3-mqlight",
"amqp10-link-cache": "1.2.2",
"debug": "^2.2.0",

@@ -33,0 +34,0 @@ "moment": "~2.14.1",

@@ -22,10 +22,2 @@ # node-mqlight

The following are the currently supported platform architectures:
* 64-bit or 32-bit runtime on Windows (x64 or x86)
* 64-bit runtime on Linux (x64)
* 64-bit runtime on Mac OS X (x64)
You will receive an error if you attempt to use any other combination.
### Usage

@@ -612,4 +604,9 @@

### 2.0.2017042000
* Bugfix for issues around delivery confirmation and link credit policies.
### 2.0.2016102601
* Support for Node.js 6.x.x engine.
* Complete rewrite of the client to use a pure JavaScript implementation of the

@@ -620,6 +617,2 @@ AMQP 1.0 protocol. Hence we no longer require compilation of a native addon

### 1.0.2016071802
* Support for Node.js 6.x.x engine.
### 1.0.2016061711

@@ -626,0 +619,0 @@

@@ -27,2 +27,5 @@ /* %Z% %W% %I% %E% %U% */

var mqlightServiceName = 'mqlight'
var messageHubServiceName = 'messagehub';
// The URL to use when connecting to the MQ Light server

@@ -187,15 +190,20 @@ var serviceURL = 'amqp://localhost';

var services = JSON.parse(process.env.VCAP_SERVICES);
if (services.mqlight) {
options.user = services.mqlight[0].credentials.username;
options.password = services.mqlight[0].credentials.password;
options.service = services.mqlight[0].credentials.connectionLookupURI;
if (verbose) {
console.log('Username: ' + options.user);
console.log('Password: ' + options.user);
console.log('LookupURI: ' + options.service);
for (var key in services) {
if (key.lastIndexOf(mqlightServiceName, 0) === 0) {
var mqlightService = services[key][0];
options.service = mqlightService.credentials.nonTLSConnectionLookupURI;
options.user = mqlightService.credentials.username;
options.password = mqlightService.credentials.password;
} else if (key.lastIndexOf(messageHubServiceName, 0) === 0) {
var messageHubService = services[key][0];
options.service = messageHubService.credentials.mqlight_lookup_url;
options.user = messageHubService.credentials.user;
options.password = messageHubService.credentials.password;
}
} else {
throw new Error('Running in IBM Bluemix but not bound to an instance ' +
"of the 'mqlight' service.");
}
if (!options.hasOwnProperty('service') ||
!options.hasOwnProperty('user') ||
!options.hasOwnProperty('password')) {
throw 'Error - Check that app is bound to service';
}
result = true;

@@ -202,0 +210,0 @@ } else if (verbose) {

@@ -444,3 +444,3 @@ /* %Z% %W% %I% %E% %U% */

// 'callback called when stopped');
test.notDeepEqual(err, undefined, 'not undefined so err set');
test.notEqual(err, undefined, 'not undefined so err set');
test.equal(client._queuedSends.length, 0, 'no queued sends left');

@@ -447,0 +447,0 @@ stubproton.sender.send = savedSendFunction;

Sorry, the diff of this file is too big to display

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