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.1.7 to 0.1.8

11

lib/git.js

@@ -37,2 +37,11 @@ var fs = require('fs');

var getStaged = function(data, cb) {
exec("cd '"+folder+"';git status -s", function(err, stdout, stderr) {
if(err !== null)
return cb(err);
data.unstaged = (stdout === '') ? false : true;
return cb(null, data);
});
}
var getBranch = function(data, cb) {

@@ -94,3 +103,3 @@ exec("cd '"+folder+"';git rev-parse --abbrev-ref HEAD", function(err, stdout, stderr) {

async.waterfall([getUrl, getMeta, getBranch, getRemote, getPrevNext, getDate],
async.waterfall([getUrl, getMeta, getStaged, getBranch, getRemote, getPrevNext, getDate],
function(err, data) {

@@ -97,0 +106,0 @@ if (err !== null)

2

package.json
{
"name": "vizion",
"version": "0.1.7",
"version": "0.1.8",
"engines": {

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

@@ -25,2 +25,4 @@

* type : 'git',
* ahead : false,
* unstaged : false,
* branch : 'development',

@@ -27,0 +29,0 @@ * commment : 'This is a comment',

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