taskgroup
Advanced tools
Comparing version 3.3.9 to 3.4.0
@@ -51,2 +51,3 @@ // Generated by CoffeeScript 1.7.1 | ||
parent: null | ||
context: null | ||
*/ | ||
@@ -172,6 +173,7 @@ | ||
fire = function() { | ||
var err, _ref1; | ||
var err, methodToFire, _ref1; | ||
try { | ||
if ((_ref1 = me.config.method) != null ? _ref1.bind : void 0) { | ||
return ambi.apply(null, [me.config.method.bind(me)].concat(__slice.call(args))); | ||
methodToFire = me.config.method.bind(me.config.context || me); | ||
return ambi.apply(null, [methodToFire].concat(__slice.call(args))); | ||
} else { | ||
@@ -178,0 +180,0 @@ throw new Error("The task " + me.config.name + " was fired but has no method to fire"); |
{ | ||
"title": "TaskGroup", | ||
"name": "taskgroup", | ||
"version": "3.3.9", | ||
"version": "3.4.0", | ||
"description": "Group together synchronous and asynchronous tasks and execute them with support for concurrency, naming, and nesting.", | ||
@@ -51,4 +51,4 @@ "homepage": "https://github.com/bevry/taskgroup", | ||
"dependencies": { | ||
"ambi": "~2.1.5", | ||
"extendonclass": "~1.0.0" | ||
"ambi": "~2.2.0", | ||
"extendonclass": "~1.0.1" | ||
}, | ||
@@ -55,0 +55,0 @@ "devDependencies": { |
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
28583
646
+ Addedambi@2.2.0(transitive)
- Removedambi@2.1.6(transitive)
Updatedambi@~2.2.0
Updatedextendonclass@~1.0.1