Update GraphiQL from 3.5.0 to 3.6.0 version (#1276)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
This commit is contained in:
dependabot[bot] 2024-08-16 01:20:06 +00:00 committed by GitHub
parent 681d242823
commit c1a916dc87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 9 deletions

View file

@ -43,14 +43,14 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
### Changed
- Updated [GraphiQL] to [3.5.0 version](https://github.com/graphql/graphiql/blob/graphiql%403.5.0/packages/graphiql/CHANGELOG.md#350). ([#1274])
- Updated [GraphiQL] to [3.6.0 version](https://github.com/graphql/graphiql/blob/graphiql%403.6.0/packages/graphiql/CHANGELOG.md#360). ([#1276])
[#1252]: /../../pull/1252
[#1270]: /../../issues/1270
[#1271]: /../../pull/1271
[#1272]: /../../pull/1272
[#1274]: /../../pull/1274
[#1275]: /../../pull/1275
[#1276]: /../../pull/1276
[#1277]: /../../pull/1277

View file

@ -39,10 +39,6 @@ graphiql:
https://raw.githubusercontent.com/graphql/graphiql/graphiql%40$(GRAPHIQL_VER)/examples/graphiql-cdn/index.html
$(sed-i) 's|unpkg.com/graphiql/|unpkg.com/graphiql@$(GRAPHIQL_VER)/|g' \
src/http/graphiql.html
$(sed-i) 's|react.development.js|react.production.min.js|g' \
src/http/graphiql.html
$(sed-i) 's|react-dom.development.js|react-dom.production.min.js|g' \
src/http/graphiql.html
$(sed-i) "s|'https://swapi-graphql.netlify.app/.netlify/functions/index'|JUNIPER_URL|g" \
src/http/graphiql.html
$(sed-i) "s|url: JUNIPER_URL,|url: JUNIPER_URL,\n subscriptionUrl: normalizeSubscriptionEndpoint(JUNIPER_URL, JUNIPER_SUBSCRIPTIONS_URL)|" \

View file

@ -4,7 +4,7 @@
"postinstall": "make graphiql graphql-playground"
},
"dependencies": {
"graphiql": "3.5.0",
"graphiql": "3.6.0",
"graphql-playground-react": "1.7.28"
}
}

View file

@ -42,10 +42,10 @@
favored resource bundler.
-->
<script
src="https://unpkg.com/graphiql@3.5.0/graphiql.min.js"
src="https://unpkg.com/graphiql@3.6.0/graphiql.min.js"
type="application/javascript"
></script>
<link rel="stylesheet" href="https://unpkg.com/graphiql@3.5.0/graphiql.min.css" />
<link rel="stylesheet" href="https://unpkg.com/graphiql@3.6.0/graphiql.min.css" />
<!--
These are imports for the GraphIQL Explorer plugin.
-->