Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 3.4.3 to 3.4.4

4

lib/timer.js

@@ -17,3 +17,5 @@ /** @license MIT License (c) copyright 2010-2014 original author or authors */

} catch (e) {
setTimer = function(f, ms) { return setTimeout(f, ms); };
// NOTE: Truncate decimals to workaround node 0.10.30 bug:
// https://github.com/joyent/node/issues/8167
setTimer = function(f, ms) { return setTimeout(f, ms|0); };
clearTimer = function(t) { return clearTimeout(t); };

@@ -20,0 +22,0 @@ }

{
"name": "when",
"version": "3.4.3",
"version": "3.4.4",
"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.3
* @version 3.4.4
*/

@@ -11,0 +11,0 @@ (function(define) { 'use strict';

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