From 43503beffac5cac3a7bb953be79db5da66be25c6 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 29 May 2018 11:36:41 +0000 Subject: [PATCH 1/2] chore(deps): update dependency @types/graphql to v0.13.1 --- packages/apollo-boost/package.json | 2 +- packages/apollo-cache-inmemory/package.json | 2 +- packages/apollo-cache/package.json | 2 +- packages/apollo-client/package.json | 2 +- packages/apollo-utilities/package.json | 2 +- packages/graphql-anywhere/package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/apollo-boost/package.json b/packages/apollo-boost/package.json index dbe6e775774..2447bcb8c35 100644 --- a/packages/apollo-boost/package.json +++ b/packages/apollo-boost/package.json @@ -43,7 +43,7 @@ "graphql-tag": "^2.4.2" }, "devDependencies": { - "@types/graphql": "0.12.7", + "@types/graphql": "0.13.1", "@types/jest": "22.2.3", "apollo-cache": "^1.1.8", "apollo-utilities": "^1.0.12", diff --git a/packages/apollo-cache-inmemory/package.json b/packages/apollo-cache-inmemory/package.json index 341aa741244..654e1ee1d9b 100644 --- a/packages/apollo-cache-inmemory/package.json +++ b/packages/apollo-cache-inmemory/package.json @@ -48,7 +48,7 @@ "graphql": "0.11.7 || ^0.12.0 || ^0.13.0" }, "devDependencies": { - "@types/graphql": "0.12.7", + "@types/graphql": "0.13.1", "@types/jest": "22.2.3", "@types/lodash": "4.14.109", "browserify": "15.2.0", diff --git a/packages/apollo-cache/package.json b/packages/apollo-cache/package.json index 91860a9fbb6..584c024c8f7 100644 --- a/packages/apollo-cache/package.json +++ b/packages/apollo-cache/package.json @@ -42,7 +42,7 @@ "apollo-utilities": "^1.0.12" }, "devDependencies": { - "@types/graphql": "0.12.7", + "@types/graphql": "0.13.1", "@types/jest": "22.2.3", "browserify": "15.2.0", "graphql": "0.13.2", diff --git a/packages/apollo-client/package.json b/packages/apollo-client/package.json index aa2c379717d..1d4664db151 100644 --- a/packages/apollo-client/package.json +++ b/packages/apollo-client/package.json @@ -59,7 +59,7 @@ }, "devDependencies": { "@types/benchmark": "1.0.31", - "@types/graphql": "0.12.7", + "@types/graphql": "0.13.1", "@types/isomorphic-fetch": "0.0.34", "@types/jest": "22.2.3", "@types/lodash": "4.14.109", diff --git a/packages/apollo-utilities/package.json b/packages/apollo-utilities/package.json index ab4956aae93..8f93e8654cd 100644 --- a/packages/apollo-utilities/package.json +++ b/packages/apollo-utilities/package.json @@ -39,7 +39,7 @@ "filesize": "npm run build && npm run build:browser" }, "devDependencies": { - "@types/graphql": "0.12.7", + "@types/graphql": "0.13.1", "@types/jest": "22.2.3", "@types/lodash": "4.14.109", "@types/node": "10.1.3", diff --git a/packages/graphql-anywhere/package.json b/packages/graphql-anywhere/package.json index dd99ac35de4..99099b0ec8c 100644 --- a/packages/graphql-anywhere/package.json +++ b/packages/graphql-anywhere/package.json @@ -42,7 +42,7 @@ "apollo-utilities": "^1.0.12" }, "devDependencies": { - "@types/graphql": "0.12.7", + "@types/graphql": "0.13.1", "@types/isomorphic-fetch": "0.0.34", "@types/jest": "22.2.3", "@types/lodash": "4.14.109", From 9ccfd6e1e85eaab0627ad96cb44ca09bc35092eb Mon Sep 17 00:00:00 2001 From: Hugh Willson Date: Fri, 1 Jun 2018 11:32:50 -0400 Subject: [PATCH 2/2] Pin `@types/graphql` to 0.12.x to workaround readonly constraints `@types/graphql` 0.13.x now configure the graphql AST as `readonly`. Apollo Client is updating the AST in several places, which means we can't use the new typings yet. We're going to revisit the approach Apollo Client uses to updated the AST, but in the meantime we're pinning `@types/graphql` to a version that allows AST updates. --- packages/apollo-boost/package.json | 2 +- packages/apollo-cache-inmemory/package.json | 2 +- packages/apollo-cache/package.json | 2 +- packages/apollo-client/package.json | 2 +- packages/apollo-utilities/package.json | 2 +- packages/graphql-anywhere/package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/apollo-boost/package.json b/packages/apollo-boost/package.json index a09ef5c5e79..ae21c63d08b 100644 --- a/packages/apollo-boost/package.json +++ b/packages/apollo-boost/package.json @@ -43,7 +43,7 @@ "graphql-tag": "^2.4.2" }, "devDependencies": { - "@types/graphql": "0.13.1", + "@types/graphql": "~0.12.0", "@types/jest": "22.2.3", "apollo-cache": "^1.1.9", "apollo-utilities": "^1.0.13", diff --git a/packages/apollo-cache-inmemory/package.json b/packages/apollo-cache-inmemory/package.json index c837cb2b507..fca1357452f 100644 --- a/packages/apollo-cache-inmemory/package.json +++ b/packages/apollo-cache-inmemory/package.json @@ -48,7 +48,7 @@ "graphql": "0.11.7 || ^0.12.0 || ^0.13.0" }, "devDependencies": { - "@types/graphql": "0.13.1", + "@types/graphql": "~0.12.0", "@types/jest": "22.2.3", "@types/lodash": "4.14.109", "browserify": "15.2.0", diff --git a/packages/apollo-cache/package.json b/packages/apollo-cache/package.json index ad7fd3b7a8b..8c0e689b9d1 100644 --- a/packages/apollo-cache/package.json +++ b/packages/apollo-cache/package.json @@ -42,7 +42,7 @@ "apollo-utilities": "^1.0.13" }, "devDependencies": { - "@types/graphql": "0.13.1", + "@types/graphql": "~0.12.0", "@types/jest": "22.2.3", "browserify": "15.2.0", "graphql": "0.13.2", diff --git a/packages/apollo-client/package.json b/packages/apollo-client/package.json index 59330d38626..cf264230dfc 100644 --- a/packages/apollo-client/package.json +++ b/packages/apollo-client/package.json @@ -59,7 +59,7 @@ }, "devDependencies": { "@types/benchmark": "1.0.31", - "@types/graphql": "0.13.1", + "@types/graphql": "~0.12.0", "@types/isomorphic-fetch": "0.0.34", "@types/jest": "22.2.3", "@types/lodash": "4.14.109", diff --git a/packages/apollo-utilities/package.json b/packages/apollo-utilities/package.json index da17b1d939e..18d014903c0 100644 --- a/packages/apollo-utilities/package.json +++ b/packages/apollo-utilities/package.json @@ -39,7 +39,7 @@ "filesize": "npm run build && npm run build:browser" }, "devDependencies": { - "@types/graphql": "0.13.1", + "@types/graphql": "~0.12.0", "@types/jest": "22.2.3", "@types/lodash": "4.14.109", "@types/node": "10.1.3", diff --git a/packages/graphql-anywhere/package.json b/packages/graphql-anywhere/package.json index baf0497372b..ccb36ad246a 100644 --- a/packages/graphql-anywhere/package.json +++ b/packages/graphql-anywhere/package.json @@ -42,7 +42,7 @@ "apollo-utilities": "^1.0.13" }, "devDependencies": { - "@types/graphql": "0.13.1", + "@types/graphql": "~0.12.0", "@types/isomorphic-fetch": "0.0.34", "@types/jest": "22.2.3", "@types/lodash": "4.14.109",