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

@graphql-tools/executor-common

Package Overview
Dependencies
Maintainers
0
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version

to
0.0.1-alpha-3b389697135636c2837d6a66f7f263834c015e18

CHANGELOG.md

14

dist/index.d.ts

@@ -10,3 +10,3 @@ import { ExecutionRequest } from '@graphql-tools/utils';

}
interface GraphQLParams {
interface SerializedExecutionRequest {
query?: string | undefined;

@@ -17,12 +17,12 @@ variables?: Record<string, any>;

}
declare function executionRequestToGraphQLParams(opts: Omit<ExecutionRequestToGraphQLParams, 'excludeQuery'> & {
declare function serializeExecutionRequest(opts: Omit<ExecutionRequestToGraphQLParams, 'excludeQuery'> & {
excludeQuery: true;
}): Omit<GraphQLParams, 'query'>;
declare function executionRequestToGraphQLParams(opts: Omit<ExecutionRequestToGraphQLParams, 'excludeQuery'> & {
}): Omit<SerializedExecutionRequest, 'query'>;
declare function serializeExecutionRequest(opts: Omit<ExecutionRequestToGraphQLParams, 'excludeQuery'> & {
excludeQuery?: false;
}): Omit<GraphQLParams, 'query'> & {
}): Omit<SerializedExecutionRequest, 'query'> & {
query: string;
};
declare function executionRequestToGraphQLParams(opts: ExecutionRequestToGraphQLParams): GraphQLParams;
declare function serializeExecutionRequest(opts: ExecutionRequestToGraphQLParams): SerializedExecutionRequest;
export { type GraphQLParams, defaultPrintFn, executionRequestToGraphQLParams };
export { type SerializedExecutionRequest, defaultPrintFn, serializeExecutionRequest };

@@ -8,3 +8,3 @@ import { getDocumentString } from '@envelop/core';

});
function executionRequestToGraphQLParams({
function serializeExecutionRequest({
executionRequest,

@@ -22,2 +22,2 @@ excludeQuery,

export { defaultPrintFn, executionRequestToGraphQLParams };
export { defaultPrintFn, serializeExecutionRequest };
{
"name": "@graphql-tools/executor-common",
"version": "0.0.0",
"version": "0.0.1-alpha-3b389697135636c2837d6a66f7f263834c015e18",
"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