New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/executor-graphql-ws

Package Overview
Dependencies
Maintainers
4
Versions
489
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/executor-graphql-ws - npm Package Compare versions

Comparing version 2.0.1-alpha-4a3d8acaf0868258c8e9f06e2056976554a5c336 to 2.0.1-alpha-5287411de2d9329a466af25c7829ad43fa009403

6

CHANGELOG.md
# @graphql-tools/executor-graphql-ws
## 2.0.1-alpha-4a3d8acaf0868258c8e9f06e2056976554a5c336
## 2.0.1-alpha-5287411de2d9329a466af25c7829ad43fa009403
### Patch Changes
- [#421](https://github.com/graphql-hive/gateway/pull/421) [`53a8ac2`](https://github.com/graphql-hive/gateway/commit/53a8ac2c0a5f140f9aed6355dfa4122fefc7f884) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- [#591](https://github.com/graphql-hive/gateway/pull/591) [`7474f33`](https://github.com/graphql-hive/gateway/commit/7474f339ff952c04c1f6023212691ad38bca04c5) Thanks [@ardatan](https://github.com/ardatan)! - Fix the regression preventing user to pass custom `lazy` and `lazyCloseTimeout` options
- Updated dependency [`graphql-ws@^6.0.3` ↗︎](https://www.npmjs.com/package/graphql-ws/v/6.0.3) (from `^5.14.0`, in `dependencies`)
## 2.0.0

@@ -12,0 +10,0 @@

import { DisposableAsyncExecutor } from '@graphql-tools/utils';
import { print } from 'graphql';
import { DocumentNode } from 'graphql';
import { Client } from 'graphql-ws';

@@ -7,3 +7,3 @@

onClient?: (client: Client) => void;
print?: typeof print;
print?(doc: DocumentNode): string;
/** The URL of the WebSocket server to connect to. */

@@ -10,0 +10,0 @@ url: string;

@@ -26,6 +26,7 @@ import { serializeExecutionRequest, defaultPrintFn } from '@graphql-tools/executor-common';

} : WebSocket;
graphqlWSClient = createClient({
const clientOptions = {
url: clientOptionsOrClient.url,
webSocketImpl,
lazy: true,
lazy: clientOptionsOrClient.lazy === false ? false : true,
lazyCloseTimeout: clientOptionsOrClient.lazyCloseTimeout || 0,
connectionParams: () => {

@@ -35,3 +36,4 @@ const optionsConnectionParams = (typeof clientOptionsOrClient.connectionParams === "function" ? clientOptionsOrClient.connectionParams() : clientOptionsOrClient.connectionParams) || {};

}
});
};
graphqlWSClient = createClient(clientOptions);
if (clientOptionsOrClient.onClient) {

@@ -38,0 +40,0 @@ clientOptionsOrClient.onClient(graphqlWSClient);

{
"name": "@graphql-tools/executor-graphql-ws",
"version": "2.0.1-alpha-4a3d8acaf0868258c8e9f06e2056976554a5c336",
"version": "2.0.1-alpha-5287411de2d9329a466af25c7829ad43fa009403",
"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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc