Socket
Socket
Sign inDemoInstall

base-questions

Package Overview
Dependencies
152
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.6.1

15

index.js

@@ -183,7 +183,16 @@ /*!

this.define('ask', function(queue, opts, cb) {
this.define('ask', function(queue, options, cb) {
if (typeof queue === 'function') {
return this.ask(this.questions.queue, {}, queue);
}
if (options === 'function') {
return this.ask(queue, {}, options);
}
if (utils.isObject(queue)) {
return this.ask(this.questions.queue, queue, options);
}
if (typeof queue === 'string' && !this.questions.has(queue)) {
this.questions.set.call(this.questions, queue, opts, queue);
this.questions.set.call(this.questions, queue, options, queue);
}
this.questions.ask.call(this.questions, queue, opts, cb);
this.questions.ask.call(this.questions, queue, options, cb);
});

@@ -190,0 +199,0 @@

7

package.json
{
"name": "base-questions",
"description": "Plugin for base-methods that adds methods for prompting the user and storing the answers on a project-by-project basis.",
"version": "0.6.0",
"version": "0.6.1",
"homepage": "https://github.com/node-base/base-questions",

@@ -25,5 +25,6 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"define-property": "^0.2.5",
"lazy-cache": "^1.0.3",
"isobject": "^2.1.0",
"lazy-cache": "^2.0.1",
"mixin-deep": "^1.1.3",
"question-store": "^0.9.1"
"question-store": "^0.9.2"
},

@@ -30,0 +31,0 @@ "devDependencies": {

# base-questions [![NPM version](https://img.shields.io/npm/v/base-questions.svg?style=flat)](https://www.npmjs.com/package/base-questions) [![NPM downloads](https://img.shields.io/npm/dm/base-questions.svg?style=flat)](https://npmjs.org/package/base-questions) [![Build Status](https://img.shields.io/travis/node-base/base-questions.svg?style=flat)](https://travis-ci.org/node-base/base-questions)
> Plugin for base-methods that adds methods for prompting the user and storing the answers on a project-by-project basis.
Plugin for base-methods that adds methods for prompting the user and storing the answers on a project-by-project basis.

@@ -19,4 +19,2 @@ You might also be interested in [data-store](https://github.com/jonschlinkert/data-store).

_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_
## Install

@@ -202,10 +200,10 @@

* [answer-store](https://www.npmjs.com/package/answer-store): Store answers to user prompts, based on locale and/or current working directory. | [homepage](https://github.com/jonschlinkert/answer-store)
* [common-questions](https://www.npmjs.com/package/common-questions): An object of questions commonly used by project generators or when initializing projects. Questions can… [more](https://www.npmjs.com/package/common-questions) | [homepage](https://github.com/generate/common-questions)
* [question-store](https://www.npmjs.com/package/question-store): Ask questions, persist the answers. Basic support for i18n and storing answers based on current… [more](https://www.npmjs.com/package/question-store) | [homepage](https://github.com/jonschlinkert/question-store)
* [to-choices](https://www.npmjs.com/package/to-choices): Easily create a normalized inquirer choices question. Supports all of the `choices` question types: checkbox,… [more](https://www.npmjs.com/package/to-choices) | [homepage](https://github.com/generate/to-choices)
* [answer-store](https://www.npmjs.com/package/answer-store): Store answers to user prompts, based on locale and/or current working directory. | [homepage](https://github.com/jonschlinkert/answer-store)
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/base-questions/issues/new).
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/node-base/base-questions/issues/new).

@@ -248,2 +246,2 @@ ## Building docs

_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on April 13, 2016._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 12, 2016._

@@ -16,2 +16,3 @@ 'use strict';

require('define-property', 'define');
require('isobject', 'isObject');
require('mixin-deep', 'merge');

@@ -18,0 +19,0 @@ require('question-store', 'Questions');

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