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

vizion

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vizion - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

16

lib/git.js

@@ -15,3 +15,3 @@ var fs = require('fs');

var getUrl = function(cb) {
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git config --get remote.origin.url", {timeout: 30000},
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git config --get remote.origin.url", {timeout: 60000},
function(err, stdout, stderr) {

@@ -28,3 +28,3 @@ if(err !== null)

var getMeta = function(data, cb) {
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git show --quiet --format=%H%n%aD%n%s%n%B HEAD", {timeout: 30000},
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git show --quiet --format=%H%n%aD%n%s%n%B HEAD", {timeout: 60000},
function(err, stdout, stderr) {

@@ -42,3 +42,3 @@ if(err !== null)

var getStaged = function(data, cb) {
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git status -s", {timeout: 30000},
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git status -s", {timeout: 60000},
function(err, stdout, stderr) {

@@ -53,3 +53,3 @@ if(err !== null)

var getBranch = function(data, cb) {
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git rev-parse --abbrev-ref HEAD", {timeout: 30000},
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git rev-parse --abbrev-ref HEAD", {timeout: 60000},
function(err, stdout, stderr) {

@@ -64,3 +64,3 @@ if(err !== null)

var getRemote = function(data, cb) {
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git remote", {timeout: 30000},
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git remote", {timeout: 60000},
function(err, stdout, stderr) {

@@ -79,3 +79,3 @@ if(err !== null)

exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git log "+data.remote+"/"+data.branch+" --pretty=oneline",
{timeout: 30000},
{timeout: 60000},
function(err, stdout, stderr) {

@@ -130,3 +130,3 @@ if(err !== null)

exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git remote update >> /dev/null 2>&1; git log "+data.remote
+"/"+data.branch+" --pretty=oneline -n 1", {timeout: 30000},
+"/"+data.branch+" --pretty=oneline -n 1", {timeout: 60000},
function(err, stdout, stderr) {

@@ -154,3 +154,3 @@ var res = {};

ret.success = true;
exec(command, {timeout: 30000},
exec(command, {timeout: 60000},
function(err, stdout, stderr) {

@@ -157,0 +157,0 @@ ret.output += stdout;

{
"name": "vizion",
"version": "0.2.4",
"version": "0.2.5",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=0.10"

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