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

rabbitmq-manager

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rabbitmq-manager - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

utils/setup.js

3

index.js

@@ -5,5 +5,6 @@ #!/usr/bin/env node

Object.defineProperty(global, '__config', {
value:require('path').join(__dirname, 'utils', 'config.json')
value:require('path').join(process.env.HOME, '.rabbitmq-manager', 'config.json')
});
require('./utils/setup');
switch(process.argv[2]){

@@ -10,0 +11,0 @@ case "config":

@@ -1,2 +0,2 @@

var config = require('../utils/config');
var config = require(__config);

@@ -3,0 +3,0 @@ delete config['default'];

@@ -1,1 +0,1 @@

require('fs').writeFileSync(process.argv[3] || 'config.json', require('../utils/config').pretty());
require('fs').writeFileSync(process.argv[3] || 'config.json', require(__config).pretty());

@@ -1,2 +0,2 @@

var config = require('../utils/config'),
var config = require(__config),
fs = require('fs'),

@@ -3,0 +3,0 @@ schema = require('../utils/schema');

@@ -1,2 +0,2 @@

var config = require('../utils/config'),
var config = require(__config),
fs = require('fs'),

@@ -3,0 +3,0 @@ readline = require('readline'),

{
"name": "rabbitmq-manager",
"version": "1.1.2",
"version": "1.1.3",
"description": "A RabbitMQ monitoring system written in NodeJS.",

@@ -5,0 +5,0 @@ "author": {

var args = require('minimist')(process.argv.slice(3)),
config = require('./config');
config = require(__config);

@@ -4,0 +4,0 @@ var conf = args.c || args.conf || args.config,

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