Socket
Socket
Sign inDemoInstall

cox

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cox - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

lib/commands/npm.js

14

lib/colors-theme.js
module.exports = {
input: 'grey',
action: 'cyan',
action: 'grey',
success: 'green',
warn: 'yellow',
warning: 'yellow',
error: 'red'
// silly: 'rainbow',
// verbose: 'cyan',
// prompt: 'grey',
// info: 'green',
// data: 'grey',
// help: 'cyan',
// debug: 'blue',
// error: 'red'
};

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

var nodegitOptions = require('../nodegitoptions');
var npmInstall = require('./npminstall');
var npmCommand = require('./npm');

@@ -34,4 +34,3 @@ var modulesDir = 'modules';

console.log('cox has successfully run the task install'.success);
console.log('starting NPM Install'.action);
npmInstall();
npmCommand('install');
});

@@ -38,0 +37,0 @@ });

var path = require('path');
var colors = require('colors');
var parseArgs = require('minimist');
require('colors').setTheme(require('./colors-theme'));
var command;
colors.setTheme(require('./colors-theme'));
var args = parseArgs(process.argv.slice(2));
var commandName = args._[0];
var command;
try{
command = require( path.join(__dirname, 'commands', process.argv[2]) );
command = require( path.join(__dirname, 'commands', commandName ) );
} catch(ex){
console.error(('Error: there is no command ' + process.argv[2] + ' in cox').error);
console.error(('Error: there is no command ' + commandName + ' in cox').error);
process.exit(1);
}
command(args);
command(process.argv);

@@ -8,3 +8,4 @@ var NodeGit = require('nodegit');

credentials: function(url, userName) {
return NodeGit.Cred.sshKeyFromAgent(userName);
var creds = NodeGit.Cred.sshKeyFromAgent(userName);
return creds;
}

@@ -11,0 +12,0 @@ }

{
"name": "cox",
"version": "0.4.0",
"version": "0.4.1",
"preferGlobal": "true",

@@ -5,0 +5,0 @@ "description": "git commander for multi-repositories",

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