express-graphql
Advanced tools
Comparing version 0.6.3 to 0.6.4
@@ -250,3 +250,3 @@ 'use strict'; | ||
var variables = urlData.variables || bodyData.variables; | ||
if (typeof variables === 'string') { | ||
if (variables && typeof variables === 'string') { | ||
try { | ||
@@ -253,0 +253,0 @@ variables = JSON.parse(variables); |
@@ -10,3 +10,3 @@ 'use strict'; | ||
// Current latest version of GraphiQL. | ||
var GRAPHIQL_VERSION = '0.9.1'; | ||
var GRAPHIQL_VERSION = '0.9.3'; | ||
@@ -13,0 +13,0 @@ // Ensures string values are safe to be used within a <script> tag. |
{ | ||
"name": "express-graphql", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "Production ready GraphQL HTTP middleware.", | ||
@@ -68,3 +68,3 @@ "contributors": [ | ||
"babel-cli": "6.22.2", | ||
"babel-eslint": "7.1.1", | ||
"babel-eslint": "7.2.1", | ||
"babel-plugin-transform-async-to-generator": "6.22.0", | ||
@@ -74,21 +74,21 @@ "babel-plugin-transform-class-properties": "6.22.0", | ||
"babel-plugin-transform-runtime": "6.22.0", | ||
"babel-preset-es2015": "6.22.0", | ||
"babel-register": "6.22.0", | ||
"babel-runtime": "6.22.0", | ||
"body-parser": "1.16.0", | ||
"babel-preset-es2015": "6.24.0", | ||
"babel-register": "6.24.0", | ||
"babel-runtime": "6.23.0", | ||
"body-parser": "1.17.1", | ||
"chai": "3.5.0", | ||
"connect": "3.5.0", | ||
"coveralls": "2.11.15", | ||
"eslint": "3.14.1", | ||
"eslint-plugin-babel": "4.0.1", | ||
"eslint-plugin-flowtype": "2.30.0", | ||
"connect": "3.6.0", | ||
"coveralls": "2.13.0", | ||
"eslint": "3.18.0", | ||
"eslint-plugin-babel": "4.1.1", | ||
"eslint-plugin-flowtype": "2.30.4", | ||
"express": "4.14.1", | ||
"express3": "*", | ||
"flow-bin": "0.38.0", | ||
"graphql": "0.9.0", | ||
"flow-bin": "0.42.0", | ||
"graphql": "0.9.2", | ||
"isparta": "4.0.0", | ||
"mocha": "3.2.0", | ||
"multer": "1.3.0", | ||
"sane": "1.5.0", | ||
"sinon": "1.17.7", | ||
"sane": "1.6.0", | ||
"sinon": "2.1.0", | ||
"supertest": "3.0.0", | ||
@@ -95,0 +95,0 @@ "supertest-as-promised": "4.0.2" |
@@ -97,3 +97,3 @@ GraphQL HTTP Server Middleware | ||
for `multipart/form-data` content, which may be useful for GraphQL mutations | ||
involving uploading files. See an [example using multer](https://github.com/graphql/express-graphql/blob/master/src/__tests__/http-test.js#L650). | ||
involving uploading files. See an [example using multer](https://github.com/graphql/express-graphql/blob/304b24b993c8f16fffff8d23b0fa4088e690874b/src/__tests__/http-test.js#L674-L741). | ||
@@ -225,3 +225,4 @@ If the POST body has not yet been parsed, express-graphql will interpret it | ||
locations: error.locations, | ||
stack: error.stack | ||
stack: error.stack, | ||
path: error.path | ||
}) | ||
@@ -228,0 +229,0 @@ ``` |
35045
235