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

nconf

Package Overview
Dependencies
Maintainers
1
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.4.4 to 0.4.5

.travis.yml

8

lib/nconf/stores/system.js

@@ -10,2 +10,3 @@ /*

var util = require('util'),
optimist = require('optimist'),
Memory = require('./memory').Memory;

@@ -83,6 +84,6 @@

if (typeof this.argv === 'object') {
argv = require('optimist').options(this.argv).argv;
argv = optimist(process.argv.slice(2)).options(this.argv).argv;
}
else if (this.argv) {
argv = require('optimist').argv;
argv = optimist(process.argv.slice(2)).argv;
}

@@ -119,2 +120,3 @@

return this.store;
};
};
{
"name": "nconf",
"description": "Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.",
"version": "0.4.4",
"version": "0.4.5",
"author": "Charlie Robbins <charlie.robbins@gmail.com>",

@@ -6,0 +6,0 @@ "repository": {

@@ -1,2 +0,2 @@

# nconf
# nconf [![Build Status](https://secure.travis-ci.org/flatiron/nconf.png)](http://travis-ci.org/flatiron/nconf)

@@ -3,0 +3,0 @@ Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.

@@ -46,3 +46,3 @@ /*

spawn('node', [options.script].concat(options.argv), { env: env })
spawn(process.argv[0], [options.script].concat(options.argv), { env: env })
.stdout.once('data', this.callback.bind(this, null));

@@ -54,2 +54,3 @@ },

}
}
}

@@ -54,2 +54,6 @@ /*

env: { SOMETHING: 'foobar' }
}),
"when 'argv' is set to true and process.argv is modified": helpers.assertSystemConf({
script: path.join(fixturesDir, 'scripts', 'nconf-change-argv.js'),
argv: ['--something', 'badValue', 'evenWorse', 'OHNOEZ', 'foobar']
})

@@ -88,2 +92,3 @@ }

}
}).export(module);
}).export(module);
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