main-bower-files
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -9,3 +9,4 @@ require('colors'); | ||
args = args.map(function(arg, i) { | ||
return arg[colors[i]]; | ||
var val = typeof arg === 'object' ? JSON.stringify(arg) : arg; | ||
return val[colors[i]]; | ||
}); | ||
@@ -12,0 +13,0 @@ |
{ | ||
"name": "main-bower-files", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Get main files from your installed bower packages.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -197,4 +197,4 @@ main-bower-files | ||
### filter | ||
Type: `RegExp` or `function` Default: `null` | ||
You can filter the list of files by a regular expression or a callback function (the first and only argument is the file path). | ||
Type: `RegExp` or `function` or `glob` Default: `null` | ||
You can filter the list of files by a regular expression, glob or callback function (the first and only argument is the file path). | ||
@@ -201,0 +201,0 @@ ## LICENSE |
33272
687