Socket
Socket
Sign inDemoInstall

vtop

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vtop - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

15

app.js

@@ -348,5 +348,8 @@ /**

init: function() {
// Get the theme, it defaults to parallax
var theme = cli.theme;
var theme;
if (typeof process.theme != 'undefined') {
theme = process.theme;
} else {
theme = cli.theme;
}
/**

@@ -449,3 +452,7 @@ * Quits running vtop after so many seconds

// @todo: show changelog AND smush existing data into it :D
upgrade.install('vtop');
upgrade.install('vtop', [
{
'theme': theme
}
]);
}

@@ -452,0 +459,0 @@ });

{
"name": "vtop",
"version": "0.5.0",
"version": "0.5.1",
"description": "Wow such top. So stats",

@@ -5,0 +5,0 @@ "homepage": "http://parall.ax/vtop",

@@ -37,3 +37,3 @@ /**

*/
install: function(package) {
install: function(package, vars) {
var blessed = require('blessed'),

@@ -67,3 +67,3 @@ program = blessed.program(),

path = data.toString().trim().split(' ')[2];
}
}
});

@@ -80,2 +80,5 @@ child.stderr.on('data', function (data) {

setTimeout(function() {
for (var v in vars) {
process[v] = vars[v];
}
require(path);

@@ -82,0 +85,0 @@ }, 1000);

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