Skip to content

Commit 8f69975

Browse files
Update GraphiQL from 4.0.2 to 4.0.4 version (#1319)
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 a82c2a5 commit 8f69975

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

juniper/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
4747

4848
### Changed
4949

50-
- Upgraded [GraphiQL] to [4.0.2 version](https://github.com/graphql/graphiql/blob/graphiql%404.0.2/packages/graphiql/CHANGELOG.md#402). ([#1316])
50+
- Upgraded [GraphiQL] to [4.0.4 version](https://github.com/graphql/graphiql/blob/graphiql%404.0.4/packages/graphiql/CHANGELOG.md#404). ([#1319])
5151

5252
### Fixed
5353

@@ -65,8 +65,8 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
6565
[#1287]: /../../issues/1287
6666
[#1293]: /../../pull/1293
6767
[#1311]: /../../pull/1311
68-
[#1316]: /../../pull/1316
6968
[#1318]: /../../pull/1318
69+
[#1319]: /../../pull/1319
7070
[1b1fc618]: /../../commit/1b1fc61879ffdd640d741e187dc20678bf7ab295
7171

7272

juniper/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ GRAPHQL_PLAYGROUND_VER ?= $(strip \
3535
# make graphiql
3636

3737
graphiql:
38+
$(eval graphiql-plugin-explorer-ver := $(strip \
39+
$(shell curl -fsL https://raw.githubusercontent.com/graphql/graphiql/refs/tags/graphiql%40$(GRAPHIQL_VER)/packages/graphiql-plugin-explorer/package.json \
40+
| grep -m1 '"version": "' | cut -d '"' -f4)))
3841
$(eval graphiql-react-ver := $(strip \
3942
$(shell curl -fsL https://raw.githubusercontent.com/graphql/graphiql/refs/tags/graphiql%40$(GRAPHIQL_VER)/packages/graphiql/package.json \
4043
| grep -m1 '"@graphiql/react": "' | cut -d '"' -f4 | cut -d '^' -f2)))
@@ -45,7 +48,7 @@ graphiql:
4548
https://raw.githubusercontent.com/graphql/graphiql/graphiql%40$(GRAPHIQL_VER)/examples/graphiql-cdn/index.html
4649
$(sed-i) 's|esm.sh/[email protected]|esm.sh/graphiql@$(GRAPHIQL_VER)|g' \
4750
src/http/graphiql.html
48-
$(sed-i) 's|esm.sh/@graphiql/[email protected]|esm.sh/@graphiql/plugin-explorer@$(GRAPHIQL_VER)|g' \
51+
$(sed-i) 's|esm.sh/@graphiql/[email protected]|esm.sh/@graphiql/plugin-explorer@$(graphiql-plugin-explorer-ver)|g' \
4952
src/http/graphiql.html
5053
$(sed-i) 's|esm.sh/@graphiql/[email protected]|esm.sh/@graphiql/react@$(graphiql-react-ver)|g' \
5154
src/http/graphiql.html

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": "4.0.2",
7+
"graphiql": "4.0.4",
88
"graphql-playground-react": "1.7.28"
99
}
1010
}

juniper/src/http/graphiql.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
</style>
3232
<link
3333
rel="stylesheet"
34-
href="https://esm.sh/[email protected].2/dist/style.css"
34+
href="https://esm.sh/[email protected].4/dist/style.css"
3535
/>
3636
<link
3737
rel="stylesheet"
38-
href="https://esm.sh/@graphiql/[email protected].2/dist/style.css"
38+
href="https://esm.sh/@graphiql/[email protected].3/dist/style.css"
3939
/>
4040
<!-- Note: the ?standalone flag bundles the module along with all of its `dependencies`, excluding `peerDependencies`, into a single JavaScript file. -->
4141
<script type="importmap">
@@ -47,9 +47,9 @@
4747
"react-dom": "https://esm.sh/[email protected]",
4848
"react-dom/client": "https://esm.sh/[email protected]/client",
4949

50-
"graphiql": "https://esm.sh/[email protected].2?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react",
51-
"@graphiql/plugin-explorer": "https://esm.sh/@graphiql/[email protected].2?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react,graphql",
52-
"@graphiql/react": "https://esm.sh/@graphiql/[email protected].0?standalone&external=react,react/jsx-runtime,react-dom,graphql,@graphiql/toolkit",
50+
"graphiql": "https://esm.sh/[email protected].4?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react",
51+
"@graphiql/plugin-explorer": "https://esm.sh/@graphiql/[email protected].3?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react,graphql",
52+
"@graphiql/react": "https://esm.sh/@graphiql/[email protected].2?standalone&external=react,react/jsx-runtime,react-dom,graphql,@graphiql/toolkit",
5353

5454
"@graphiql/toolkit": "https://esm.sh/@graphiql/[email protected]?standalone&external=graphql",
5555
"graphql": "https://esm.sh/[email protected]"

0 commit comments

Comments
 (0)