blob: 6162f37b094abb436ec36722b52dd3e502835a6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## 2.0.10 - 2018-04-18
### Fixed
* Guard `global` usage in scope to avoid reference errors
## 2.0.9 - 2018-04-17
### Fixed
* Guard `self` usage in scope to avoid Webpack reference errors
## 2.0.8 - 2018-04-17
### Fixed
* Worker support now explicitly references `self` and `window` rather then using
`this` implicitly to fix issues in Webpack builds.
## 2.0.7 - 2018-04-16
### Fixed
* Support `setTimeout` / `setInterval` in workers
## 2.0.6 - 2018-01-24
### Fixed
* Use `typeof` to search globals more carefully.
## 2.0.5 - 2018-01-23
### Fixed
* Try harder to retrieve `setImmediate` and `clearImmediate` in esoteric
environments.
## 2.0.4 - 2017-08-14
### Fixed
* Revert `setImmediate` and `clearImmediate` changes from 2.0.3 because they
appear to break Webpack.
## 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
* `.npmignore` now excludes example scripts, reducing package size
## 2.0.1 - 2016-06-21
### Fixed
* `clearTimeout` and `clearInterval` no longer throws when passed null or
undefined instead of the timeout token.
## 2.0.0 - 2016-03-28
### Changed
* `setImmediate` and `clearImmediate` now use the `setimmediate` module which
has better cross-browser coverage. In particular, it resolves a crash in
Safari. The `setimmediate` module adds these methods to the global
immediately, so a major version bump seems safest.
## 1.4.2 - 2015-12-08
### Added
* Metadata used by `jspm` in `package.json`
## 1.4.1 - 2015-05-10
### Changed
* Update `process` dependency
## 1.4.0 - 2015-02-23
### Added
* Link to `timers-browserify-full`, which offers a larger, but much more exact,
version of Node's `timers` library
### Changed
* `setTimeout` and `setInterval` return objects with the same API as the Node
implementation, instead of just IDs
### Fixed
* `active` implementation actually has an effect, as in Node
* Replaced usages of `apply` that break in IE 8
## 1.3.0 - 2015-02-04
### Changed
* Prefer native versions of `setImmediate` and `clearImmediate` if they exist
## 1.2.0 - 2015-01-02
### Changed
* Update `process` dependency
## 1.1.0 - 2014-08-26
### Added
* `clearImmediate` available to undo `setImmediate`
## 1.0.3 - 2014-06-30
### Fixed
* Resume returning opaque IDs from `setTimeout` and `setInterval`
## 1.0.2 - 2014-06-30
### Fixed
* Pass `window` explicitly to `setTimeout` and others to resolve an error in
Chrome
## 1.0.1 - 2013-12-28
### Changed
* Replaced `setimmediate` dependency with `process` for the `nextTick` shim
## 1.0.0 - 2013-12-10
### Added
* Guard against undefined globals like `setTimeout` in some environments
## 0.0.0 - 2012-05-30
### Added
* Basic functionality for initial release
|