Socket
Socket
Sign inDemoInstall

nconf

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nconf - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

test/mocks/mock-store.js

13

lib/nconf/provider.js

@@ -463,11 +463,18 @@ /*

if (store.save) {
store.save(function (err, data) {
if (err) return next(err);
return store.save(function (err, data) {
if (err) {
return next(err);
}
if (typeof data == 'object' && data !== null) {
memo.push(data);
}
next(null, memo);
});
} else if (store.saveSync) {
}
else if (store.saveSync) {
memo.push(store.saveSync());
}
next(null, memo);

@@ -474,0 +481,0 @@ }

{
"name": "nconf",
"description": "Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.",
"version": "0.6.3",
"version": "0.6.4",
"author": "Nodejitsu Inc. <info@nodejitsu.com>",

@@ -6,0 +6,0 @@ "maintainers": [

/*
* file-store-test.js: Tests for the nconf File store.
* provider-test.js: Tests for the nconf Provider object.
*

@@ -4,0 +4,0 @@ * (C) 2011, Nodejitsu Inc.

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