timers-browserify
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -5,2 +5,9 @@ # Change Log | ||
## 2.0.5 - 2018-01-23 | ||
### Fixed | ||
* Try harder to retrieve `setImmediate` and `clearImmediate` in esoteric | ||
environments. | ||
## 2.0.4 - 2017-08-14 | ||
@@ -13,3 +20,3 @@ | ||
### 2.0.3 - 2017-07-31 | ||
## 2.0.3 - 2017-07-31 | ||
@@ -16,0 +23,0 @@ ### Fixed |
@@ -52,3 +52,6 @@ var apply = Function.prototype.apply; | ||
require("setimmediate"); | ||
exports.setImmediate = setImmediate; | ||
exports.clearImmediate = clearImmediate; | ||
// On some exotic environments, it's not clear which object `setimmeidate` was | ||
// able to install onto. Search each possibility in the same order as the | ||
// `setimmediate` library. | ||
exports.setImmediate = self && self.setImmediate || global && global.setImmediate || this && this.setImmediate; | ||
exports.clearImmediate = self && self.clearImmediate || global && global.clearImmediate || this && this.clearImmediate; |
@@ -5,3 +5,3 @@ { | ||
"description": "timers module for browserify", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"homepage": "https://github.com/jryans/timers-browserify", | ||
@@ -15,2 +15,3 @@ "bugs": "https://github.com/jryans/timers-browserify/issues", | ||
"Colton Brown <coltonTB@me.com>", | ||
"Dario Segura <dario.seco@gmail.com>", | ||
"Guy Bedford <guybedford@gmail.com>", | ||
@@ -17,0 +18,0 @@ "Ionut-Cristian Florescu <ionut.florescu@gmail.com>", |
9299
48
5