promise-timeout
Advanced tools
Comparing version 1.1.0 to 1.1.1
# promise-timeout | ||
## v1.1.1 (2017-03-21) | ||
* #2 - Change `let` to `var` for ES5 compatibility. Thanks, @mateuscalza! | ||
## v1.1.0 (2017-03-07) | ||
@@ -4,0 +8,0 @@ |
@@ -23,3 +23,3 @@ // Copyright (c) 2015-2017 David M. Lee, II | ||
module.exports.timeout = function(promise, timeoutMillis) { | ||
let timeout; | ||
var timeout; | ||
@@ -26,0 +26,0 @@ return Promise.race([ |
{ | ||
"name": "promise-timeout", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Simple timeouts for promises", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5356