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

apollo-server-plugin-base

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-server-plugin-base - npm Package Compare versions

Comparing version 3.2.0-alpha.0 to 3.2.0

2

dist/index.d.ts

@@ -9,5 +9,5 @@ import { AnyFunctionMap, BaseContext, GraphQLServiceContext, GraphQLRequestContext, GraphQLRequest, GraphQLResponse, WithRequired, GraphQLFieldResolverParams, GraphQLRequestContextDidResolveSource, GraphQLRequestContextParsingDidStart, GraphQLRequestContextValidationDidStart, GraphQLRequestContextDidResolveOperation, GraphQLRequestContextDidEncounterErrors, GraphQLRequestContextResponseForOperation, GraphQLRequestContextExecutionDidStart, GraphQLRequestContextWillSendResponse, GraphQLSchemaContext } from 'apollo-server-types';

schemaDidLoadOrUpdate?(schemaContext: GraphQLSchemaContext): void;
drainServer?(): Promise<void>;
serverWillStop?(): Promise<void>;
renderLandingPage?(): Promise<LandingPage>;
drainServer?(): Promise<void>;
}

@@ -14,0 +14,0 @@ export interface LandingPage {

{
"name": "apollo-server-plugin-base",
"version": "3.2.0-alpha.0",
"version": "3.2.0",
"description": "Apollo Server plugin base classes",

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

"dependencies": {
"apollo-server-types": "^3.2.0-alpha.0"
"apollo-server-types": "^3.2.0"
},

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

},
"gitHead": "211cd84ce3d2c9be90248e6a69c8c26bf8d1cc17"
"gitHead": "4dc19131aaea2416b5b2ccab295b06272f94c996"
}

@@ -63,2 +63,15 @@ import {

// When your server is stopped (by calling `stop()` or via the
// `SIGINT`/`SIGTERM` handlers), Apollo Server first awaits all `drainServer`
// hooks in parallel. GraphQL operations can still execute while `drainServer`
// is in progress. A typical use is to stop listening for new connections and
// wait until all current connections are idle. The built-in
// ApolloServerPluginDrainHttpServer implements this method.
drainServer?(): Promise<void>;
// When your server is stopped (by calling `stop()` or via the
// `SIGINT`/`SIGTERM` handlers) then (after the `drainServer` phase finishes)
// Apollo Server transitions into a state where no new operations will run and
// then awaits all `drainServer` hooks in parallel. A typical use is to flush
// outstanding observability data.
serverWillStop?(): Promise<void>;

@@ -73,5 +86,2 @@

renderLandingPage?(): Promise<LandingPage>;
// FIXME docs
drainServer?(): Promise<void>;
}

@@ -78,0 +88,0 @@

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