graphql-server-express
Advanced tools
Comparing version 0.7.2 to 0.8.0
@@ -13,3 +13,3 @@ "use strict"; | ||
} | ||
return function (req, res) { | ||
return function (req, res, next) { | ||
graphql_server_core_1.runHttpQuery([req, res], { | ||
@@ -25,3 +25,3 @@ method: req.method, | ||
if ('HttpQueryError' !== error.name) { | ||
throw error; | ||
return next(error); | ||
} | ||
@@ -28,0 +28,0 @@ if (error.headers) { |
{ | ||
"name": "graphql-server-express", | ||
"version": "0.7.2", | ||
"version": "0.8.0", | ||
"description": "Production-ready Node.js GraphQL server for Express and Connect", | ||
@@ -29,4 +29,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"graphql-server-core": "^0.7.0", | ||
"graphql-server-module-graphiql": "^0.7.2" | ||
"graphql-server-core": "^0.8.0", | ||
"graphql-server-module-graphiql": "^0.8.0" | ||
}, | ||
@@ -38,15 +38,15 @@ "devDependencies": { | ||
"@types/multer": "0.0.33", | ||
"body-parser": "^1.17.1", | ||
"connect": "^3.6.0", | ||
"body-parser": "^1.17.2", | ||
"connect": "^3.6.2", | ||
"connect-query": "^1.0.0", | ||
"express": "^4.15.2", | ||
"graphql-server-integration-testsuite": "^0.7.2", | ||
"express": "^4.15.3", | ||
"graphql-server-integration-testsuite": "^0.8.0", | ||
"multer": "^1.3.0" | ||
}, | ||
"peerDependencies": { | ||
"graphql": "^0.8.0 || ^0.9.0" | ||
"graphql": "^0.9.0 || ^0.10.1" | ||
}, | ||
"optionalDependencies": { | ||
"@types/express": "^4.0.35", | ||
"@types/graphql": "^0.9.0" | ||
"@types/graphql": "^0.9.1" | ||
}, | ||
@@ -53,0 +53,0 @@ "typings": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8090
+ Addedgraphql@0.10.5(transitive)
+ Addedgraphql-server-core@0.8.5(transitive)
+ Addedgraphql-server-module-graphiql@0.8.5(transitive)
- Removedgraphql@0.9.6(transitive)
- Removedgraphql-server-core@0.7.0(transitive)
- Removedgraphql-server-module-graphiql@0.7.2(transitive)
Updatedgraphql-server-core@^0.8.0