+6
-6
| #!/usr/bin/env node | ||
| "use strict"; | ||
| var Model = require("nature").Model, | ||
| var parseArgv = require("command-line-args"), | ||
| fs = require("fs"), | ||
@@ -12,7 +12,7 @@ mfs = require("more-fs"), | ||
| var argv = new Model() | ||
| .define({ name: "do", type: "string" }) | ||
| .define({ name: "when", type: Array, defaultOption: true }) | ||
| .define({ name: "change", type: "boolean" }) | ||
| .set(process.argv); | ||
| var argv = parseArgv([ | ||
| { name: "do", type: "string" }, | ||
| { name: "when", type: Array, defaultOption: true }, | ||
| { name: "change", type: "boolean" } | ||
| ]); | ||
@@ -19,0 +19,0 @@ var fileSet = new mfs.FileSet(argv.when); |
+4
-4
| { | ||
| "name": "baldrick", | ||
| "version": "0.0.6", | ||
| "version": "0.0.7", | ||
| "description": "Your own private dogsbody. Does the shitty work you can't be arsed to do.", | ||
@@ -12,7 +12,7 @@ "repository": "https://github.com/75lb/baldrick", | ||
| "dependencies": { | ||
| "console-dope": "^0.3.3", | ||
| "more-fs": "^0.3.0", | ||
| "nature": "~0.4.2", | ||
| "command-line-args": "~0.0.0", | ||
| "console-dope": "~0.3.3", | ||
| "more-fs": "~0.3.0", | ||
| "wodge": "~0.6.4" | ||
| } | ||
| } |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
2948
-0.84%+ Added
+ Added
- Removed
Updated
Updated