Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-prompt

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-prompt - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

Gruntfile.js

@@ -261,7 +261,7 @@ /*

if (grunt.util._(grunt.config('bump.files')).contains('package')) {
if (_(grunt.config('bump.files')).contains('package')) {
grunt.log.ok('Updating ' + 'package.json'.yellow + '.');
}
if (grunt.util._(grunt.config('bump.files')).contains('bower')) {
if (_(grunt.config('bump.files')).contains('bower')) {
if (!grunt.file.isFile('bower.json')) {

@@ -273,3 +273,3 @@ grunt.log.ok('Creating ' + 'bower.json'.yellow + '.');

if (grunt.util._(grunt.config('bump.files')).contains('git')) {
if (_(grunt.config('bump.files')).contains('git')) {
grunt.log.ok('Updating ' + 'git tag'.yellow + '.');

@@ -276,0 +276,0 @@ }

{
"name": "grunt-prompt",
"description": "Add interactive console prompts to your Gruntfile such as lists, checkboxes, text input with filtering, and password fields.",
"version": "0.2.0",
"description": "Interactive prompt for your Grunt config using console checkboxes, text input with filtering, password fields.",
"version": "0.2.1",
"homepage": "https://github.com/dylang/grunt-prompt",

@@ -32,3 +32,2 @@ "author": {

"devDependencies": {
"lodash": "~2.4.1",
"grunt-contrib-jshint": "~0.8.0",

@@ -39,3 +38,3 @@ "grunt": "~0.4.1",

"grunt-notify": "~0.2.10",
"chai": "~1.8.1",
"chai": "~1.9.0",
"chalk": "~0.4.0"

@@ -58,4 +57,5 @@ },

"dependencies": {
"inquirer": "~0.4.0"
"inquirer": "~0.4.0",
"lodash": "~2.4.1"
}
}

@@ -291,3 +291,9 @@ # grunt-prompt [![Build Status](https://travis-ci.org/dylang/grunt-prompt.png?branch=master)](https://travis-ci.org/dylang/grunt-prompt)

## Release History
* **0.2.1** - 4 Feb 2014 - Fix bug when using a function to provide choices.
* **0.2.0** - 26 Jan 2014 - Added `then` option which runs after questions. Improved docs.
* **0.1.1** - 27 July 2013 - Some documentation cleanup, better screenshots, new example code in the gruntfile, reomved unused tests.
* **0.1.0** - 18 July 2013 - First version, after an exhausting but fun day with the family at Hershey Park.
* **0.1.0** - 18 July 2013 - First version, after an exhausting but fun day with the family at Hershey Park.
## License
MIT

@@ -16,3 +16,3 @@ /*

options = this.options(),
_ = grunt.util._;
_ = require('lodash');

@@ -22,3 +22,3 @@ var questions = options.questions;

function addSeparator(choices) {
if (!choices) {
if (!choices || _.isFunction(choices)) {
return choices;

@@ -25,0 +25,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc