Socket
Socket
Sign inDemoInstall

graphql-extensions

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-extensions - npm Package Compare versions

Comparing version 0.3.0-alpha.0 to 0.3.0-alpha.1

4

dist/index.d.ts
import { GraphQLSchema, GraphQLField, GraphQLFieldResolver, GraphQLResolveInfo, ExecutionArgs, DocumentNode } from 'graphql';
import { Request } from 'apollo-server-env';
export { Request } from 'apollo-server-env';
import { GraphQLResponse } from 'apollo-server-core/dist/requestPipelineAPI';
import { GraphQLResponse, GraphQLRequestContext } from 'apollo-server-core/dist/requestPipelineAPI';
export { GraphQLResponse };

@@ -19,2 +19,3 @@ export declare type EndHandler = (...errors: Array<Error>) => void;

context: TContext;
requestContext: GraphQLRequestContext<TContext>;
}): EndHandler | void;

@@ -56,2 +57,3 @@ parsingDidStart?(o: {

extensions?: Record<string, any>;
requestContext: GraphQLRequestContext<TContext>;
}): EndHandler;

@@ -58,0 +60,0 @@ parsingDidStart(o: {

{
"name": "graphql-extensions",
"version": "0.3.0-alpha.0",
"version": "0.3.0-alpha.1",
"description": "Add extensions to GraphQL servers",

@@ -17,4 +17,4 @@ "main": "./dist/index.js",

"devDependencies": {
"apollo-server-core": "2.2.0-alpha.0",
"apollo-server-env": "2.1.0-alpha.0"
"apollo-server-core": "2.2.0-alpha.1",
"apollo-server-env": "2.1.0-alpha.1"
},

@@ -24,3 +24,3 @@ "peerDependencies": {

},
"gitHead": "dec2b94a0e309c1c75b3e9f3d7b4011e36a7e48a"
"gitHead": "5b8388323325c14970601310d7864b86010cbebe"
}

@@ -16,3 +16,6 @@ import {

import { GraphQLResponse } from 'apollo-server-core/dist/requestPipelineAPI';
import {
GraphQLResponse,
GraphQLRequestContext,
} from 'apollo-server-core/dist/requestPipelineAPI';
export { GraphQLResponse };

@@ -38,2 +41,3 @@

context: TContext;
requestContext: GraphQLRequestContext<TContext>;
}): EndHandler | void;

@@ -80,2 +84,3 @@ public parsingDidStart?(o: { queryString: string }): EndHandler | void;

extensions?: Record<string, any>;
requestContext: GraphQLRequestContext<TContext>;
}): EndHandler {

@@ -82,0 +87,0 @@ return this.handleDidStart(

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