Comparing version 3.5.8 to 3.6.0
@@ -0,1 +1,9 @@ | ||
### 3.6.0 | ||
* support `fetch().stream().then()` - **[@dbushong](https://github.com/dbushong)** [#90](https://github.com/groupon/gofer/pull/90) | ||
- [`19b6c1e`](https://github.com/groupon/gofer/commit/19b6c1e50878ecd9d951f4213c3c5fb0f7aae100) **feat:** support `fetch().stream().then()` | ||
- [`a9b6483`](https://github.com/groupon/gofer/commit/a9b6483dba99f1b20a94936f00a6d5b11992bacf) **docs:** wrap API docs @ 80 columns | ||
- [`6c8e040`](https://github.com/groupon/gofer/commit/6c8e04032cb8feb13adc2ff8452e0a1fae83a352) **docs:** `.json()`, `.text()`, etc. | ||
### 3.5.8 | ||
@@ -2,0 +10,0 @@ |
@@ -101,2 +101,6 @@ /* | ||
function callStream(res) { | ||
return res.stream(); | ||
} | ||
function parseErrorBody(rawBody) { | ||
@@ -129,2 +133,8 @@ var source = rawBody.toString(); | ||
}, | ||
stream: { | ||
value: function stream() { | ||
return this.then(callStream); | ||
}, | ||
}, | ||
}; | ||
@@ -288,2 +298,3 @@ | ||
// eslint-disable-next-line no-underscore-dangle | ||
if (socket._connecting || socket.connecting) { | ||
@@ -290,0 +301,0 @@ connectTimer = setIOTimeout(onConnectTimedOut, options.connectTimeout); |
{ | ||
"name": "gofer", | ||
"version": "3.5.8", | ||
"version": "3.6.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
65055
1302