diff --git a/packages/client/package.json b/packages/client/package.json index b23a4f13825..87b9d4e8650 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -49,7 +49,7 @@ "@types/styled-components": "^5.1.3", "@types/xregexp": "^3.0.29", "@vitejs/plugin-react": "^4.2.1", - "apollo3-cache-persist": "^0.14.1", + "apollo3-cache-persist": "^0.15.0", "bcryptjs": "^2.4.3", "bowser": "^2.11.0", "browser-image-compression": "^1.0.6", diff --git a/packages/gateway/package.json b/packages/gateway/package.json index e5bddb313d7..183d934c585 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -31,7 +31,7 @@ "@types/archiver": "^3.0.0", "@types/flat": "^0.0.28", "@types/uuid-validate": "^0.0.3", - "apollo-datasource-rest": "^3.7.0", + "@apollo/datasource-rest": "^4.0.0", "apollo-server-hapi": "^3.5.0", "app-module-path": "^2.2.0", "archiver": "^3.1.1", diff --git a/yarn.lock b/yarn.lock index 58759998a61..9e4126fe6a8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -57,24 +57,35 @@ z-schema "^5.0.1" "@apollo/client@^3.7.0": - version "3.8.6" - resolved "https://registry.npmjs.org/@apollo/client/-/client-3.8.6.tgz" - integrity sha512-FnHg3vhQP8tQzgBs6oTJCFFIbovelDGYujj6MK7CJneiHf62TJstCIO0Ot4A1h7XrgFEtgl8a/OgajQWqrTuYw== + version "3.11.8" + resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.11.8.tgz#f6bacdc7e1b243807c1387113e1d445a53471a9c" + integrity sha512-CgG1wbtMjsV2pRGe/eYITmV5B8lXUCYljB2gB/6jWTFQcrvirUVvKg7qtFdjYkQSFbIffU1IDyxgeaN81eTjbA== dependencies: "@graphql-typed-document-node/core" "^3.1.1" - "@wry/context" "^0.7.3" + "@wry/caches" "^1.0.0" "@wry/equality" "^0.5.6" - "@wry/trie" "^0.4.3" + "@wry/trie" "^0.5.0" graphql-tag "^2.12.6" hoist-non-react-statics "^3.3.2" - optimism "^0.17.5" + optimism "^0.18.0" prop-types "^15.7.2" + rehackt "^0.1.0" response-iterator "^0.2.6" symbol-observable "^4.0.0" ts-invariant "^0.10.3" tslib "^2.3.0" zen-observable-ts "^1.2.5" +"@apollo/datasource-rest@^4.0.0": + version "4.3.2" + resolved "https://registry.yarnpkg.com/@apollo/datasource-rest/-/datasource-rest-4.3.2.tgz#ba0c13500f733fc14729eadba1d2db77a2e2d0a4" + integrity sha512-qTilJGy5CnqVOvyhkK8hzcCY+Hr8UaY3EgCbKQqlxO1yxp75qGtGapLhQMC/h578V8MYR773t/kLYnQe5eJg/w== + dependencies: + "@apollo/utils.fetcher" "^1.0.0" + "@apollo/utils.keyvaluecache" "1.0.1" + http-cache-semantics "^4.1.0" + node-fetch "^2.6.7" + "@apollo/protobufjs@1.2.6": version "1.2.6" resolved "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.2.6.tgz" @@ -124,6 +135,19 @@ resolved "https://registry.npmjs.org/@apollo/utils.dropunuseddefinitions/-/utils.dropunuseddefinitions-1.1.0.tgz" integrity sha512-jU1XjMr6ec9pPoL+BFWzEPW7VHHulVdGKMkPAMiCigpVIT11VmCbnij0bWob8uS3ODJ65tZLYKAh/55vLw2rbg== +"@apollo/utils.fetcher@^1.0.0": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@apollo/utils.fetcher/-/utils.fetcher-1.1.1.tgz#909974d9c98fdd0ad64808596860a11cbb2a6afa" + integrity sha512-0vXVznO7kw5VWwxyV5wsDvYEwjDpyZ7vYQAXCseLXqBn2eWEIDViM7qRzi/Hnv4zzAQ05phdimSED99K+lg+SQ== + +"@apollo/utils.keyvaluecache@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@apollo/utils.keyvaluecache/-/utils.keyvaluecache-1.0.1.tgz#46f310f859067efe9fa126156c6954f8381080d2" + integrity sha512-nLgYLomqjVimEzQ4cdvVQkcryi970NDvcRVPfd0OPeXhBfda38WjBq+WhQFk+czSHrmrSp34YHBxpat0EtiowA== + dependencies: + "@apollo/utils.logger" "^1.0.0" + lru-cache "^7.10.1" + "@apollo/utils.keyvaluecache@^1.0.1": version "1.0.2" resolved "https://registry.npmjs.org/@apollo/utils.keyvaluecache/-/utils.keyvaluecache-1.0.2.tgz" @@ -9281,7 +9305,14 @@ object.fromentries "^2.0.0" prop-types "^15.7.0" -"@wry/context@^0.7.0", "@wry/context@^0.7.3": +"@wry/caches@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@wry/caches/-/caches-1.0.1.tgz#8641fd3b6e09230b86ce8b93558d44cf1ece7e52" + integrity sha512-bXuaUNLVVkD20wcGBWRyo7j9N3TxePEWFZj2Y+r9OoUzfqmavM84+mFykRicNsBqatba5JLay1t48wxaXaWnlA== + dependencies: + tslib "^2.3.0" + +"@wry/context@^0.7.0": version "0.7.3" resolved "https://registry.npmjs.org/@wry/context/-/context-0.7.3.tgz" integrity sha512-Nl8WTesHp89RF803Se9X3IiHjdmLBrIvPMaJkl+rKVJAYyPsz1TEUbu89943HpvujtSJgDUx9W4vZw3K1Mr3sA== @@ -9309,6 +9340,13 @@ dependencies: tslib "^2.3.0" +"@wry/trie@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@wry/trie/-/trie-0.5.0.tgz#11e783f3a53f6e4cd1d42d2d1323f5bc3fa99c94" + integrity sha512-FNoYzHawTMk/6KMQoEG5O4PuioX19UbwdQKF44yw0nLfOypfQdjtfZzo/UIJWAJ23sNIFbD1Ug9lbaDGMwbqQA== + dependencies: + tslib "^2.3.0" + "@xmldom/xmldom@^0.8.3": version "0.8.10" resolved "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz" @@ -9646,17 +9684,6 @@ anymatch@^3.0.3, anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" -apollo-datasource-rest@^3.7.0: - version "3.7.0" - resolved "https://registry.npmjs.org/apollo-datasource-rest/-/apollo-datasource-rest-3.7.0.tgz" - integrity sha512-MeORtXZtc9drAvsarAGAUI4GZKoYFVc1OXIvehIZ/6pJrOdKGziGbraos2s/A+u8mpNPfbpk7W6f7uKtmwV0AA== - dependencies: - "@apollo/utils.keyvaluecache" "^1.0.1" - apollo-datasource "^3.3.2" - apollo-server-env "^4.2.1" - apollo-server-errors "^3.3.1" - http-cache-semantics "^4.1.0" - apollo-datasource@^3.3.2: version "3.3.2" resolved "https://registry.npmjs.org/apollo-datasource/-/apollo-datasource-3.3.2.tgz" @@ -9682,10 +9709,10 @@ apollo-reporting-protobuf@^3.4.0: dependencies: "@apollo/protobufjs" "1.2.6" -apollo-server-core@^3.12.1: - version "3.12.1" - resolved "https://registry.npmjs.org/apollo-server-core/-/apollo-server-core-3.12.1.tgz" - integrity sha512-9SF5WAkkV0FZQ2HVUWI9Jada1U0jg7e8NCN9EklbtvaCeUlOLyXyM+KCWuZ7+dqHxjshbtcwylPHutt3uzoNkw== +apollo-server-core@^3.13.0: + version "3.13.0" + resolved "https://registry.yarnpkg.com/apollo-server-core/-/apollo-server-core-3.13.0.tgz#ad6601fbb34cc97eedca27a9fb0b5738d11cd27d" + integrity sha512-v/g6DR6KuHn9DYSdtQijz8dLOkP78I5JSVJzPkARhDbhpH74QNwrQ2PP2URAPPEDJ2EeZNQDX8PvbYkAKqg+kg== dependencies: "@apollo/utils.keyvaluecache" "^1.0.1" "@apollo/utils.logger" "^1.0.0" @@ -9724,13 +9751,13 @@ apollo-server-errors@^3.3.1: integrity sha512-xnZJ5QWs6FixHICXHxUfm+ZWqqxrNuPlQ+kj5m6RtEgIpekOPssH/SD9gf2B4HuWV0QozorrygwZnux8POvyPA== apollo-server-hapi@^3.5.0: - version "3.12.1" - resolved "https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.12.1.tgz" - integrity sha512-Eit0LCgDYDdkzkNQjLlNDVR7E2sUanvah33cvHwTYxR7/cyW/9szHC6lA/ZfGiGcccMXiJmatkBZ0tvk0UCpew== + version "3.13.0" + resolved "https://registry.yarnpkg.com/apollo-server-hapi/-/apollo-server-hapi-3.13.0.tgz#672f2be8e8f0eadf30a016f6d67023b7c19720e1" + integrity sha512-C0QOx8liYvKnKfA4vajJ3y/xv7RstgR4g3aTa8K4M0v0GSOF0xEjksHQAlE5trXjE8dnhln1TfG8zaUmjQdsJA== dependencies: "@hapi/accept" "^5.0.2" "@hapi/boom" "^9.1.2" - apollo-server-core "^3.12.1" + apollo-server-core "^3.13.0" apollo-server-types "^3.8.0" apollo-server-plugin-base@^3.7.2: @@ -9760,10 +9787,10 @@ apollo-utilities@^1.0.1, apollo-utilities@^1.3.0: ts-invariant "^0.4.0" tslib "^1.10.0" -apollo3-cache-persist@^0.14.1: - version "0.14.1" - resolved "https://registry.npmjs.org/apollo3-cache-persist/-/apollo3-cache-persist-0.14.1.tgz" - integrity sha512-p/jNzN/MmSd0TmY7/ts0B3qi0SdQ3w9yNLQdKqB3GGb9xATUlAum2v4hSrTeWd/DZKK2Z7Xg5kFXTH6nNVnKSQ== +apollo3-cache-persist@^0.15.0: + version "0.15.0" + resolved "https://registry.yarnpkg.com/apollo3-cache-persist/-/apollo3-cache-persist-0.15.0.tgz#aee23062bc811f3bc15369b850002f54195a6572" + integrity sha512-asxhPOHGddgXYvY4/Wa+XLODYpjci/kPB4zdy82D0tVGzVmvO4lqp3k06NtzHvd//gd9kCnTaG8iziwAcXZYjw== app-module-path@^2.2.0: version "2.2.0" @@ -18066,7 +18093,7 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -lru-cache@^7.5.1, lru-cache@^7.7.1: +lru-cache@^7.10.1, lru-cache@^7.5.1, lru-cache@^7.7.1: version "7.18.3" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz" integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== @@ -19616,11 +19643,12 @@ opener@^1.5.1: resolved "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz" integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== -optimism@^0.17.5: - version "0.17.5" - resolved "https://registry.npmjs.org/optimism/-/optimism-0.17.5.tgz" - integrity sha512-TEcp8ZwK1RczmvMnvktxHSF2tKgMWjJ71xEFGX5ApLh67VsMSTy1ZUlipJw8W+KaqgOmQ+4pqwkeivY89j+4Vw== +optimism@^0.18.0: + version "0.18.0" + resolved "https://registry.yarnpkg.com/optimism/-/optimism-0.18.0.tgz#e7bb38b24715f3fdad8a9a7fc18e999144bbfa63" + integrity sha512-tGn8+REwLRNFnb9WmcY5IfpOqeX2kpaYJ1s6Ae3mn12AeydLkR3j+jSCmVQFoXqU8D41PAJ1RG1rCRNWmNZVmQ== dependencies: + "@wry/caches" "^1.0.0" "@wry/context" "^0.7.0" "@wry/trie" "^0.4.3" tslib "^2.3.0" @@ -21550,6 +21578,11 @@ regjsparser@^0.9.1: dependencies: jsesc "~0.5.0" +rehackt@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/rehackt/-/rehackt-0.1.0.tgz#a7c5e289c87345f70da8728a7eb878e5d03c696b" + integrity sha512-7kRDOuLHB87D/JESKxQoRwv4DzbIdwkAGQ7p6QKGdVlY1IZheUnVhlk/4UZlNUVxdAXpyxikE3URsG067ybVzw== + relative-microtime@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/relative-microtime/-/relative-microtime-2.0.0.tgz"