Comparing version 0.0.2 to 0.0.5
var program = require('commander'); | ||
var packageJson = require('./../package.json'); | ||
var packageJson = require('../package.json'); | ||
var spawn = require('child_process').spawn; | ||
@@ -38,2 +38,3 @@ var child; | ||
.action(function(action, options) { | ||
options = options || {}; | ||
var network = options.network; | ||
@@ -68,2 +69,3 @@ var securityType = options.security || 'wpa2'; | ||
.action(function(cmd, options) { | ||
options = options || {}; | ||
var ssid = cmd; | ||
@@ -92,2 +94,3 @@ var password = options.password; | ||
.action(function(cmd, options) { | ||
options = options || {}; | ||
var device = options.device || 'en0'; | ||
@@ -111,2 +114,3 @@ child = spawn(networkSetupBin, | ||
.action(function(cmd, options) { | ||
options = options || {}; | ||
var device = options.device || 'en0'; | ||
@@ -113,0 +117,0 @@ child = spawn(networkSetupBin, |
{ | ||
"name": "airdrome", | ||
"version": "0.0.2", | ||
"version": "0.0.5", | ||
"description": "CLI for wifi management", | ||
@@ -5,0 +5,0 @@ "main": "airdrome.js", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
9520
135
1