Skip to content

Commit

Permalink
Bump @graphql-tools/executor-http for better SSE stream chunks and me…
Browse files Browse the repository at this point in the history
…ssages handling (#3118)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
enisdenjo and github-actions[bot] authored Nov 28, 2023
1 parent 4ae1f4d commit 694e78b
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 19 deletions.
7 changes: 7 additions & 0 deletions .changeset/@graphql-yoga_apollo-link-3118-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphql-yoga/apollo-link': patch
---
dependencies updates:
- Updated dependency [`@graphql-tools/executor-http@^1.0.4`
↗︎](https://www.npmjs.com/package/@graphql-tools/executor-http/v/1.0.4) (from `^1.0.0`, in
`dependencies`)
7 changes: 7 additions & 0 deletions .changeset/@graphql-yoga_urql-exchange-3118-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphql-yoga/urql-exchange': patch
---
dependencies updates:
- Updated dependency [`@graphql-tools/executor-http@^1.0.4`
↗︎](https://www.npmjs.com/package/@graphql-tools/executor-http/v/1.0.4) (from `^1.0.0`, in
`dependencies`)
7 changes: 7 additions & 0 deletions .changeset/ten-poems-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphql-yoga/urql-exchange': patch
'@graphql-yoga/plugin-defer-stream': patch
'@graphql-yoga/apollo-link': patch
---

Bump @graphql-tools/executor-http for better SSE stream chunks and messages handling
2 changes: 1 addition & 1 deletion packages/client/apollo-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"@graphql-tools/executor-apollo-link": "^1.0.0",
"@graphql-tools/executor-http": "^1.0.0",
"@graphql-tools/executor-http": "^1.0.4",
"tslib": "^2.5.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/client/apollo-link/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export type YogaLinkOptions = HTTPExecutorOptions;
export class YogaLink extends ExecutorLink {
constructor(options: YogaLinkOptions) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
super(buildHTTPExecutor(options as any));
super(buildHTTPExecutor(options) as any);
}
}
2 changes: 1 addition & 1 deletion packages/client/urql-exchange/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"wonka": "^6.0.0"
},
"dependencies": {
"@graphql-tools/executor-http": "^1.0.0",
"@graphql-tools/executor-http": "^1.0.4",
"@graphql-tools/executor-urql-exchange": "^1.0.0",
"tslib": "^2.5.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/client/urql-exchange/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export type YogaExchangeOptions = HTTPExecutorOptions;

export function yogaExchange(options?: HTTPExecutorOptions): Exchange {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return executorExchange(buildHTTPExecutor(options as any));
return executorExchange(buildHTTPExecutor(options) as any);
}
2 changes: 1 addition & 1 deletion packages/plugins/defer-stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@graphql-tools/utils": "^10.0.0"
},
"devDependencies": {
"@graphql-tools/executor-http": "^1.0.0",
"@graphql-tools/executor-http": "^1.0.4",
"@whatwg-node/fetch": "^0.9.7",
"graphql": "^16.6.0",
"tslib": "^2.5.2"
Expand Down
26 changes: 12 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 694e78b

Please sign in to comment.