grunt-prompt
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -262,5 +262,5 @@ /* | ||
choices: [ | ||
chalk.bold.red('HEADING'), | ||
{name: 'Label 1'}, | ||
{name: 'Label 2'}, | ||
{ separator: chalk.bold.red('HEADING') }, | ||
'Label 1', | ||
'Label 2', | ||
'', | ||
@@ -267,0 +267,0 @@ {name: 'Label 3'}, |
{ | ||
"name": "grunt-prompt", | ||
"description": "Interactive prompt for your Grunt config using console checkboxes, text input with filtering, password fields.", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"homepage": "https://github.com/dylang/grunt-prompt", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -320,2 +320,4 @@ ## grunt-prompt [![NPM version](https://badge.fury.io/js/grunt-prompt.png)](http://badge.fury.io/js/grunt-prompt) [![Build Status](https://travis-ci.org/dylang/grunt-prompt.png)](https://travis-ci.org/dylang/grunt-prompt) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) | ||
### Release History | ||
* **1.2.1** - 4 Oct 2014 - Separator can be '' or { separator: 'any string' }. Fixed it so choices can be strings again. | ||
* **1.2.0** - 4 Oct 2014 - Separator in choices can be a falsey value or string | ||
* **1.1.0** - 4 Mar 2014 - Messages can be functions instead of strings for dynamic questions. | ||
@@ -347,6 +349,6 @@ * **1.0.0** - 4 Feb 2014 - Dropping support for Node 0.8. | ||
| [`grunt-notify`](https://github.com/dylang/grunt-notify) | Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion and Mavericks Notification Center, and Notify-Send. | 798 | 36,294 | | ||
| [`shortid`](https://github.com/dylang/shortid) | Amazingly short non-sequential url-friendly unique id generator. | 261 | 8,357 | | ||
| [`rss`](https://github.com/dylang/node-rss) | RSS feed generator. A really simple API to add RSS feeds to any project. | 244 | 15,147 | | ||
| [`shortid`](https://github.com/dylang/shortid) | Amazingly short non-sequential url-friendly unique id generator. | 262 | 8,357 | | ||
| [`rss`](https://github.com/dylang/node-rss) | RSS feed generator. A really simple API to add RSS feeds to any project. | 243 | 15,147 | | ||
| [`npm-check`](https://github.com/dylang/npm-check) | Check for outdated, incorrect, and unused dependencies. | _New!_ | 1,164 | | ||
| [`xml`](https://github.com/dylang/node-xml) | Fast and simple xml generator. Supports attributes, CDATA, etc. Includes tests and examples. | 55 | 21,139 | | ||
| [`xml`](https://github.com/dylang/node-xml) | Fast and simple xml generator. Supports attributes, CDATA, etc. Includes tests and examples. | 56 | 21,139 | | ||
| [`changelog`](https://github.com/dylang/changelog) | Command line tool (and Node module) that generates a changelog in color output, markdown, or json for modules in npmjs.org's registry as well as any public github.com repo. | 60 | 166 | | ||
@@ -371,3 +373,3 @@ | [`logging`](https://github.com/dylang/logging) | Super sexy color console logging with cluster support. | 24 | 541 | | ||
*** | ||
_Generated using [grunt-readme](https://github.com/assemble/grunt-readme) with [grunt-templates-dylang](https://github.com/dylang/grunt-templates-dylang) on Sunday, October 5, 2014._ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/dylang/grunt-prompt/trend.png)](https://bitdeli.com/free "Bitdeli Badge") [![Google Analytics](https://ga-beacon.appspot.com/UA-4820261-3/dylang/grunt-prompt)](https://github.com/igrigorik/ga-beacon) | ||
_Generated using [grunt-readme](https://github.com/assemble/grunt-readme) with [grunt-templates-dylang](https://github.com/dylang/grunt-templates-dylang) on Monday, October 6, 2014._ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/dylang/grunt-prompt/trend.png)](https://bitdeli.com/free "Bitdeli Badge") [![Google Analytics](https://ga-beacon.appspot.com/UA-4820261-3/dylang/grunt-prompt)](https://github.com/igrigorik/ga-beacon) | ||
@@ -26,4 +26,4 @@ /* | ||
return choices.map(function(choice){ | ||
if (typeof choice === 'string') { | ||
return new inquirer.Separator((choice === '---' || choice.length === 0) ? null : choice); | ||
if (choice === '---' || !choice || (choice && choice.separator)) { | ||
return new inquirer.Separator(choice && choice.separator); | ||
} | ||
@@ -30,0 +30,0 @@ return choice; |
## Release History | ||
* **1.2.1** - 4 Oct 2014 - Separator can be '' or { separator: 'any string' }. Fixed it so choices can be strings again. | ||
* **1.2.0** - 4 Oct 2014 - Separator in choices can be a falsey value or string | ||
* **1.1.0** - 4 Mar 2014 - Messages can be functions instead of strings for dynamic questions. | ||
@@ -3,0 +5,0 @@ * **1.0.0** - 4 Feb 2014 - Dropping support for Node 0.8. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41561
373