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.2 to 0.2.3

2

lib/hg.js

@@ -45,3 +45,3 @@ var exec = require("child_process").exec;

});
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 hg log --limit 1", function(err, stdout, stderr) {
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 hg log --limit 1 --template 'changeset: {rev}:{node|short}\nsummary: {desc}'", function(err, stdout, stderr) {
if(err !== null) {

@@ -48,0 +48,0 @@ error("mercurial", "fetching log", stderr, cb);

@@ -45,6 +45,6 @@ var ALL = {};

vizion.revertTo = function(argv, cb) {
var rev = (argv.revision) ? argv.revision : false;
var revision = (argv.revision) ? argv.revision : false;
var _folder = (argv.folder != undefined) ? argv.folder : '.';
if (!rev)
if (!revision)
return cb({msg: 'Cannot revert to an invalid commit revision', path: _folder});

@@ -54,3 +54,3 @@

if (ALL[type])
return ALL[type].revert({folder: folder, revision: rev}, cb);
return ALL[type].revert({folder: folder, revision: revision}, cb);
else

@@ -57,0 +57,0 @@ return cb('Error vizion::analyze() for given folder: '+folder);

{
"name": "vizion",
"version": "0.2.2",
"version": "0.2.3",
"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