Skip to content

Commit a74ea9c

Browse files
Update GraphiQL from 3.0.5 to 3.0.6 version (#1193)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kai Ren <[email protected]>
1 parent cb26dee commit a74ea9c

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

juniper/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
5151
- Disabled `chrono` [Cargo feature] by default.
5252
- Removed `scalar-naivetime` [Cargo feature].
5353
- Removed lifetime parameter from `ParseError`, `GraphlQLError`, `GraphQLBatchRequest` and `GraphQLRequest`. ([#1081], [#528])
54-
- Upgraded [GraphiQL] to 3.0.5 version (requires new [`graphql-ws` GraphQL over WebSocket Protocol] integration on server, see `examples/warp_subscriptions`). ([#1188])
54+
- Upgraded [GraphiQL] to 3.0.6 version (requires new [`graphql-ws` GraphQL over WebSocket Protocol] integration on server, see `examples/warp_subscriptions`). ([#1188], [#1193])
5555

5656
### Added
5757

@@ -125,6 +125,7 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
125125
[#1176]: /../../pull/1176
126126
[#1188]: /../../pull/1188
127127
[#1190]: /../../pull/1190
128+
[#1193]: /../../pull/1193
128129
[ba1ed85b]: /../../commit/ba1ed85b3c3dd77fbae7baf6bc4e693321a94083
129130
[CVE-2022-31173]: /../../security/advisories/GHSA-4rx6-g5vg-5f3j
130131

juniper/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"postinstall": "make graphiql graphql-playground"
55
},
66
"dependencies": {
7-
"graphiql": "3.0.5",
7+
"graphiql": "3.0.6",
88
"graphql-playground-react": "1.7.28"
99
}
1010
}

juniper/src/http/graphiql.html

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
height: 100vh;
2222
}
2323
</style>
24-
2524
<!--
2625
This GraphiQL example depends on Promise and fetch, which are available in
2726
modern browsers, but can be "polyfilled" for older browsers.
@@ -37,20 +36,28 @@
3736
crossorigin
3837
src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"
3938
></script>
39+
<!--
40+
These two files can be found in the npm module, however you may wish to
41+
copy them directly into your environment, or perhaps include them in your
42+
favored resource bundler.
43+
-->
4044
<script
41-
src="https://unpkg.com/[email protected].5/graphiql.min.js"
45+
src="https://unpkg.com/[email protected].6/graphiql.min.js"
4246
type="application/javascript"
4347
></script>
48+
<link rel="stylesheet" href="https://unpkg.com/[email protected]/graphiql.min.css" />
49+
<!--
50+
These are imports for the GraphIQL Explorer plugin.
51+
-->
4452
<script
4553
src="https://unpkg.com/@graphiql/plugin-explorer/dist/index.umd.js"
4654
crossorigin
4755
></script>
48-
<!--
49-
These two files can be found in the npm module, however you may wish to
50-
copy them directly into your environment, or perhaps include them in your
51-
favored resource bundler.
52-
-->
53-
<link rel="stylesheet" href="https://unpkg.com/[email protected]/graphiql.min.css" />
56+
57+
<link
58+
rel="stylesheet"
59+
href="https://unpkg.com/@graphiql/plugin-explorer/dist/style.css"
60+
/>
5461
</head>
5562

5663
<body>

0 commit comments

Comments
 (0)