Skip to content

Commit 342f08b

Browse files
authored
Merge pull request #3 from akand074/update_graphiql
Update graphiql and its dependencies to the latest version on jsdelivr
2 parents 2d52c94 + 35db2e0 commit 342f08b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

webob_graphql/mako.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from .utils import tojson
66

7-
GRAPHIQL_VERSION = '0.7.1'
7+
GRAPHIQL_VERSION = '0.10.2'
88

99
TEMPLATE = Template('''<!--
1010
The request to this GraphQL server provided the header "Accept: text/html"
@@ -25,9 +25,9 @@
2525
}
2626
</style>
2727
<link href="//cdn.jsdelivr.net/graphiql/${graphiql_version}/graphiql.css" rel="stylesheet" />
28-
<script src="//cdn.jsdelivr.net/fetch/0.9.0/fetch.min.js"></script>
29-
<script src="//cdn.jsdelivr.net/react/15.0.0/react.min.js"></script>
30-
<script src="//cdn.jsdelivr.net/react/15.0.0/react-dom.min.js"></script>
28+
<script src="//cdn.jsdelivr.net/fetch/2.0.1/fetch.min.js"></script>
29+
<script src="//cdn.jsdelivr.net/react/15.5.4/react.min.js"></script>
30+
<script src="//cdn.jsdelivr.net/react/15.5.4/react-dom.min.js"></script>
3131
<script src="//cdn.jsdelivr.net/graphiql/${graphiql_version}/graphiql.min.js"></script>
3232
</head>
3333
<body>

webob_graphql/render_graphiql.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from .utils import tojson
44

5-
GRAPHIQL_VERSION = '0.7.1'
5+
GRAPHIQL_VERSION = '0.10.2'
66

77
TEMPLATE = Template('''<!--
88
The request to this GraphQL server provided the header "Accept: text/html"
@@ -23,9 +23,9 @@
2323
}
2424
</style>
2525
<link href="//cdn.jsdelivr.net/graphiql/${graphiql_version}/graphiql.css" rel="stylesheet" />
26-
<script src="//cdn.jsdelivr.net/fetch/0.9.0/fetch.min.js"></script>
27-
<script src="//cdn.jsdelivr.net/react/15.0.0/react.min.js"></script>
28-
<script src="//cdn.jsdelivr.net/react/15.0.0/react-dom.min.js"></script>
26+
<script src="//cdn.jsdelivr.net/fetch/2.0.1/fetch.min.js"></script>
27+
<script src="//cdn.jsdelivr.net/react/15.5.4/react.min.js"></script>
28+
<script src="//cdn.jsdelivr.net/react/15.5.4/react-dom.min.js"></script>
2929
<script src="//cdn.jsdelivr.net/graphiql/${graphiql_version}/graphiql.min.js"></script>
3030
</head>
3131
<body>

0 commit comments

Comments
 (0)