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