Comparing version 3.0.1 to 3.1.0
@@ -0,1 +1,7 @@ | ||
### 3.1.0 | ||
* Echo back the url in res.url - **[@jkrems](https://github.com/jkrems)** [#60](https://github.com/groupon/gofer/pull/60) | ||
- [`bbb0e6d`](https://github.com/groupon/gofer/commit/bbb0e6d7c0ad5c9909c7cdeb467d088ed2bec8ff) **feat:** Echo back the url in res.url | ||
### 3.0.1 | ||
@@ -2,0 +8,0 @@ |
@@ -168,2 +168,3 @@ /* | ||
headers: { get: getCachedHeaders }, | ||
url: { value: url }, | ||
}); | ||
@@ -170,0 +171,0 @@ |
@@ -100,2 +100,3 @@ /* | ||
var setHost = options.setHost; | ||
var fullUrl = buildFullUrl(options); | ||
options.setHost = false; | ||
@@ -146,3 +147,3 @@ | ||
res_.statusCode, options.minStatusCode, options.maxStatusCode, | ||
res_.headers, options.method, buildFullUrl(options)); | ||
res_.headers, options.method, fullUrl); | ||
res_.rawBody() | ||
@@ -164,2 +165,3 @@ .then(parseErrorBody) | ||
res_ = Object.defineProperties(res, resProperties); | ||
res_.url = fullUrl; | ||
res_.on('error', failAndAbort); | ||
@@ -166,0 +168,0 @@ |
{ | ||
"name": "gofer", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "A general purpose service client library", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
54908
1131
9