Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.2 to 0.10.0

10

index.js
'use strict';
var os = require('os');
var util = require('util');

@@ -55,7 +56,6 @@ var path = require('path');

debug('creating globals store');
if (typeof globals === 'undefined') {
debug('created globals store');
globals = options.globals || new utils.Store('globals', {
cwd: utils.home()
globals = options.globals || new utils.Store(path.join('question-store', 'globals'), {
cwd: os.homedir()
});

@@ -69,5 +69,4 @@ }

debug('creating project store');
if (typeof store === 'undefined') {
store = options.store || new utils.Store(app.project);
store = options.store || new utils.Store(path.join('question-store', app.project || ''));
debug('created project store');

@@ -81,3 +80,2 @@ }

debug('creating hints store');
if (typeof hints === 'undefined') {

@@ -84,0 +82,0 @@ var name = path.basename(app.options.cwd || process.cwd());

1

lib/utils.js

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

require('data-store', 'Store');
require('os-homedir', 'home');
require('is-answer');

@@ -15,0 +14,0 @@ require('project-name', 'project');

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

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

"index.js",
"lib"
"lib",
"LICENSE",
"README.md"
],

@@ -25,19 +27,18 @@ "main": "index.js",

"dependencies": {
"data-store": "^0.15.5",
"data-store": "^0.16.1",
"debug": "^2.2.0",
"is-answer": "^0.1.0",
"lazy-cache": "^1.0.3",
"os-homedir": "^1.0.1",
"project-name": "^0.2.4",
"question-cache": "^0.4.0"
"lazy-cache": "^2.0.1",
"project-name": "^0.2.5",
"question-cache": "^0.5.0"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-eslint": "^2.0.0",
"gulp-format-md": "^0.1.7",
"gulp-istanbul": "^0.10.3",
"gulp-eslint": "^3.0.1",
"gulp-format-md": "^0.1.9",
"gulp-istanbul": "^1.0.0",
"gulp-mocha": "^2.2.0",
"gulp-unused": "^0.1.2",
"minimist": "^1.2.0",
"mocha": "^2.4.5",
"mocha": "^2.5.3",
"question-force": "^0.1.0",

@@ -93,3 +94,4 @@ "question-match": "^0.1.2"

"question-cache",
"verb"
"verb",
"verb-generate-readme"
],

@@ -100,2 +102,2 @@ "lint": {

}
}
}
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