diff options
Diffstat (limited to 'node_modules/timers-browserify')
-rw-r--r-- | node_modules/timers-browserify/CHANGELOG.md | 7 | ||||
-rw-r--r-- | node_modules/timers-browserify/main.js | 5 | ||||
-rw-r--r-- | node_modules/timers-browserify/package.json | 7 |
3 files changed, 15 insertions, 4 deletions
diff --git a/node_modules/timers-browserify/CHANGELOG.md b/node_modules/timers-browserify/CHANGELOG.md index 5020a1ebf..925fb60af 100644 --- a/node_modules/timers-browserify/CHANGELOG.md +++ b/node_modules/timers-browserify/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 2.0.3 - 2017-07-31 + +### Fixed + +* `setImmediate` and `clearImmediate` are indirected through the `global` module + for better coverage of esoteric environments. + ## 2.0.2 - 2016-10-19 ### Added diff --git a/node_modules/timers-browserify/main.js b/node_modules/timers-browserify/main.js index 001c63190..672822458 100644 --- a/node_modules/timers-browserify/main.js +++ b/node_modules/timers-browserify/main.js @@ -49,5 +49,6 @@ exports._unrefActive = exports.active = function(item) { // setimmediate attaches itself to the global object require("setimmediate"); -exports.setImmediate = setImmediate; -exports.clearImmediate = clearImmediate; +var global = require("global"); +exports.setImmediate = global.setImmediate; +exports.clearImmediate = global.clearImmediate; diff --git a/node_modules/timers-browserify/package.json b/node_modules/timers-browserify/package.json index be72f1df7..9a0332a17 100644 --- a/node_modules/timers-browserify/package.json +++ b/node_modules/timers-browserify/package.json @@ -2,7 +2,7 @@ "author": "J. Ryan Stinnett <jryans@gmail.com> (http://convolv.es/)", "name": "timers-browserify", "description": "timers module for browserify", - "version": "2.0.2", + "version": "2.0.3", "homepage": "https://github.com/jryans/timers-browserify", "bugs": "https://github.com/jryans/timers-browserify/issues", "repository": { @@ -17,10 +17,13 @@ "Jan Schär <jscissr@gmail.com>", "Johannes Ewald <johannes.ewald@peerigon.com>", "Jonathan Prins <jon@blip.tv>", - "Matt Esch <matt@mattesch.info>" + "Matt Esch <matt@mattesch.info>", + "taoqf <tao_qiufeng@126.com>", + "wtgtybhertgeghgtwtg <wtgtybhertgeghgtwtg@gmail.com>" ], "main": "main.js", "dependencies": { + "global": "^4.3.2", "setimmediate": "^1.0.4" }, "devDependencies": { |