follow-redirects 1.4.0 → 1.4.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 +1 -1
  2. package/package.json +7 -7
package/index.js CHANGED
@@ -106,7 +106,7 @@ RedirectableRequest.prototype.removeHeader = function (name) {
106
106
  // Proxy all public ClientRequest properties
107
107
  ["aborted", "connection", "socket"].forEach(function (property) {
108
108
  Object.defineProperty(RedirectableRequest.prototype, property, {
109
- get() { return this._currentRequest[property]; },
109
+ get: function () { return this._currentRequest[property]; },
110
110
  });
111
111
  });
112
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "follow-redirects",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "HTTP and HTTPS modules that follow redirects.",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -47,13 +47,13 @@
47
47
  "debug": "^3.1.0"
48
48
  },
49
49
  "devDependencies": {
50
- "bluebird": "^3.4.0",
51
- "concat-stream": "^1.5.2",
50
+ "bluebird": "^3.5.1",
51
+ "concat-stream": "^1.6.0",
52
52
  "coveralls": "^3.0.0",
53
- "eslint": "^4.14.0",
54
- "express": "^4.13.0",
55
- "mocha": "^4.0.1",
56
- "nyc": "^11.3.0"
53
+ "eslint": "^4.16.0",
54
+ "express": "^4.16.2",
55
+ "mocha": "^5.0.0",
56
+ "nyc": "^11.4.1"
57
57
  },
58
58
  "license": "MIT",
59
59
  "nyc": {