Socket
Socket
Sign inDemoInstall

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 0.300.0-alpha.4 to 0.300.0-html.0

5

dist/index.d.ts

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

serverWillStop?(): ValueOrPromise<void>;
renderUIPage?(): UIPage;
__internal_installed_implicitly__?: boolean;
}
export interface UIPage {
html: string;
}
export declare type GraphQLRequestListenerParsingDidEnd = (err?: Error) => void;

@@ -12,0 +17,0 @@ export declare type GraphQLRequestListenerValidationDidEnd = ((err?: ReadonlyArray<Error>) => void);

6

package.json
{
"name": "apollo-server-plugin-base",
"version": "0.300.0-alpha.4",
"version": "0.300.0-html.0",
"description": "Apollo Server plugin base classes",

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

"dependencies": {
"apollo-server-types": "^0.300.0-alpha.4"
"apollo-server-types": "^0.300.0-html.0"
},

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

},
"gitHead": "97073f33d30f2d682655eb0e4dce1d7d43721807"
"gitHead": "ee3ff095c8818cbfd721639741481703fb4d62a0"
}

@@ -69,4 +69,18 @@ import {

serverWillStop?(): ValueOrPromise<void>;
// At most one plugin's serverWillStart may return a GraphQLServerListener
// with this method. If one does, it is called once on server startup and the
// page it returns is served to clients with `accept: text/html` headers. This
// is an intentionally simple API; if you want to do something fancy to serve
// your UI, you probably should just define a handler in your web framework.
renderUIPage?(): UIPage;
// An internal-only flag used in the default UI plugin so that it can be
// ignored if you install another UI plugin.
__internal_installed_implicitly__?: boolean;
}
// The page served to clients with `accept: text/html` headers.
export interface UIPage {
html: string;
}
export type GraphQLRequestListenerParsingDidEnd = (err?: Error) => void;

@@ -73,0 +87,0 @@ export type GraphQLRequestListenerValidationDidEnd =

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