Comparing version 3.6.2 to 3.6.3
@@ -21,3 +21,2 @@ /** @license MIT License (c) copyright 2013-2014 original author or authors */ | ||
var _apply = makeApply(Promise, dispatch); | ||
var tryCatchResolve = makeApply.tryCatchResolve; | ||
@@ -75,2 +74,10 @@ return { | ||
function tryCatchResolve(f, thisArg, args, resolver) { | ||
try { | ||
f.apply(thisArg, args); | ||
} catch(e) { | ||
resolver.reject(e); | ||
} | ||
} | ||
/** | ||
@@ -77,0 +84,0 @@ * Works as `callbacks.apply` does, with the difference that the arguments to |
{ | ||
"name": "when", | ||
"version": "3.6.2", | ||
"version": "3.6.3", | ||
"description": "A lightweight Promises/A+ and when() implementation, plus other async goodies.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,3 +8,3 @@ /** @license MIT License (c) copyright 2010-2014 original author or authors */ | ||
* @author John Hann | ||
* @version 3.6.2 | ||
* @version 3.6.3 | ||
*/ | ||
@@ -11,0 +11,0 @@ (function(define) { 'use strict'; |
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
146717
4354