Comparing version 3.4.1 to 3.4.2
@@ -914,3 +914,2 @@ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.Promise=e():"undefined"!=typeof global?global.Promise=e():"undefined"!=typeof self&&(self.Promise=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
Rejected.prototype.fold = function(f, z, c, to) { | ||
this._unreport(); | ||
to.become(this); | ||
@@ -920,3 +919,5 @@ }; | ||
Rejected.prototype.when = function(cont) { | ||
this._unreport(); | ||
if(typeof cont.rejected === 'function') { | ||
this._unreport(); | ||
} | ||
runContinuation1(cont.rejected, this, cont.receiver, cont.resolver); | ||
@@ -923,0 +924,0 @@ }; |
@@ -556,3 +556,2 @@ /** @license MIT License (c) copyright 2010-2014 original author or authors */ | ||
Rejected.prototype.fold = function(f, z, c, to) { | ||
this._unreport(); | ||
to.become(this); | ||
@@ -562,3 +561,5 @@ }; | ||
Rejected.prototype.when = function(cont) { | ||
this._unreport(); | ||
if(typeof cont.rejected === 'function') { | ||
this._unreport(); | ||
} | ||
runContinuation1(cont.rejected, this, cont.receiver, cont.resolver); | ||
@@ -565,0 +566,0 @@ }; |
{ | ||
"name": "when", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"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.4.1 | ||
* @version 3.4.2 | ||
*/ | ||
@@ -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
143912
4282