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

git2consul

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git2consul - npm Package Compare versions

Comparing version 0.10.4 to 0.10.5

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

["172.17.6.75:8300"]
["172.17.3.223:8300"]

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

var consul = require('consul')({'host': global.endpoint});
var consul = require('consul')({'host': global.endpoint, 'port': global.port, 'secure':global.secure});

@@ -3,0 +3,0 @@ var _ = require('underscore');

@@ -7,3 +7,3 @@ var _ = require('underscore');

var consul = require('consul')({'host': global.endpoint});
var consul = require('consul')({'host': global.endpoint, 'port': global.port, 'secure': global.secure});

@@ -47,3 +47,3 @@ var token = undefined;

// Finish with the file path
if (branch.source_root && !ref) {
if (branch.source_root && !ref) {
file = file.substring(branch.source_root.length + 1);

@@ -50,0 +50,0 @@ }

@@ -12,4 +12,6 @@ var logging = require('./logging.js');

global.endpoint = "127.0.0.1";
global.port = 8500
global.secure = false
for (var i=2; i<process.argv.length; ++i) {
if(process.argv[i] === '-s' || process.argv[i] === '--secure') global.secure = true
if(process.argv[i] === '-e' || process.argv[i] === '--endpoint') {

@@ -22,2 +24,9 @@ if(i+1 >= process.argv.length) {

}
if(process.argv[i] === '-p' || process.argv[i] === '--port') {
if(i+1 >= process.argv.length) {
logger.error("No port provided with --port option");
process.exit(3);
}
global.port = process.argv[i+1];
}
}

@@ -24,0 +33,0 @@

{
"name": "git2consul",
"description": "System for moving data from git to consul",
"version": "0.10.4",
"version": "0.10.5",
"contributors": [

@@ -6,0 +6,0 @@ {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet