prompt-actions
Advanced tools
Comparing version 3.0.1 to 3.0.2
11
index.js
@@ -218,2 +218,13 @@ 'use strict'; | ||
/** | ||
* Returns the current choices position | ||
* | ||
* @return {Number} Returns `choices.position` | ||
* @api public | ||
*/ | ||
Actions.prototype.identity = function(pos) { | ||
return this.position(pos); | ||
}; | ||
/** | ||
* Helper for getting the current corsor position. | ||
@@ -220,0 +231,0 @@ * |
{ | ||
"name": "prompt-actions", | ||
"description": "Action manager for prompt-base.", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"homepage": "https://github.com/enquirer/prompt-actions", | ||
@@ -26,10 +26,10 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"devDependencies": { | ||
"mocha": "^3.4.2", | ||
"is-windows": "^1.0.1", | ||
"prompt-choices": "^4.0.0", | ||
"gulp": "^3.9.1", | ||
"gulp-mocha": "^3.0.1", | ||
"gulp-istanbul": "^1.1.1", | ||
"gulp-eslint": "^3.0.1", | ||
"gulp-format-md": "^0.1.12", | ||
"gulp-istanbul": "^1.1.1", | ||
"gulp-mocha": "^3.0.1", | ||
"is-windows": "^1.0.1", | ||
"mocha": "^3.4.2", | ||
"prompt-choices": "^4.0.0" | ||
"gulp-format-md": "^0.1.12" | ||
}, | ||
@@ -66,2 +66,2 @@ "keywords": [ | ||
} | ||
} | ||
} |
@@ -34,3 +34,3 @@ # prompt-actions [![NPM version](https://img.shields.io/npm/v/prompt-actions.svg?style=flat)](https://www.npmjs.com/package/prompt-actions) [![NPM monthly downloads](https://img.shields.io/npm/dm/prompt-actions.svg?style=flat)](https://npmjs.org/package/prompt-actions) [![NPM total downloads](https://img.shields.io/npm/dt/prompt-actions.svg?style=flat)](https://npmjs.org/package/prompt-actions) [![Linux Build Status](https://img.shields.io/travis/enquirer/prompt-actions.svg?style=flat&label=Travis)](https://travis-ci.org/enquirer/prompt-actions) | ||
* [enquirer](https://www.npmjs.com/package/enquirer): Intuitive, plugin-based prompt system for node.js. Much faster and lighter alternative to Inquirer, with all… [more](https://github.com/enquirer/enquirer) | [homepage](https://github.com/enquirer/enquirer "Intuitive, plugin-based prompt system for node.js. Much faster and lighter alternative to Inquirer, with all the same prompt types and more, but without the bloat.") | ||
* [enquirer](https://www.npmjs.com/package/enquirer): Intuitive, plugin-based prompt system for node.js. | [homepage](http://enquirer.io "Intuitive, plugin-based prompt system for node.js.") | ||
* [prompt-base](https://www.npmjs.com/package/prompt-base): Base prompt module used for creating custom prompts. | [homepage](https://github.com/enquirer/prompt-base "Base prompt module used for creating custom prompts.") | ||
@@ -79,2 +79,2 @@ * [prompt-choices](https://www.npmjs.com/package/prompt-choices): Create an array of multiple choice objects for use in prompts. | [homepage](https://github.com/enquirer/prompt-choices "Create an array of multiple choice objects for use in prompts.") | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 28, 2017._ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 02, 2017._ |
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
232
12335