From 8c9a0219a6d0d0b775d9d7457bfd38f25e307b2c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 May 2025 14:45:48 +0000 Subject: [PATCH 1/3] Bump graphiql from 4.0.2 to 4.0.4 in /juniper Bumps [graphiql](https://github.com/graphql/graphiql/tree/HEAD/packages/graphiql) from 4.0.2 to 4.0.4. - [Release notes](https://github.com/graphql/graphiql/releases) - [Changelog](https://github.com/graphql/graphiql/blob/main/packages/graphiql/CHANGELOG.md) - [Commits](https://github.com/graphql/graphiql/commits/graphiql@4.0.4/packages/graphiql) --- updated-dependencies: - dependency-name: graphiql dependency-version: 4.0.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- juniper/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper/package.json b/juniper/package.json index 14e3eec85..d545c05ff 100644 --- a/juniper/package.json +++ b/juniper/package.json @@ -4,7 +4,7 @@ "postinstall": "make graphiql graphql-playground" }, "dependencies": { - "graphiql": "4.0.2", + "graphiql": "4.0.4", "graphql-playground-react": "1.7.28" } } From a1de5d167ccb49c8bd1b5ebf0c50c08de24a610c Mon Sep 17 00:00:00 2001 From: tyranron Date: Mon, 12 May 2025 17:32:21 +0200 Subject: [PATCH 2/3] Fix plugin-explorer version --- juniper/Makefile | 5 ++++- juniper/src/http/graphiql.html | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/juniper/Makefile b/juniper/Makefile index b75e4c9be..3c00bd13a 100644 --- a/juniper/Makefile +++ b/juniper/Makefile @@ -35,6 +35,9 @@ GRAPHQL_PLAYGROUND_VER ?= $(strip \ # make graphiql graphiql: + $(eval graphiql-plugin-explorer-ver := $(strip \ + $(shell curl -fsL https://raw.githubusercontent.com/graphql/graphiql/refs/tags/graphiql%40$(GRAPHIQL_VER)/packages/graphiql-plugin-explorer/package.json \ + | grep -m1 '"version": "' | cut -d '"' -f4))) $(eval graphiql-react-ver := $(strip \ $(shell curl -fsL https://raw.githubusercontent.com/graphql/graphiql/refs/tags/graphiql%40$(GRAPHIQL_VER)/packages/graphiql/package.json \ | grep -m1 '"@graphiql/react": "' | cut -d '"' -f4 | cut -d '^' -f2))) @@ -45,7 +48,7 @@ graphiql: https://raw.githubusercontent.com/graphql/graphiql/graphiql%40$(GRAPHIQL_VER)/examples/graphiql-cdn/index.html $(sed-i) 's|esm.sh/graphiql@4.0.0|esm.sh/graphiql@$(GRAPHIQL_VER)|g' \ src/http/graphiql.html - $(sed-i) 's|esm.sh/@graphiql/plugin-explorer@4.0.0|esm.sh/@graphiql/plugin-explorer@$(GRAPHIQL_VER)|g' \ + $(sed-i) 's|esm.sh/@graphiql/plugin-explorer@4.0.0|esm.sh/@graphiql/plugin-explorer@$(graphiql-plugin-explorer-ver)|g' \ src/http/graphiql.html $(sed-i) 's|esm.sh/@graphiql/react@0.30.0|esm.sh/@graphiql/react@$(graphiql-react-ver)|g' \ src/http/graphiql.html diff --git a/juniper/src/http/graphiql.html b/juniper/src/http/graphiql.html index 68e8e384f..96415e2cd 100644 --- a/juniper/src/http/graphiql.html +++ b/juniper/src/http/graphiql.html @@ -31,11 +31,11 @@