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.0.0 to 2.0.1

6

package.json
{
"name": "when",
"version": "2.0.0",
"description": "A lightweight Promise and when() implementation, plus other async goodies.",
"keywords": ["promise", "promises", "deferred", "deferreds", "when", "async", "asynchronous", "cujo"],
"version": "2.0.1",
"description": "A lightweight Promises/A+ and when() implementation, plus other async goodies.",
"keywords": ["Promises/A+", "promises-aplus", "promise", "promises", "deferred", "deferreds", "when", "async", "asynchronous", "cujo"],
"licenses": [

@@ -7,0 +7,0 @@ {

@@ -7,3 +7,3 @@ <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>

When.js is cujojs's lightweight [Promises/A+](http://promises-aplus.github.com/promises-spec) and `when()` implementation, derived from the async core of [wire.js](https://github.com/cujojs/wire), cujojs's IOC Container. It features:
When.js is cujojs's lightweight [Promises/A+](http://promises-aplus.github.com/promises-spec) and `when()` implementation that powers the async core of [wire.js](https://github.com/cujojs/wire), cujojs's IOC Container. It features:

@@ -19,2 +19,6 @@ * A rock solid, battle-tested Promise implementation

### 2.0.1
* Account for the fact that Mocha creates a global named `process`. Thanks [Narsul](https://github.com/cujojs/when/pull/136)
### 2.0.0

@@ -80,2 +84,3 @@

};
window.define.amd = {};
</script>

@@ -82,0 +87,0 @@ <script src="path/to/when/when.js"></script>

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

* @author John Hann
* @version 2.0.0
* @version 2.0.1
*/

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

//
/*global setImmediate:true*/
/*global setTimeout,setImmediate,window,process*/

@@ -690,3 +690,3 @@ // capture setTimeout to avoid being caught by fake timers used in time based tests

: setImmediate.bind(window)
: typeof process === 'object'
: typeof process === 'object' && process.nextTick
? process.nextTick

@@ -693,0 +693,0 @@ : function(task) { timeout(task, 0); };

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