Socket
Socket
Sign inDemoInstall

when

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

when - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

CHANGES.md

@@ -0,1 +1,5 @@

### 2.1.1
* Quote internal usages of `promise.yield` to workaround .NET minifier tools that don't yet understand ES5 identifier-as-property rules. See [#157](https://github.com/cujojs/when/issues/157)
### 2.1.0

@@ -2,0 +6,0 @@

12

package.json
{
"name": "when",
"version": "2.1.0",
"version": "2.1.1",
"description": "A lightweight Promises/A+ and when() implementation, plus other async goodies.",

@@ -13,8 +13,6 @@ "keywords": ["Promises/A+", "promises-aplus", "promise", "promises", "deferred", "deferreds", "when", "async", "asynchronous", "cujo"],

],
"repositories": [
{
"type": "git",
"url": "https://github.com/cujojs/when"
}
],
"repository": {
"type": "git",
"url": "https://github.com/cujojs/when"
},
"bugs": "https://github.com/cujojs/when/issues",

@@ -21,0 +19,0 @@ "maintainers": [

@@ -18,2 +18,6 @@ <a href="http://promises-aplus.github.com/promises-spec"><img src="http://promises-aplus.github.com/promises-spec/assets/logo-small.png" alt="Promises/A+ logo" align="right" /></a>

### 2.1.1
* Quote internal usages of `promise.yield` to workaround .NET minifier tools that don't yet understand ES5 identifier-as-property rules. See [#157](https://github.com/cujojs/when/issues/157)
### 2.1.0

@@ -20,0 +24,0 @@

@@ -28,3 +28,3 @@ /** @license MIT License (c) copyright B Cavalier & J Hann */

return unfold(generator, condition, append, seed).yield(result);
return unfold(generator, condition, append, seed)['yield'](result);

@@ -31,0 +31,0 @@ function append(value, newSeed) {

@@ -12,3 +12,3 @@ /** @license MIT License (c) copyright 2011-2013 original author or authors */

* @author John Hann
* @version 2.1.0
* @version 2.1.1
*/

@@ -92,3 +92,3 @@ (function(define, global) { 'use strict';

ensure: function(onFulfilledOrRejected) {
return this.then(injectHandler, injectHandler).yield(this);
return this.then(injectHandler, injectHandler)['yield'](this);

@@ -95,0 +95,0 @@ function injectHandler() {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc