@graphql-tools/executor-http
Advanced tools
Comparing version 1.1.10-alpha-fa92497868732e98bbb984126e0f67476b7541c8 to 1.1.10-alpha-faa423d90b6ba15f1f64e0de4d92124b0247e878
# @graphql-tools/executor-http | ||
## 1.1.10-alpha-fa92497868732e98bbb984126e0f67476b7541c8 | ||
## 1.1.10-alpha-faa423d90b6ba15f1f64e0de4d92124b0247e878 | ||
### Patch Changes | ||
- [#164](https://github.com/graphql-hive/gateway/pull/164) [`3f6d14a`](https://github.com/graphql-hive/gateway/commit/3f6d14a3904d6f5cf1f37df1f7a3eb761e0166d7) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: | ||
- [#164](https://github.com/graphql-hive/gateway/pull/164) [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: | ||
- Updated dependency [`@graphql-tools/utils@^10.6.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.6.0) (from `^10.5.6`, in `dependencies`) | ||
- [#98](https://github.com/graphql-hive/gateway/pull/98) [`697308d`](https://github.com/graphql-hive/gateway/commit/697308df3b2dd96f28dc65a5f5361a911077e022) Thanks [@ardatan](https://github.com/ardatan)! - Bun support by using native Bun API whenever possible | ||
## 1.1.9 | ||
@@ -12,0 +14,0 @@ |
@@ -126,5 +126,10 @@ import { isAsyncIterable, isPromise, fakePromise, inspect, mapAsyncIterator, mergeIncrementalResult, memoize1, getOperationASTFromRequest, createGraphQLError } from '@graphql-tools/utils'; | ||
reader.closed.then(stop).catch(stop); | ||
stop.finally(() => reader.cancel()); | ||
stop.then(() => reader.releaseLock()).catch((err) => { | ||
reader.cancel(err); | ||
}); | ||
let currChunk = ""; | ||
async function pump() { | ||
if (!body?.locked) { | ||
return stop(); | ||
} | ||
const { done, value: chunk } = await reader.read(); | ||
@@ -131,0 +136,0 @@ if (done) { |
{ | ||
"name": "@graphql-tools/executor-http", | ||
"version": "1.1.10-alpha-fa92497868732e98bbb984126e0f67476b7541c8", | ||
"version": "1.1.10-alpha-faa423d90b6ba15f1f64e0de4d92124b0247e878", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A set of utils for faster development of GraphQL tools", |
Sorry, the diff of this file is not supported yet
62596
1175