Socket
Socket
Sign inDemoInstall

graphql-server-express

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-server-express - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

8

dist/expressApollo.d.ts
import * as express from 'express';
import { ApolloOptions } from 'graphql-server-core';
import { GraphQLOptions } from 'graphql-server-core';
import * as GraphiQL from 'graphql-server-module-graphiql';
export interface ExpressApolloOptionsFunction {
(req?: express.Request, res?: express.Response): ApolloOptions | Promise<ApolloOptions>;
export interface ExpressGraphQLOptionsFunction {
(req?: express.Request, res?: express.Response): GraphQLOptions | Promise<GraphQLOptions>;
}

@@ -10,3 +10,3 @@ export interface ExpressHandler {

}
export declare function graphqlExpress(options: ApolloOptions | ExpressApolloOptionsFunction): ExpressHandler;
export declare function graphqlExpress(options: GraphQLOptions | ExpressGraphQLOptionsFunction): ExpressHandler;
export declare function graphiqlExpress(options: GraphiQL.GraphiQLData): (req: express.Request, res: express.Response, next: any) => void;

@@ -1,2 +0,2 @@

export { ExpressApolloOptionsFunction, ExpressHandler, graphqlExpress, graphiqlExpress } from './expressApollo';
export { ExpressGraphQLOptionsFunction, ExpressHandler, graphqlExpress, graphiqlExpress } from './expressApollo';
export { graphqlConnect, graphiqlConnect } from './connectApollo';
{
"name": "graphql-server-express",
"version": "0.4.1",
"version": "0.4.2",
"description": "Production-ready Node.js GraphQL server for Express and Connect",

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

"dependencies": {
"graphql-server-core": "^0.4.1",
"graphql-server-core": "^0.4.2",
"graphql-server-module-graphiql": "^0.4.0"

@@ -38,3 +38,3 @@ },

"@types/multer": "0.0.32",
"graphql-server-integration-testsuite": "^0.4.1",
"graphql-server-integration-testsuite": "^0.4.2",
"body-parser": "^1.15.2",

@@ -41,0 +41,0 @@ "connect": "^3.4.1",

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