Socket
Socket
Sign inDemoInstall

electron

Package Overview
Dependencies
Maintainers
1
Versions
1311
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

5

History.md
0.1.2 / 2012-05-23
==================
* refactor parse to return `this`
0.1.1 / 2012-05-22

@@ -3,0 +8,0 @@ ==================

2

lib/electron.js

@@ -8,2 +8,2 @@ var CLI = require('./electron/cli');

exports.CLI = CLI;
exports.version = '0.1.1';
exports.version = '0.1.2';

@@ -35,7 +35,8 @@ var Drip = require('drip')

if (~argv.modes.indexOf('v') || ~argv.modes.indexOf('version'))
return displayVersion.call(this);
if (~argv.modes.indexOf('h') || ~argv.modes.indexOf('help'))
return displayHelp.call(this);
if (command.length)
displayVersion.call(this);
else if (~argv.modes.indexOf('h') || ~argv.modes.indexOf('help'))
displayHelp.call(this);
else if (command.length)
this.emit(command, argv, null, null);
return this;
};

@@ -42,0 +43,0 @@

@@ -5,3 +5,3 @@ {

"description": "Event-based tiny CLI famework.",
"version": "0.1.1",
"version": "0.1.2",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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