undertaker-registry
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -16,5 +16,10 @@ 'use strict'; | ||
DefaultRegistry.prototype.tasks = function tasks(){ | ||
return Object.keys(this._tasks).map(this.get, this); | ||
var self = this; | ||
return Object.keys(this._tasks).reduce(function(tasks, name){ | ||
tasks[name] = self.get(name); | ||
return tasks; | ||
}, {}); | ||
}; | ||
module.exports = DefaultRegistry; |
{ | ||
"name": "undertaker-registry", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "undertaker-registry ===================", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
2776
18