follow-redirects 1.14.2 → 1.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of follow-redirects might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -171,7 +171,7 @@ RedirectableRequest.prototype.setTimeout = function (msecs, callback) {
171
171
 
172
172
  // Prevent a timeout from triggering
173
173
  function clearTimer() {
174
- clearTimeout(this._timeout);
174
+ clearTimeout(self._timeout);
175
175
  if (callback) {
176
176
  self.removeListener("timeout", callback);
177
177
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "follow-redirects",
3
- "version": "1.14.2",
3
+ "version": "1.14.3",
4
4
  "description": "HTTP and HTTPS modules that follow redirects.",
5
5
  "license": "MIT",
6
6
  "main": "index.js",