Move async to main dependancy
This commit is contained in:
parent
b824493aa6
commit
44a22ce6dd
2 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ var async = require('async'),
|
|||
var Provider = exports.Provider = function (options) {
|
||||
//
|
||||
// Setup default options for working with `stores`,
|
||||
// `overrides`, `process.env` and `process.argv`.
|
||||
// `overrides`, `process.env`.
|
||||
//
|
||||
options = options || {};
|
||||
this.stores = {};
|
||||
|
@ -30,7 +30,7 @@ var Provider = exports.Provider = function (options) {
|
|||
// in this instance
|
||||
//
|
||||
|
||||
['argv', 'env'].forEach(function (type) {
|
||||
['env'].forEach(function (type) {
|
||||
Provider.prototype[type] = function () {
|
||||
var args = [type].concat(Array.prototype.slice.call(arguments));
|
||||
return this.add.apply(this, args);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "nconf-lite",
|
||||
"description": "Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"author": "Charlie Robbins <charlie.robbins@gmail.com>",
|
||||
"contributors": [
|
||||
"Matt Hamann <matthew.hamann@gmail.com>",
|
||||
|
@ -19,10 +19,10 @@
|
|||
"plugabble"
|
||||
],
|
||||
"dependencies": {
|
||||
"async": "^2.6.3",
|
||||
"ini": "^1.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"async": "^2.6.1",
|
||||
"coveralls": "^3.0.2",
|
||||
"eslint": "^6.0.0",
|
||||
"istanbul": "^0.4.1",
|
||||
|
|
Loading…
Reference in a new issue