Socket
Socket
Sign inDemoInstall

graphql-extensions

Package Overview
Dependencies
Maintainers
1
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.7.4-alpha.0 to 0.7.4

6

dist/index.d.ts

@@ -27,5 +27,2 @@ import { GraphQLSchema, GraphQLField, GraphQLFieldResolver, GraphQLResolveInfo, ExecutionArgs, DocumentNode, GraphQLError } from 'graphql';

}): EndHandler | void;
didResolveOperation?(o: {
requestContext: GraphQLRequestContext<TContext>;
}): void;
didEncounterErrors?(errors: ReadonlyArray<GraphQLError>): void;

@@ -69,5 +66,2 @@ willSendResponse?(o: {

}): EndHandler;
didResolveOperation(o: {
requestContext: GraphQLRequestContext<TContext>;
}): void;
didEncounterErrors(errors: ReadonlyArray<GraphQLError>): void;

@@ -74,0 +68,0 @@ willSendResponse(o: {

@@ -26,9 +26,2 @@ "use strict";

}
didResolveOperation(o) {
this.extensions.forEach(extension => {
if (extension.didResolveOperation) {
extension.didResolveOperation(o);
}
});
}
didEncounterErrors(errors) {

@@ -35,0 +28,0 @@ this.extensions.forEach(extension => {

6

package.json
{
"name": "graphql-extensions",
"version": "0.7.4-alpha.0",
"version": "0.7.4",
"description": "Add extensions to GraphQL servers",

@@ -20,3 +20,3 @@ "main": "./dist/index.js",

"devDependencies": {
"apollo-server-core": "2.6.5-alpha.0",
"apollo-server-core": "2.6.5",
"apollo-server-env": "2.4.0"

@@ -27,3 +27,3 @@ },

},
"gitHead": "ec329472a9c779331132a0ec4ebec9ab9709ff8d"
"gitHead": "a2b2a0d8f013826d08433129a69834035e04f1d5"
}

@@ -52,5 +52,2 @@ import {

public didResolveOperation?(o: {
requestContext: GraphQLRequestContext<TContext>;
}): void;
public didEncounterErrors?(errors: ReadonlyArray<GraphQLError>): void;

@@ -117,11 +114,2 @@

public didResolveOperation(o: {
requestContext: GraphQLRequestContext<TContext>;
}) {
this.extensions.forEach(extension => {
if (extension.didResolveOperation) {
extension.didResolveOperation(o);
}
});
}
public didEncounterErrors(errors: ReadonlyArray<GraphQLError>) {

@@ -128,0 +116,0 @@ this.extensions.forEach(extension => {

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