Skip to content

Commit

Permalink
feat(deps): GraphQL 15 support; upgrade engine (#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Nov 18, 2020
1 parent 8436a2c commit eb1d1a6
Show file tree
Hide file tree
Showing 8 changed files with 13,025 additions and 12,919 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -60,8 +60,8 @@
"commander": "^2.19.0",
"debug": "^4.1.1",
"finalhandler": "^1.0.6",
"graphile-utils": "^4.9.2",
"graphql": "^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.2",
"graphile-utils": "^4.10.0",
"graphql": "^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.2 || ^15.0.0",
"http-errors": "^1.5.1",
"iterall": "^1.0.2",
"json5": "^2.1.1",
Expand All @@ -70,7 +70,7 @@
"pg": ">=6.1.0 <9",
"pg-connection-string": "^2.0.0",
"pg-sql2": "4.9.0",
"postgraphile-core": "4.9.2",
"postgraphile-core": "4.10.0",
"subscriptions-transport-ws": "^0.9.15",
"tslib": "^2.0.1",
"ws": "^6.1.3"
Expand Down
2 changes: 1 addition & 1 deletion postgraphiql/package.json
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"graphiql": "^1.0.6",
"graphiql-explorer": "^0.6.1",
"graphql": "^14.5.8",
"graphql": "^15.4.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "^3.0.0"
Expand Down
4 changes: 2 additions & 2 deletions postgraphiql/src/components/PostGraphiQL.js
Expand Up @@ -4,7 +4,7 @@ import { getOperationAST, parse } from 'graphql';
import GraphiQLExplorer from 'graphiql-explorer';
import StorageAPI from 'graphiql/dist/utility/StorageAPI';
import './postgraphiql.css';
import { buildClientSchema, introspectionQuery, isType, GraphQLObjectType } from 'graphql';
import { buildClientSchema, getIntrospectionQuery, isType, GraphQLObjectType } from 'graphql';
import { SubscriptionClient } from 'subscriptions-transport-ws';
import formatSQL from '../formatSQL';

Expand Down Expand Up @@ -357,7 +357,7 @@ class PostGraphiQL extends React.PureComponent {
try {
// Fetch the schema using our introspection query and report once that has
// finished.
const { data } = await this.executeQuery({ query: introspectionQuery });
const { data } = await this.executeQuery({ query: getIntrospectionQuery() });

// Use the data we got back from GraphQL to build a client schema (a
// schema without resolvers).
Expand Down
15 changes: 4 additions & 11 deletions postgraphiql/yarn.lock
Expand Up @@ -4867,12 +4867,10 @@ graphql-language-service-utils@^2.4.3:
dependencies:
graphql-language-service-types "^1.6.3"

graphql@^14.5.8:
version "14.7.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.7.0.tgz#7fa79a80a69be4a31c27dda824dc04dac2035a72"
integrity sha512-l0xWZpoPKpppFzMfvVyFmp9vLN7w/ZZJPefUicMCepfJeQ8sMcztloGYY9DfjVPo6tIUDzU5Hw3MUbIjj9AVVA==
dependencies:
iterall "^1.2.2"
graphql@^15.4.0:
version "15.4.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.4.0.tgz#e459dea1150da5a106486ba7276518b5295a4347"
integrity sha512-EB3zgGchcabbsU9cFe1j+yxdzKQKAbGUWRb13DsrsMN1yyfmmIq+2+L5MqVWcDCE4V89R5AyUOi7sMOGxdsYtA==

growly@^1.3.0:
version "1.3.0"
Expand Down Expand Up @@ -5742,11 +5740,6 @@ istanbul-reports@^2.2.6:
dependencies:
html-escaper "^2.0.0"

iterall@^1.2.2:
version "1.3.0"
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.3.0.tgz#afcb08492e2915cbd8a0884eb93a8c94d0d72fea"
integrity sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==

jest-changed-files@^24.9.0:
version "24.9.0"
resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-24.9.0.tgz#08d8c15eb79a7fa3fc98269bc14b451ee82f8039"
Expand Down

0 comments on commit eb1d1a6

Please sign in to comment.