base-cli-process
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -19,3 +19,2 @@ 'use strict'; | ||
var cwds = [app.cwd || process.cwd()]; | ||
return function(val, key, config, next) { | ||
@@ -22,0 +21,0 @@ debug.field(key, val); |
'use strict'; | ||
var fns = require('../fns'); | ||
var debug = require('../debug'); | ||
var utils = require('../utils'); | ||
module.exports = function(app) { | ||
return fns(app, 'use'); | ||
module.exports = function(app, prop) { | ||
return function(arr, key, config, next) { | ||
arr.forEach(function(name) { | ||
app.use(require(name)); | ||
}); | ||
next(); | ||
} | ||
}; |
{ | ||
"name": "base-cli-process", | ||
"description": "Normalizers for common argv commands handled by the base-cli plugin. Also pre-processes the given object with base-cli-schema before calling `.process()`", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"homepage": "https://github.com/jonschlinkert/base-cli-process", | ||
@@ -27,3 +27,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"base-cli": "^0.5.0", | ||
"base-cli-schema": "^0.1.13", | ||
"base-cli-schema": "^0.1.18", | ||
"base-config-process": "^0.1.3", | ||
@@ -30,0 +30,0 @@ "base-cwd": "^0.1.6", |
@@ -238,2 +238,2 @@ # base-cli-process [](https://www.npmjs.com/package/base-cli-process) [](https://npmjs.org/package/base-cli-process) [](https://travis-ci.org/jonschlinkert/base-cli-process) | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 03, 2016._ | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 07, 2016._ |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
26323
730
5
Updatedbase-cli-schema@^0.1.18