Comparing version 0.7.6 to 0.7.7
@@ -531,3 +531,3 @@ 'use strict'; | ||
}).catch(function (error) { | ||
_this4.setState({ response: error && (error.stack || String(error)) }); | ||
_this4.setState({ response: error && String(error.stack || error) }); | ||
}); | ||
@@ -561,3 +561,3 @@ } | ||
isWaitingForResponse: false, | ||
response: error && (error.stack || String(error)) | ||
response: error && String(error.stack || error) | ||
}); | ||
@@ -574,3 +574,3 @@ }); | ||
isWaitingForResponse: false, | ||
response: _error && (_error.stack || String(_error)), | ||
response: _error && String(_error.stack || _error), | ||
subscription: null | ||
@@ -577,0 +577,0 @@ }); |
@@ -60,3 +60,3 @@ 'use strict'; | ||
require('codemirror/keymap/sublime'); | ||
require('codemirror/mode/javascript/javascript'); | ||
require('codemirror-graphql/results/mode'); | ||
@@ -68,6 +68,3 @@ this.viewer = CodeMirror(_reactDom2.default.findDOMNode(this), { | ||
theme: 'graphiql', | ||
mode: { | ||
name: 'javascript', | ||
json: true | ||
}, | ||
mode: 'graphql-results', | ||
keyMap: 'sublime', | ||
@@ -74,0 +71,0 @@ foldGutter: { |
{ | ||
"name": "graphiql", | ||
"version": "0.7.6", | ||
"version": "0.7.7", | ||
"description": "An graphical interactive in-browser GraphQL IDE.", | ||
@@ -45,3 +45,3 @@ "contributors": [ | ||
"codemirror": "^5.15.2", | ||
"codemirror-graphql": "^0.5.4", | ||
"codemirror-graphql": "^0.5.6", | ||
"marked": "^0.3.5" | ||
@@ -48,0 +48,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1789412
32954
Updatedcodemirror-graphql@^0.5.6