diff --git a/packages/apollo/package.json b/packages/apollo/package.json index 3de5f3817e..b68e6fb908 100644 --- a/packages/apollo/package.json +++ b/packages/apollo/package.json @@ -22,10 +22,10 @@ "url": "https://github.com/nestjs/graphql/issues" }, "devDependencies": { - "@apollo/gateway": "2.3.3", - "@apollo/server": "4.9.3", - "@apollo/server-plugin-response-cache": "4.1.0", - "@apollo/subgraph": "2.2.3", + "@apollo/gateway": "2.8.2", + "@apollo/server": "4.10.4", + "@apollo/server-plugin-response-cache": "4.1.3", + "@apollo/subgraph": "2.8.2", "@as-integrations/fastify": "2.1.1", "@nestjs/common": "10.2.10", "@nestjs/core": "10.2.10", @@ -37,7 +37,7 @@ "apollo-link-ws": "1.0.20" }, "dependencies": { - "@apollo/server-plugin-landing-page-graphql-playground": "4.0.0", + "@apollo/server-plugin-landing-page-graphql-playground": "4.0.1", "iterall": "1.3.0", "lodash.omit": "4.5.0", "tslib": "2.6.2" diff --git a/packages/graphql/package.json b/packages/graphql/package.json index abe0cfcaf2..26bb0da369 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -34,7 +34,7 @@ "ws": "8.16.0" }, "devDependencies": { - "@apollo/subgraph": "2.2.3", + "@apollo/subgraph": "2.8.2", "@nestjs/common": "10.2.10", "@nestjs/core": "10.2.10", "@nestjs/testing": "10.2.10", diff --git a/yarn.lock b/yarn.lock index 28c836bb39..763d21edc0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20,52 +20,44 @@ resolved "https://registry.yarnpkg.com/@apollo/cache-control-types/-/cache-control-types-1.0.3.tgz#5da62cf64c3b4419dabfef4536b57a40c8ff0b47" integrity sha512-F17/vCp7QVwom9eG7ToauIKdAxpSoadsJnqIfyryLFSkLSOEqu+eC5Z3N8OXcUVStuOMcNHlyraRsA6rRICu4g== -"@apollo/composition@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@apollo/composition/-/composition-2.3.3.tgz#98655806bd7028c97839c89c40eb3527537aafcc" - integrity sha512-Jx1F7IvjErM1HZ7I6NFQ667O9IAAfnVqzhpom/Z++pyeot5OsMqsunAQTRj57WyX/W9eZ/DCjlEH/G7S7SEdBQ== +"@apollo/composition@2.8.2": + version "2.8.2" + resolved "https://registry.yarnpkg.com/@apollo/composition/-/composition-2.8.2.tgz#cd699ca5960bfe6d590a0bfc9dd94594f89fd116" + integrity sha512-Jfl4ulTp42hCfs1B59uZLF78LMLv0ZE3MjgUlm0ou14O0hhXuVfc5tIoTBr6vyoPy/O7UwA7/p2KXsJ+pqaY9Q== dependencies: - "@apollo/federation-internals" "2.3.3" - "@apollo/query-graphs" "2.3.3" + "@apollo/federation-internals" "2.8.2" + "@apollo/query-graphs" "2.8.2" -"@apollo/federation-internals@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.3.3.tgz#10663c0936fab24e66e3e3896aae91ccbeef4e89" - integrity sha512-QzqgwQ57ZsvzExCo/dMxZL38E2cALXkn6fG93c89VPwo+4Kpo87I7DNDJgYVDSYzNosemW9ya1jGFRvwjyfQMw== - dependencies: - chalk "^4.1.0" - js-levenshtein "^1.1.6" - -"@apollo/federation-internals@^2.2.3": - version "2.4.8" - resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.4.8.tgz#2bd8281a5224168c893f1b485269d435951dee68" - integrity sha512-P+lmrP7WJTLMKvcPCBimc5ABgaCxMup5r6MXzZ59N32xsOjD+kvQHEhtiZb368/a833VhiDbIh8ytCMeyBvwFA== +"@apollo/federation-internals@2.8.2": + version "2.8.2" + resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.8.2.tgz#263f6b6a79a2c422dbf5fbd58ed2e461f015bbe5" + integrity sha512-EtHUF5Tcf2SHxRcWtchjT6Rqgp2jNYronoV/ynDvULIRl+U8Nvh1a3IgqTskWanyP/KGnYyRamk5x2DBQfxztg== dependencies: "@types/uuid" "^9.0.0" chalk "^4.1.0" js-levenshtein "^1.1.6" uuid "^9.0.0" -"@apollo/gateway@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@apollo/gateway/-/gateway-2.3.3.tgz#4739ecd55828c53a615a70e63cebf0be961d648d" - integrity sha512-c/bI5D/cVfizzMZgq3d3pQ7NkeoFNMhgFjPGlybc1Cs48SpYhA/KMqLpZifZyQC2QOA1hH/GdPbaa11e49elmw== +"@apollo/gateway@2.8.2": + version "2.8.2" + resolved "https://registry.yarnpkg.com/@apollo/gateway/-/gateway-2.8.2.tgz#fd1ff8b0fb47e4b7509176ce12af79dada04e054" + integrity sha512-0B5hpimiY9MYcSwm8RHEsyial0MUIdlXYQJpWQ0/xIfFb7zfMIrBNSrdf/CFxouehO+imR26TrOx0X7XyImKLQ== dependencies: - "@apollo/composition" "2.3.3" - "@apollo/federation-internals" "2.3.3" - "@apollo/query-planner" "2.3.3" + "@apollo/composition" "2.8.2" + "@apollo/federation-internals" "2.8.2" + "@apollo/query-planner" "2.8.2" "@apollo/server-gateway-interface" "^1.1.0" - "@apollo/usage-reporting-protobuf" "^4.0.0" + "@apollo/usage-reporting-protobuf" "^4.1.0" "@apollo/utils.createhash" "^2.0.0" "@apollo/utils.fetcher" "^2.0.0" "@apollo/utils.isnodelike" "^2.0.0" + "@apollo/utils.keyvaluecache" "^2.1.0" "@apollo/utils.logger" "^2.0.0" "@josephg/resolvable" "^1.0.1" "@opentelemetry/api" "^1.0.1" "@types/node-fetch" "^2.6.2" async-retry "^1.3.3" loglevel "^1.6.1" - lru-cache "^7.13.1" make-fetch-happen "^11.0.0" node-abort-controller "^3.0.1" node-fetch "^2.6.7" @@ -88,23 +80,24 @@ "@types/long" "^4.0.0" long "^4.0.0" -"@apollo/query-graphs@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@apollo/query-graphs/-/query-graphs-2.3.3.tgz#229a470189686d38445b918741dcdd5fe032c3c1" - integrity sha512-yORR+BbeS7wWxU7GQsJO3oNG0mzsjDHSicJcCVC9kCuW5PqNvPwrtpTlTFrJzukbD2mq9uASO0AJff5emkhHlA== +"@apollo/query-graphs@2.8.2": + version "2.8.2" + resolved "https://registry.yarnpkg.com/@apollo/query-graphs/-/query-graphs-2.8.2.tgz#625a5648e16a5748b4857eeb3fd5edafca14383b" + integrity sha512-05cZqHVc28kaLLEcX4Lc70tFizmH0pJdB6ETjyYTrgUuKA6aChNGQuGQdpc0vAkwMpbMU7hjsiBeERMxs8iy4w== dependencies: - "@apollo/federation-internals" "2.3.3" + "@apollo/federation-internals" "2.8.2" deep-equal "^2.0.5" ts-graphviz "^1.5.4" uuid "^9.0.0" -"@apollo/query-planner@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@apollo/query-planner/-/query-planner-2.3.3.tgz#95eb89a4d1636c8df4e326e8936270b2d24d791d" - integrity sha512-XB21o/USJCL+XJD4lPMwRKSa1aWk8xZcYRb9mEt6C133bn2bk488u9IOKaumBaGAt7TgEyEvm9YccIua9+w4FA== +"@apollo/query-planner@2.8.2": + version "2.8.2" + resolved "https://registry.yarnpkg.com/@apollo/query-planner/-/query-planner-2.8.2.tgz#bb3f3418dd87306039b60ee6d0bd83c4773f3066" + integrity sha512-sRuY9g1rCM9J5cIauwebN0TTgB4PMUxc4qqd+isimKqDY6WjI8gVM2BIA35nr0L0zT+lwUehiY7MjDK7GRNm5g== dependencies: - "@apollo/federation-internals" "2.3.3" - "@apollo/query-graphs" "2.3.3" + "@apollo/federation-internals" "2.8.2" + "@apollo/query-graphs" "2.8.2" + "@apollo/utils.keyvaluecache" "^2.1.0" chalk "^4.1.0" deep-equal "^2.0.5" pretty-format "^29.0.0" @@ -119,25 +112,25 @@ "@apollo/utils.keyvaluecache" "^2.1.0" "@apollo/utils.logger" "^2.0.0" -"@apollo/server-plugin-landing-page-graphql-playground@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@apollo/server-plugin-landing-page-graphql-playground/-/server-plugin-landing-page-graphql-playground-4.0.0.tgz#eff593de6c37a0b63d740f1c6498d69f67644aed" - integrity sha512-PBDtKI/chJ+hHeoJUUH9Kuqu58txQl00vUGuxqiC9XcReulIg7RjsyD0G1u3drX4V709bxkL5S0nTeXfRHD0qA== +"@apollo/server-plugin-landing-page-graphql-playground@4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@apollo/server-plugin-landing-page-graphql-playground/-/server-plugin-landing-page-graphql-playground-4.0.1.tgz#1d3c98fe93e1bc3c9be3470e220b9578360d175e" + integrity sha512-tWhQzD7DtiTO/wfbGvasryz7eJSuEh9XJHgRTMZI7+Wu/omylG5gH6K6ksg1Vccg8/Xuglfi2f1M5Nm/IlBBGw== dependencies: "@apollographql/graphql-playground-html" "1.6.29" -"@apollo/server-plugin-response-cache@4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@apollo/server-plugin-response-cache/-/server-plugin-response-cache-4.1.0.tgz#2c6752bec3bb14d2901688ae631220fd37b938a2" - integrity sha512-Nv3WUnpb0PV22D6ayY1vv+9mJPPju0uk4imRo7TS5N9nVy+OEKJ7VW6VJ/XA4+1h0CUKkRX6Tb0BrgJuRYFR1Q== +"@apollo/server-plugin-response-cache@4.1.3": + version "4.1.3" + resolved "https://registry.yarnpkg.com/@apollo/server-plugin-response-cache/-/server-plugin-response-cache-4.1.3.tgz#18def5dec2be6f361559efedbf4422790dcbb439" + integrity sha512-8WaP4Xo9GGIbWn4ZG/TlYKZLo/YI8tuORvxzLOKnZa3EqUvt7iTCGHX491dWNiGkm93VgDDdo5r0WEvLDdHSmQ== dependencies: "@apollo/utils.createhash" "^2.0.0" "@apollo/utils.keyvaluecache" "^2.1.0" -"@apollo/server@4.9.3": - version "4.9.3" - resolved "https://registry.yarnpkg.com/@apollo/server/-/server-4.9.3.tgz#d51fa1745a7e9f3b1d687c6df40256744aaa977a" - integrity sha512-U56Sx/UmzR3Es344hQ/Ptf2EJrH+kV4ZPoLmgGjWoiwf2wYQ/pRSvkSXgjOvoyE34wSa8Gh7f92ljfLfY+6q1w== +"@apollo/server@4.10.4": + version "4.10.4" + resolved "https://registry.yarnpkg.com/@apollo/server/-/server-4.10.4.tgz#98590173721b63bdec7ab2fe15179c8a04955233" + integrity sha512-HS12CUa1wq8f5zKXOKJRwRdESFp4por9AINecpcsEUV9jsCP/NqPILgx0hCOOFJuKxmnaL7070xO6l5xmOq4Fw== dependencies: "@apollo/cache-control-types" "^1.0.3" "@apollo/server-gateway-interface" "^1.1.1" @@ -155,7 +148,6 @@ "@types/express-serve-static-core" "^4.17.30" "@types/node-fetch" "^2.6.1" async-retry "^1.2.1" - body-parser "^1.20.0" cors "^2.8.5" express "^4.17.1" loglevel "^1.6.8" @@ -166,15 +158,15 @@ uuid "^9.0.0" whatwg-mimetype "^3.0.0" -"@apollo/subgraph@2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@apollo/subgraph/-/subgraph-2.2.3.tgz#cef1fee9a705f52aac22a37a1d4f6c902c63c00e" - integrity sha512-y7SdZaDbRJXq6xQcwT5Xj/KR1RAV9cokKK0XcMIBGvXcUXdMVorFxX2pYGzxyiIM7y4qFsAF/L8+0G5dtrnkZw== +"@apollo/subgraph@2.8.2": + version "2.8.2" + resolved "https://registry.yarnpkg.com/@apollo/subgraph/-/subgraph-2.8.2.tgz#f3777b039258403e8baa89edff20e3a054a3b1de" + integrity sha512-DYzuyF+1/PSSLN/z3JReABAD7QCfUHIsCDtWk134Pz7vo2oaJCLfL67kdbGew4TZyTnBn08oh0Z4F3X/5ZSQKw== dependencies: "@apollo/cache-control-types" "^1.0.2" - "@apollo/federation-internals" "^2.2.3" + "@apollo/federation-internals" "2.8.2" -"@apollo/usage-reporting-protobuf@^4.0.0", "@apollo/usage-reporting-protobuf@^4.1.0", "@apollo/usage-reporting-protobuf@^4.1.1": +"@apollo/usage-reporting-protobuf@^4.1.0", "@apollo/usage-reporting-protobuf@^4.1.1": version "4.1.1" resolved "https://registry.yarnpkg.com/@apollo/usage-reporting-protobuf/-/usage-reporting-protobuf-4.1.1.tgz#407c3d18c7fbed7a264f3b9a3812620b93499de1" integrity sha512-u40dIUePHaSKVshcedO7Wp+mPiZsaU6xjv9J+VyxpoU/zL6Jle+9zWeG98tr/+SZ0nZ4OXhrbb8SNr0rAPpIDA== @@ -3219,7 +3211,7 @@ body-parser@1.20.1: type-is "~1.6.18" unpipe "1.0.0" -body-parser@1.20.2, body-parser@^1.20.0: +body-parser@1.20.2: version "1.20.2" resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== @@ -7632,7 +7624,7 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -lru-cache@^7.10.1, lru-cache@^7.13.1, lru-cache@^7.14.1, lru-cache@^7.5.1, lru-cache@^7.7.1: +lru-cache@^7.10.1, lru-cache@^7.14.1, lru-cache@^7.5.1, lru-cache@^7.7.1: version "7.18.3" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== @@ -10219,7 +10211,16 @@ string-similarity@^4.0.1: resolved "https://registry.yarnpkg.com/string-similarity/-/string-similarity-4.0.4.tgz#42d01ab0b34660ea8a018da8f56a3309bb8b2a5b" integrity sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ== -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -10314,7 +10315,14 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -11194,7 +11202,7 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -11212,6 +11220,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"