Comparing version 0.2.2 to 0.3.0
@@ -8,3 +8,3 @@ var util = require('util') | ||
, findPackage = require('witwip') | ||
, eventflow = require('eventflow') | ||
, createHooks = require('stact-hooks') | ||
, merge = require('tea-merge') | ||
@@ -25,3 +25,3 @@ , clone = require('clone'); | ||
this.conf = {}; | ||
eventflow(this); | ||
this.hooks = createHooks(); | ||
} | ||
@@ -223,3 +223,3 @@ | ||
Etc.prototype.load = function (cb) { | ||
this.series('load', cb); | ||
this.hooks('load').run(cb); | ||
return this; | ||
@@ -229,4 +229,4 @@ }; | ||
Etc.prototype.save = function (cb) { | ||
this.series('save', cb); | ||
this.hooks('save').run(cb); | ||
return this; | ||
}; |
{ | ||
"name": "etc", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "Configuration loader for node.js applications", | ||
@@ -17,3 +17,3 @@ "main": "etc.js", | ||
"witwip": "~0.0.2", | ||
"eventflow": "~0.0.11", | ||
"stact-hooks": "~0.0.1", | ||
"tea-merge": "~0.1.0", | ||
@@ -20,0 +20,0 @@ "clone": "~0.1.6" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19332
+ Addedstact-hooks@~0.0.1
+ Addedstac@0.0.12(transitive)
+ Addedstact@0.0.12(transitive)
+ Addedstact-hooks@0.0.3(transitive)
- Removedeventflow@~0.0.11
- Removedasync@0.1.22(transitive)
- Removedeventflow@0.0.12(transitive)