Skip to content

Commit 55bc0bc

Browse files
committed
[IMP] update graphiql lib to latest version
1 parent d82b0c4 commit 55bc0bc

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

graphql_base/views/graphiql.xml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,19 @@
2828
If you do not want to rely on a CDN, you can host these files locally or
2929
include them directly in your favored resource bunder.
3030
-->
31-
<link
32-
href="//cdn.jsdelivr.net/npm/graphiql@0.12.0/graphiql.css"
33-
rel="stylesheet"
34-
/>
35-
<script src="//cdn.jsdelivr.net/npm/whatwg-fetch@2.0.3/fetch.min.js" />
36-
<script
37-
src="//cdn.jsdelivr.net/npm/react@16.2.0/umd/react.production.min.js"
38-
/>
39-
<script
40-
src="//cdn.jsdelivr.net/npm/react-dom@16.2.0/umd/react-dom.production.min.js"
41-
/>
42-
<script src="//cdn.jsdelivr.net/npm/graphiql@0.12.0/graphiql.min.js" />
31+
<!-- GraphiQL 4.1.0 + peer-deps from a CDN -->
32+
<link rel="stylesheet"
33+
href="//unpkg.com/graphiql@4.1.0/graphiql.min.css"/>
34+
35+
<!-- Promise/fetch polyfills if you still need them -->
36+
<script src="//cdn.jsdelivr.net/npm/whatwg-fetch@3/fetch.umd.min.js"></script>
37+
38+
<!-- React 18 UMD builds (any 16-18 will do) -->
39+
<script src="//unpkg.com/react@18/umd/react.production.min.js"></script>
40+
<script src="//unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
41+
42+
<!-- GraphiQL itself -->
43+
<script src="//unpkg.com/graphiql@4.1.0/graphiql.min.js"></script>
4344
</t>
4445
<t t-set="head" t-value="head" />
4546
</t>

0 commit comments

Comments
 (0)