Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 0c82864

Browse files
committed
Use latest version of GraphiQL
1 parent 7df96bb commit 0c82864

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"raw-body": "~2.1.2"
5252
},
5353
"peerDependencies": {
54-
"graphql": "~0.4.7"
54+
"graphql": "^0.4.8"
5555
},
5656
"devDependencies": {
5757
"babel": "5.8.21",
@@ -66,7 +66,7 @@
6666
"express": "4.13.3",
6767
"express3": "*",
6868
"flow-bin": "0.14.0",
69-
"graphql": "0.4.7",
69+
"graphql": "0.4.8",
7070
"isparta": "3.0.3",
7171
"mocha": "2.2.5",
7272
"multer": "1.0.3",

src/renderGraphiQL.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
type GraphiQLData = { query: ?string, variables: ?Object, result?: Object };
1212

1313
// Current latest version of GraphiQL.
14-
var GRAPHIQL_VERSION = '0.3.1';
14+
var GRAPHIQL_VERSION = '0.4.1';
1515

1616
/**
1717
* When express-graphql receives a request which does not Accept JSON, but does
@@ -41,7 +41,8 @@ add "&raw" to the end of the URL within a browser.
4141
<head>
4242
<link href="//cdn.jsdelivr.net/graphiql/${GRAPHIQL_VERSION}/graphiql.css" rel="stylesheet" />
4343
<script src="//cdn.jsdelivr.net/fetch/0.9.0/fetch.min.js"></script>
44-
<script src="//cdn.jsdelivr.net/react/0.13.3/react.min.js"></script>
44+
<script src="//cdn.jsdelivr.net/react/0.14.2/react.min.js"></script>
45+
<script src="//cdn.jsdelivr.net/react/0.14.2/react-dom.min.js"></script>
4546
<script src="//cdn.jsdelivr.net/graphiql/${GRAPHIQL_VERSION}/graphiql.min.js"></script>
4647
</head>
4748
<body>

0 commit comments

Comments
 (0)