Upgrade packages + resolve vulnerabilities

This commit is contained in:
Barry Low committed 2019-02-10 10:49:51 -08:00
1 parent d73d63073b
commit 719316eff7
11 files changed
+2345 -1080

No files matched your search

+1 -7
View File
@@ -4,13 +4,6 @@ import { applyMiddleware as applyGraphQLMiddleware } from 'graphql-middleware'
import { moduleAuth } from './middleware'
import { logger } from './logger'
/**
*
* @description Creates an Apollo Server. Setup based on `vue-cli-plugin-apollo`.
* @param {Object} app Express application
* @param {Object} options Apollo options
* @returns {Object} HTTP Server
*/
export default function createApolloServer(
app,
{
@@ -54,6 +47,7 @@ export default function createApolloServer(
tracing: true,
cacheControl: true,
introspection: true,
playground: true,
engine: engineKey ? { apiKey: engineKey } : false,
dataSources,
// Resolvers context in POST requests