From 24412a6fd98ec450579f42b4fca3173494b64520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Brauer?= Date: Wed, 19 Jan 2022 13:29:58 +0000 Subject: [PATCH] fix: pin @apollo/client to 3.4.17 due to SSR bug in useLazyQuery https://github.com/apollographql/apollo-client/issues/9108 --- packages/graphql/package.json | 2 +- packages/react-apollo/package.json | 2 +- packages/spec/package.json | 2 +- packages/template-graphql/package.json | 2 +- yarn.lock | 12 ++++++------ 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 9fba810ce4..dc0e7e274f 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -32,7 +32,7 @@ "react-router-dom": "^5.1.0" }, "devDependencies": { - "@apollo/client": "^3.3.19", + "@apollo/client": "3.4.17", "react": "^17.0.2", "react-dom": "^17.0.2", "react-helmet-async": "^1.0.9", diff --git a/packages/react-apollo/package.json b/packages/react-apollo/package.json index 55951a8158..06c06cd68b 100644 --- a/packages/react-apollo/package.json +++ b/packages/react-apollo/package.json @@ -23,7 +23,7 @@ "displayName": "unit" }, "dependencies": { - "@apollo/client": "^3.3.19", + "@apollo/client": "3.4.17", "@graphql-tools/schema": "^8.0.0", "cross-fetch": "^3.0.4", "find-up": "^5.0.0", diff --git a/packages/spec/package.json b/packages/spec/package.json index 9aa63d4563..a701ca0f94 100644 --- a/packages/spec/package.json +++ b/packages/spec/package.json @@ -28,7 +28,7 @@ "node": "14 || 16" }, "devDependencies": { - "@apollo/client": "^3.3.19", + "@apollo/client": "3.4.17", "@graphql-tools/delegate": "^8.0.0", "@graphql-tools/mock": "^8.0.0", "@graphql-tools/schema": "^8.0.0", diff --git a/packages/template-graphql/package.json b/packages/template-graphql/package.json index 216c6a3ec9..4b463057c8 100644 --- a/packages/template-graphql/package.json +++ b/packages/template-graphql/package.json @@ -14,7 +14,7 @@ "serve": "hops serve" }, "dependencies": { - "@apollo/client": "^3.3.11", + "@apollo/client": "3.4.17", "hops": "16.0.0-nightly.1", "hops-postcss": "16.0.0-nightly.1", "hops-react-apollo": "16.0.0-nightly.1", diff --git a/yarn.lock b/yarn.lock index f98df62c1c..3acc83caa6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@apollo/client@^3.3.11", "@apollo/client@^3.3.19": - version "3.4.9" - resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.4.9.tgz#78d0decf8371b768f97c721d1b71c96260bac4db" - integrity sha512-1AlYjRJ/ktDApEUEP2DqHI38tqSyhSlsF/Q3fFb/aCbLHQfcSZ1dCv7ZlC9UXRyDwQYc0w23gYJ7wZde6W8P4A== +"@apollo/client@3.4.17": + version "3.4.17" + resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.4.17.tgz#4972e19a49809e16d17c5adc67f45623a6dac135" + integrity sha512-MDt2rwMX1GqodiVEKJqmDmAz8xr0qJmq5PdWeIt0yDaT4GOkKYWZiWkyfhfv3raTk8PyJvbsNG9q2CqmUrlGfg== dependencies: "@graphql-typed-document-node/core" "^3.0.0" "@wry/context" "^0.6.0" @@ -18,7 +18,7 @@ symbol-observable "^4.0.0" ts-invariant "^0.9.0" tslib "^2.3.0" - zen-observable-ts "^1.1.0" + zen-observable-ts "~1.1.0" "@apollo/protobufjs@1.2.2": version "1.2.2" @@ -13508,7 +13508,7 @@ zen-observable-ts@^0.8.21: tslib "^1.9.3" zen-observable "^0.8.0" -zen-observable-ts@^1.1.0: +zen-observable-ts@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-1.1.0.tgz#2d1aa9d79b87058e9b75698b92791c1838551f83" integrity sha512-1h4zlLSqI2cRLPJUHJFL8bCWHhkpuXkF+dbGkRaWjgDIG26DmzyshUMrdV/rL3UnR+mhaX4fRq8LPouq0MYYIA==