follow-redirects 1.14.0 → 1.14.1

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 +0 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -63,12 +63,8 @@ function RedirectableRequest(options, responseCallback) {
63
63
  RedirectableRequest.prototype = Object.create(Writable.prototype);
64
64
 
65
65
  RedirectableRequest.prototype.abort = function () {
66
- // Abort the internal request
67
66
  abortRequest(this._currentRequest);
68
-
69
- // Abort this request
70
67
  this.emit("abort");
71
- this.removeAllListeners();
72
68
  };
73
69
 
74
70
  // Writes buffered data to the current native request
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "follow-redirects",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "HTTP and HTTPS modules that follow redirects.",
5
5
  "license": "MIT",
6
6
  "main": "index.js",