Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/executor-graphql-ws

Package Overview
Dependencies
Maintainers
4
Versions
209
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 1.3.3-alpha-fa92497868732e98bbb984126e0f67476b7541c8 to 1.3.3-alpha-fe7974422bf00b4634b56a01be6effb8252a73f5

4

CHANGELOG.md
# @graphql-tools/executor-graphql-ws
## 1.3.3-alpha-fa92497868732e98bbb984126e0f67476b7541c8
## 1.3.3-alpha-fe7974422bf00b4634b56a01be6effb8252a73f5
### 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:

@@ -9,0 +9,0 @@ - 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`)

@@ -1,2 +0,2 @@

import { DisposableExecutor } from '@graphql-tools/utils';
import { DisposableAsyncExecutor } from '@graphql-tools/utils';
import { print } from 'graphql';

@@ -16,4 +16,4 @@ import { Client, ClientOptions } from 'graphql-ws';

}
declare function buildGraphQLWSExecutor(clientOptionsOrClient: GraphQLWSExecutorOptions | Client): DisposableExecutor;
declare function buildGraphQLWSExecutor(clientOptionsOrClient: GraphQLWSExecutorOptions | Client): DisposableAsyncExecutor;
export { buildGraphQLWSExecutor };

@@ -67,9 +67,10 @@ import { memoize1, getOperationASTFromRequest } from '@graphql-tools/utils';

};
const disposableExecutor = executor;
disposableExecutor[DisposableSymbols.asyncDispose] = function disposeWS() {
return graphqlWSClient.dispose();
};
return disposableExecutor;
Object.defineProperty(executor, DisposableSymbols.asyncDispose, {
value: function disposeWS() {
return graphqlWSClient.dispose();
}
});
return executor;
}
export { buildGraphQLWSExecutor };
{
"name": "@graphql-tools/executor-graphql-ws",
"version": "1.3.3-alpha-fa92497868732e98bbb984126e0f67476b7541c8",
"version": "1.3.3-alpha-fe7974422bf00b4634b56a01be6effb8252a73f5",
"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