Socket
Socket
Sign inDemoInstall

question-store

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

question-store - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

5

index.js
'use strict';
var util = require('util');
var path = require('path');
var debug = require('debug')('question-store');

@@ -89,4 +90,4 @@ var Cache = require('question-cache');

QuestionsStore.prototype.listen = function(app) {
this.on('ask', function(vak, key, question, answers) {
if (!utils.isAnswer(val) && options.enabled('global')) {
this.on('ask', function(val, key, question, answers) {
if (!utils.isAnswer(val) && app.options.enabled('global')) {
question.answer = app.globals.get(key);

@@ -93,0 +94,0 @@ debug('no answer found, using global: "%s"', val);

2

package.json
{
"name": "question-store",
"description": "Ask questions, persist the answers. Basic support for i18n and storing answers based on current working directory.",
"version": "0.9.0",
"version": "0.9.1",
"homepage": "https://github.com/jonschlinkert/question-store",

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

@@ -38,3 +38,3 @@ # question-store [![NPM version](https://img.shields.io/npm/v/question-store.svg?style=flat)](https://www.npmjs.com/package/question-store) [![NPM downloads](https://img.shields.io/npm/dm/question-store.svg?style=flat)](https://npmjs.org/package/question-store) [![Build Status](https://img.shields.io/travis/jonschlinkert/question-store.svg?style=flat)](https://travis-ci.org/jonschlinkert/question-store)

### [QuestionsStore](index.js#L26)
### [QuestionsStore](index.js#L27)

@@ -53,3 +53,3 @@ Create an instance of `QuestionsStore` with the given `options`.

### [.createStores](index.js#L50)
### [.createStores](index.js#L51)

@@ -56,0 +56,0 @@ Create stores for persisting data across sessions.

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