Socket
Socket
Sign inDemoInstall

prompt-choices

Package Overview
Dependencies
74
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.4 to 4.0.5

10

index.js

@@ -772,3 +772,3 @@ 'use strict';

set: function() {
throw new Error('.none is a getter and cannot be defined');
throw new Error('.none is a getter and may not be defined');
},

@@ -817,4 +817,4 @@ get: function() {

* ```
* @param {String} `separator` Optionally pass a string to use as the separator.
* @return {Object} Returns a separator object.
* @param {String} `choices` The value to test.
* @return {Boolean} Returns true if the given value is an instance of `Choices`.
* @api public

@@ -837,4 +837,4 @@ */

* ```
* @param {String} `separator` Optionally pass a string to use as the separator.
* @return {Object} Returns a separator object.
* @param {String} `choice` The value to test.
* @return {Boolean} Returns true if the given value is an instance of `Choice`.
* @api public

@@ -841,0 +841,0 @@ */

{
"name": "prompt-choices",
"description": "Create an array of multiple choice objects for use in prompts.",
"version": "4.0.4",
"version": "4.0.5",
"homepage": "https://github.com/enquirer/prompt-choices",

@@ -24,12 +24,12 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"dependencies": {
"arr-flatten": "^1.0.3",
"arr-flatten": "^1.1.0",
"arr-swap": "^1.0.1",
"choices-separator": "^2.0.0",
"clone-deep": "^0.3.0",
"clone-deep": "^1.0.0",
"collection-visit": "^1.0.0",
"debug": "^2.6.8",
"debug": "^3.0.1",
"define-property": "^1.0.0",
"extend-shallow": "^2.0.1",
"is-number": "^3.0.0",
"kind-of": "^4.0.0",
"kind-of": "^5.0.2",
"koalas": "^1.0.2",

@@ -40,3 +40,3 @@ "lazy-cache": "^2.0.2",

"radio-symbol": "^2.0.0",
"set-value": "^1.0.0",
"set-value": "^2.0.0",
"strip-color": "^0.1.0",

@@ -48,9 +48,9 @@ "terminal-paginator": "^2.0.2",

"gulp": "^3.9.1",
"gulp-eslint": "^3.0.1",
"gulp-format-md": "^0.1.12",
"gulp-istanbul": "^1.1.1",
"gulp-eslint": "^4.0.0",
"gulp-format-md": "^1.0.0",
"gulp-istanbul": "^1.1.2",
"gulp-mocha": "^3.0.1",
"gulp-unused": "^0.2.1",
"is-windows": "^1.0.1",
"mocha": "^3.4.2",
"mocha": "^3.5.0",
"prompt-actions": "^3.0.2"

@@ -57,0 +57,0 @@ },

@@ -5,2 +5,4 @@ # prompt-choices [![NPM version](https://img.shields.io/npm/v/prompt-choices.svg?style=flat)](https://www.npmjs.com/package/prompt-choices) [![NPM monthly downloads](https://img.shields.io/npm/dm/prompt-choices.svg?style=flat)](https://npmjs.org/package/prompt-choices) [![NPM total downloads](https://img.shields.io/npm/dt/prompt-choices.svg?style=flat)](https://npmjs.org/package/prompt-choices) [![Linux Build Status](https://img.shields.io/travis/enquirer/prompt-choices.svg?style=flat&label=Travis)](https://travis-ci.org/enquirer/prompt-choices)

Follow this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), for updates on this project and others.
## Install

@@ -373,4 +375,4 @@

* `separator` **{String}**: Optionally pass a string to use as the separator.
* `returns` **{Object}**: Returns a separator object.
* `choices` **{String}**: The value to test.
* `returns` **{Boolean}**: Returns true if the given value is an instance of `Choices`.

@@ -392,4 +394,4 @@ **Example**

* `separator` **{String}**: Optionally pass a string to use as the separator.
* `returns` **{Object}**: Returns a separator object.
* `choice` **{String}**: The value to test.
* `returns` **{Boolean}**: Returns true if the given value is an instance of `Choice`.

@@ -450,2 +452,4 @@ **Example**

You might also be interested in these projects:
* [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.")

@@ -493,2 +497,2 @@ * [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.")

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 04, 2017._
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on August 28, 2017._

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc