From 170a6b1667ddfeaa5be2f8c4bb879595f3832aa3 Mon Sep 17 00:00:00 2001 From: Rishichandra Wawhal Date: Thu, 3 Oct 2019 13:12:03 +0530 Subject: [PATCH 1/2] update graphiql explorer --- console/package-lock.json | 8 ++++---- console/package.json | 3 +-- .../ApiExplorer/OneGraphExplorer/OneGraphExplorer.js | 2 +- .../Services/ApiExplorer/OneGraphExplorer/utils.js | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/console/package-lock.json b/console/package-lock.json index 235f7f5f83c7c..7cd21f13996b4 100644 --- a/console/package-lock.json +++ b/console/package-lock.json @@ -7161,10 +7161,10 @@ "markdown-it": "^8.4.0" } }, - "graphiql-explorer-hasura": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/graphiql-explorer-hasura/-/graphiql-explorer-hasura-0.0.7.tgz", - "integrity": "sha512-caF9QDQ3Cc1WHWkJLDu0z/f1WN4FUiCqdm4lAMhHDYPpWZj3Cj4arOtalUjZo7dLav8cpLxkxYDmxQGWlziGuQ==" + "graphiql-explorer": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/graphiql-explorer/-/graphiql-explorer-0.4.4.tgz", + "integrity": "sha512-NuQ1XAjZwykKb9GoHM6ofI9qITZ8Lue/mXi1Bj3/ZbGZv1Srk3sz0QkKQ5jBaxmuS3Ay09LRvJQSOr0Ci1dlfg==" }, "graphql": { "version": "14.3.0", diff --git a/console/package.json b/console/package.json index 687e1e81d1b02..0390b618e9f73 100644 --- a/console/package.json +++ b/console/package.json @@ -57,8 +57,7 @@ "apollo-link-ws": "^1.0.8", "brace": "^0.11.1", "deep-equal": "^1.0.1", - "graphiql": "^0.11.11", - "graphiql-explorer-hasura": "0.0.7", + "graphiql-explorer": "0.4.4", "graphql": "^14.3.0", "graphql-voyager": "^1.0.0-rc.27", "hasura-console-graphiql": "0.0.11", diff --git a/console/src/components/Services/ApiExplorer/OneGraphExplorer/OneGraphExplorer.js b/console/src/components/Services/ApiExplorer/OneGraphExplorer/OneGraphExplorer.js index f485f8389244d..8c9578107902d 100644 --- a/console/src/components/Services/ApiExplorer/OneGraphExplorer/OneGraphExplorer.js +++ b/console/src/components/Services/ApiExplorer/OneGraphExplorer/OneGraphExplorer.js @@ -1,7 +1,7 @@ import React from 'react'; import { getIntrospectionQuery, buildClientSchema } from 'graphql'; -import GraphiQLExplorer from 'graphiql-explorer-hasura'; +import GraphiQLExplorer from 'graphiql-explorer'; import { makeDefaultArg, diff --git a/console/src/components/Services/ApiExplorer/OneGraphExplorer/utils.js b/console/src/components/Services/ApiExplorer/OneGraphExplorer/utils.js index de83f14ac1e96..9f6b8bf9ca28d 100644 --- a/console/src/components/Services/ApiExplorer/OneGraphExplorer/utils.js +++ b/console/src/components/Services/ApiExplorer/OneGraphExplorer/utils.js @@ -1,4 +1,4 @@ -import GraphiQLExplorer from 'graphiql-explorer-hasura'; +import GraphiQLExplorer from 'graphiql-explorer'; export const makeDefaultArg = () => { return false; From c89a19c335a068c0fc6260eeb1cbdb73357f23b4 Mon Sep 17 00:00:00 2001 From: Rishichandra Wawhal Date: Thu, 3 Oct 2019 13:17:19 +0530 Subject: [PATCH 2/2] update onegraph explorer in graphiql online --- community/tools/graphiql-online/package-lock.json | 8 ++++---- community/tools/graphiql-online/package.json | 2 +- .../ApiExplorer/OneGraphExplorer/OneGraphExplorer.js | 2 +- .../Services/ApiExplorer/OneGraphExplorer/utils.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/community/tools/graphiql-online/package-lock.json b/community/tools/graphiql-online/package-lock.json index 8979479eee0e6..67fa8c1d37939 100644 --- a/community/tools/graphiql-online/package-lock.json +++ b/community/tools/graphiql-online/package-lock.json @@ -6700,10 +6700,10 @@ } } }, - "graphiql-explorer-hasura": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/graphiql-explorer-hasura/-/graphiql-explorer-hasura-0.0.7.tgz", - "integrity": "sha512-caF9QDQ3Cc1WHWkJLDu0z/f1WN4FUiCqdm4lAMhHDYPpWZj3Cj4arOtalUjZo7dLav8cpLxkxYDmxQGWlziGuQ==" + "graphiql-explorer": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/graphiql-explorer/-/graphiql-explorer-0.4.4.tgz", + "integrity": "sha512-NuQ1XAjZwykKb9GoHM6ofI9qITZ8Lue/mXi1Bj3/ZbGZv1Srk3sz0QkKQ5jBaxmuS3Ay09LRvJQSOr0Ci1dlfg==" }, "graphql": { "version": "14.3.0", diff --git a/community/tools/graphiql-online/package.json b/community/tools/graphiql-online/package.json index 0a64b86c124d3..81e02637a09cc 100644 --- a/community/tools/graphiql-online/package.json +++ b/community/tools/graphiql-online/package.json @@ -43,7 +43,7 @@ "apollo-link": "^1.2.2", "apollo-link-ws": "^1.0.8", "graphiql": "^0.13.2", - "graphiql-explorer-hasura": "0.0.7", + "graphiql-explorer": "0.4.4", "graphql": "^14.3.0", "graphql-voyager": "^1.0.0-rc.27", "hasura-console-graphiql": "0.1.0-alpha.1", diff --git a/community/tools/graphiql-online/src/components/Services/ApiExplorer/OneGraphExplorer/OneGraphExplorer.js b/community/tools/graphiql-online/src/components/Services/ApiExplorer/OneGraphExplorer/OneGraphExplorer.js index 17c85503667a3..18d47a62f89d8 100644 --- a/community/tools/graphiql-online/src/components/Services/ApiExplorer/OneGraphExplorer/OneGraphExplorer.js +++ b/community/tools/graphiql-online/src/components/Services/ApiExplorer/OneGraphExplorer/OneGraphExplorer.js @@ -1,7 +1,7 @@ import React from 'react'; import { getIntrospectionQuery, buildClientSchema } from 'graphql'; -import GraphiQLExplorer from 'graphiql-explorer-hasura'; +import GraphiQLExplorer from 'graphiql-explorer'; import { makeDefaultArg, diff --git a/community/tools/graphiql-online/src/components/Services/ApiExplorer/OneGraphExplorer/utils.js b/community/tools/graphiql-online/src/components/Services/ApiExplorer/OneGraphExplorer/utils.js index de83f14ac1e96..9f6b8bf9ca28d 100644 --- a/community/tools/graphiql-online/src/components/Services/ApiExplorer/OneGraphExplorer/utils.js +++ b/community/tools/graphiql-online/src/components/Services/ApiExplorer/OneGraphExplorer/utils.js @@ -1,4 +1,4 @@ -import GraphiQLExplorer from 'graphiql-explorer-hasura'; +import GraphiQLExplorer from 'graphiql-explorer'; export const makeDefaultArg = () => { return false;