question-store
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -28,2 +28,3 @@ /*! | ||
this.options = options || {}; | ||
this.inquirer = this.options.inquirer || utils.inquirer; | ||
this.answers = {}; | ||
@@ -30,0 +31,0 @@ this.groups = {}; |
{ | ||
"name": "question-store", | ||
"description": "Ask questions, persist the answers. Basic support for i18n and storing answers based on current working directory.", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"homepage": "https://github.com/jonschlinkert/question-store", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
@@ -50,3 +50,3 @@ # question-store [![NPM version](https://badge.fury.io/js/question-store.svg)](http://badge.fury.io/js/question-store) | ||
### [.set](index.js#L56) | ||
### [.set](index.js#L60) | ||
@@ -77,3 +77,3 @@ Cache a question to be asked at a later point. Creates an instance of [Question](#question), so any `Question` options or settings may be used. | ||
### [.setDefault](index.js#L74) | ||
### [.setDefault](index.js#L78) | ||
@@ -94,3 +94,3 @@ Add a question that, when answered, will save the value as the default value to be used for the current locale. | ||
### [.get](index.js#L112) | ||
### [.get](index.js#L116) | ||
@@ -116,3 +116,3 @@ Get the answer object for question `name`, for the current locale and cwd. | ||
### [.getAnswer](index.js#L133) | ||
### [.getAnswer](index.js#L137) | ||
@@ -138,3 +138,3 @@ Get the answer object for question `name`, for the current locale and cwd. | ||
### [.question](index.js#L149) | ||
### [.question](index.js#L153) | ||
@@ -154,3 +154,3 @@ Get the `question` instance stored for the given `name`. This is the entire `Question` object, with all answers for all locales and directories. | ||
### [.isAnswered](index.js#L173) | ||
### [.isAnswered](index.js#L177) | ||
@@ -170,3 +170,3 @@ Return true if question `name` has been answered for the current locale and the current working directory. | ||
### [.del](index.js#L188) | ||
### [.del](index.js#L192) | ||
@@ -186,3 +186,3 @@ Delete the answer for question `name` for the current (or given) locale. | ||
### [.erase](index.js#L203) | ||
### [.erase](index.js#L207) | ||
@@ -201,3 +201,3 @@ Erase all answers for question `name` from the file system. | ||
### [.answer](index.js#L239) | ||
### [.answer](index.js#L243) | ||
@@ -223,3 +223,3 @@ Get the answer value for question `name`, for the current locale and cwd. Similar to `questions.get`, but only returns the answer value instead of the entire object. | ||
### [.ask](index.js#L261) | ||
### [.ask](index.js#L265) | ||
@@ -353,3 +353,3 @@ Ask one or more questions, with the given `options` and callback. | ||
### [.hasDefault](lib/question.js#L173) | ||
### [.hasDefault](lib/question.js#L172) | ||
@@ -368,3 +368,3 @@ Return true if the question has been given a default answer for the current (or given) locale, at the current working directory. | ||
### [.ask](lib/question.js#L194) | ||
### [.ask](lib/question.js#L193) | ||
@@ -390,3 +390,3 @@ Ask the question. | ||
### [.save](lib/question.js#L244) | ||
### [.save](lib/question.js#L239) | ||
@@ -393,0 +393,0 @@ Persist the answer for the current locale and cwd to disk. |
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
29640
722