diff --git a/subgraphs/comments/package.json b/subgraphs/comments/package.json index 540fea7..856b2aa 100644 --- a/subgraphs/comments/package.json +++ b/subgraphs/comments/package.json @@ -8,7 +8,7 @@ "dependencies": { "@apollo/server": "4.11.3", "@apollo/subgraph": "2.10.0", - "@graphql-mesh/hmac-upstream-signature": "1.2.26", + "@graphql-mesh/hmac-upstream-signature": "2.0.2", "graphql": "16.10.0" }, "devDependencies": { diff --git a/subgraphs/users/package.json b/subgraphs/users/package.json index c000a4d..c8c7687 100644 --- a/subgraphs/users/package.json +++ b/subgraphs/users/package.json @@ -10,8 +10,8 @@ "@graphql-hive/cli": "0.49.1", "graphql": "16.10.0", "graphql-yoga": "5.13.2", - "@graphql-mesh/plugin-jwt-auth": "1.5.2", - "@graphql-mesh/hmac-upstream-signature": "1.2.26" + "@graphql-mesh/plugin-jwt-auth": "2.0.4", + "@graphql-mesh/hmac-upstream-signature": "2.0.2" }, "devDependencies": { "tsx": "^4.16.2", diff --git a/yarn.lock b/yarn.lock index 8aa64d1..6616f5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -823,10 +823,10 @@ resolved "https://registry.yarnpkg.com/@commander-js/extra-typings/-/extra-typings-13.1.0.tgz#026e29b04401c92fc4307223fbaadf1ff3e5551e" integrity sha512-q5P52BYb1hwVWE6dtID7VvuJWrlfbCv4klj7BjUUOqMz4jbSZD4C9fJ9lRjL2jnBGTg+gDDlaXN51rkWcLk4fg== -"@envelop/core@^5.0.0", "@envelop/core@^5.0.2", "@envelop/core@^5.1.0", "@envelop/core@^5.2.3": - version "5.2.3" - resolved "https://registry.yarnpkg.com/@envelop/core/-/core-5.2.3.tgz#ede1dd20b4397c7465ae2190e718829303bcef00" - integrity sha512-KfoGlYD/XXQSc3BkM1/k15+JQbkQ4ateHazeZoWl9P71FsLTDXSjGy6j7QqfhpIDSbxNISqhPMfZHYSbDFOofQ== +"@envelop/core@^5.0.0", "@envelop/core@^5.0.2", "@envelop/core@^5.1.0", "@envelop/core@^5.2.3", "@envelop/core@^5.3.1": + version "5.3.1" + resolved "https://registry.yarnpkg.com/@envelop/core/-/core-5.3.1.tgz#f75e5c19d4a4d876ce49ca5a9a072a9e5db3b89a" + integrity sha512-n29V3vRqXvPcG76C8zE482LQykk0P66zv1mjpk7aHeGe9qnh8AzB/RvoX5SVFwApJQPp0ixob8NoYXg4FHKMGA== dependencies: "@envelop/instrumentation" "^1.0.0" "@envelop/types" "^5.2.1" @@ -1081,6 +1081,11 @@ dependencies: graphql "^16.0.0" +"@fastify/busboy@^3.1.1": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-3.2.0.tgz#13ed8212f3b9ba697611529d15347f8528058cea" + integrity sha512-m9FVDXU3GT2ITSe0UaMA5rU3QkfC/UXtCU8y0gSN/GugTqtVldOBWIB5V6V3sbmenVZUIpU6f+mPEO2+m5iTaA== + "@fastify/merge-json-schemas@^0.1.0": version "0.1.1" resolved "https://registry.yarnpkg.com/@fastify/merge-json-schemas/-/merge-json-schemas-0.1.1.tgz#3551857b8a17a24e8c799e9f51795edb07baa0bc" @@ -1244,6 +1249,15 @@ "@repeaterjs/repeater" "^3.0.6" "@whatwg-node/disposablestack" "^0.0.6" +"@graphql-hive/pubsub@next": + version "2.0.0-next-38d601a82253147a4bfe657c7eee418d25c183b6" + resolved "https://registry.yarnpkg.com/@graphql-hive/pubsub/-/pubsub-2.0.0-next-38d601a82253147a4bfe657c7eee418d25c183b6.tgz#b35fe445e4546d6383d7aea99f75904a28477567" + integrity sha512-A1514UqRwmdyT9hGrLtD9TdD/5ffhjxnV+baUmCii+B0gsGD7LkYXBuwk+jdWZjADXKiBZWY1qOM21WNA0QI4w== + dependencies: + "@repeaterjs/repeater" "^3.0.6" + "@whatwg-node/disposablestack" "^0.0.6" + "@whatwg-node/promise-helpers" "^1.3.0" + "@graphql-hive/signal@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@graphql-hive/signal/-/signal-1.0.0.tgz#6e2193660a47c925abadbe72293dfc9430e24f8f" @@ -1363,7 +1377,21 @@ graphql-yoga "^5.13.2" tslib "^2.8.1" -"@graphql-mesh/hmac-upstream-signature@1.2.26", "@graphql-mesh/hmac-upstream-signature@^1.2.26": +"@graphql-mesh/hmac-upstream-signature@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@graphql-mesh/hmac-upstream-signature/-/hmac-upstream-signature-2.0.2.tgz#e2e6fdbfab5394887a9b2fa42206051fd6437f65" + integrity sha512-hjZVUljb39qfnhC7DJtQTSv2PwFkIseL1ZBJ5XRdBVmrYUyw+WJrnlgEMYAz7kXzaqwrW9ekQl0ozLdU/xlubQ== + dependencies: + "@graphql-mesh/cross-helpers" "^0.4.10" + "@graphql-mesh/types" "^0.104.12" + "@graphql-mesh/utils" "^0.104.12" + "@graphql-tools/executor-common" "^1.0.1" + "@graphql-tools/utils" "^10.9.1" + "@whatwg-node/promise-helpers" "^1.3.2" + json-stable-stringify "^1.1.1" + tslib "^2.8.1" + +"@graphql-mesh/hmac-upstream-signature@^1.2.26": version "1.2.26" resolved "https://registry.yarnpkg.com/@graphql-mesh/hmac-upstream-signature/-/hmac-upstream-signature-1.2.26.tgz#c09300ce0c467bb22f61bddae3467dd4c63322db" integrity sha512-P7P5fNcrvK4C4mTNy+tW4QJRT0Q0Fw0IOSVA/Ef0qgXFjtobNxdu+9enmNoEWzeNsOdf7KbBXq3tX7AJxURIAQ== @@ -1411,7 +1439,17 @@ graphql-jit "^0.8.7" tslib "^2.4.0" -"@graphql-mesh/plugin-jwt-auth@1.5.2", "@graphql-mesh/plugin-jwt-auth@^1.5.0": +"@graphql-mesh/plugin-jwt-auth@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@graphql-mesh/plugin-jwt-auth/-/plugin-jwt-auth-2.0.4.tgz#f8734e007e627ab6a294908e8ef8d9464fa5520e" + integrity sha512-ysCS3D9bQR6IQi9+g9iU6Erj4wNExSPjLbpiJTJorVWE7zEQAruw/7AQ7nEvGmCSBMbwYVxv2FSk5Z/7RRgv3w== + dependencies: + "@graphql-mesh/types" "^0.104.12" + "@graphql-mesh/utils" "^0.104.12" + "@graphql-yoga/plugin-jwt" "^3.9.2" + tslib "^2.4.0" + +"@graphql-mesh/plugin-jwt-auth@^1.5.0": version "1.5.2" resolved "https://registry.yarnpkg.com/@graphql-mesh/plugin-jwt-auth/-/plugin-jwt-auth-1.5.2.tgz#732f3f5df62aa9e11ce25d43f2c087e6ba94c803" integrity sha512-/0dUJt3Ce0v6WeV/aVZz9g3S9aNBn+f2XoDaEbJHYoYi33r5Qvu+Mao3I+tqLezWLX2stNp+1lIMFAEqnV5ERw== @@ -1521,15 +1559,15 @@ minimatch "10.0.1" tslib "^2.4.0" -"@graphql-mesh/store@^0.104.2": - version "0.104.2" - resolved "https://registry.yarnpkg.com/@graphql-mesh/store/-/store-0.104.2.tgz#5297168a5c3f5b706147318ac928ab024db20762" - integrity sha512-wTfhNXMe5kL3o0D/zJsC8z9/VpXtSI/VlOM5cAFLEp8EQKr3dOGJ6xL60dKk/tY/W6Y1FnB+W9SFLv7jBTakvg== +"@graphql-mesh/store@^0.104.12": + version "0.104.12" + resolved "https://registry.yarnpkg.com/@graphql-mesh/store/-/store-0.104.12.tgz#2d2b07645576fc675da3cf9b863a3464e132e858" + integrity sha512-y7A4L6poHGr/woEL3fYbAQGSFvzQzrf/c9gb+fIyu/syj1jWf7u+/i/LUUJ0esBy3g5kZMLLr+Gg7QZ9zPzouA== dependencies: "@graphql-inspector/core" "6.2.1" "@graphql-mesh/cross-helpers" "^0.4.10" - "@graphql-mesh/types" "^0.104.2" - "@graphql-mesh/utils" "^0.104.2" + "@graphql-mesh/types" "^0.104.12" + "@graphql-mesh/utils" "^0.104.12" "@graphql-tools/utils" "^10.8.0" tslib "^2.4.0" @@ -1607,33 +1645,36 @@ tslib "^2.8.1" ws "^8.18.0" -"@graphql-mesh/types@^0.104.0", "@graphql-mesh/types@^0.104.1", "@graphql-mesh/types@^0.104.2": - version "0.104.2" - resolved "https://registry.yarnpkg.com/@graphql-mesh/types/-/types-0.104.2.tgz#01ea77029016aed55a7a6df6e3f922a0874a7808" - integrity sha512-JIu1yUJ+oTeVQIGJ5EhseudJXrAilPXeY4Le4ZUVaijjWc6XASUn8/ZCHaHiO/ADzHTV7cLR++ghhzHGkysHxQ== +"@graphql-mesh/types@^0.104.0", "@graphql-mesh/types@^0.104.1", "@graphql-mesh/types@^0.104.12", "@graphql-mesh/types@^0.104.2": + version "0.104.12" + resolved "https://registry.yarnpkg.com/@graphql-mesh/types/-/types-0.104.12.tgz#baab8a9887b3a6df01079dc381c75d62010e13f2" + integrity sha512-H1MsyqdfGW9/eH09w5wP4uMP0c5pl0VuAanypKCPg68LI2z3AsihTQZxqAnJRzVhef0waShjhkof8L7/4JKFcw== dependencies: - "@graphql-mesh/store" "^0.104.2" + "@graphql-hive/pubsub" next + "@graphql-mesh/store" "^0.104.12" "@graphql-tools/batch-delegate" "^9.0.10" "@graphql-tools/delegate" "^10.0.28" "@graphql-tools/utils" "^10.8.0" "@graphql-typed-document-node/core" "^3.2.0" + "@repeaterjs/repeater" "^3.0.6" + "@whatwg-node/disposablestack" "^0.0.6" tslib "^2.4.0" -"@graphql-mesh/utils@^0.104.1", "@graphql-mesh/utils@^0.104.2": - version "0.104.2" - resolved "https://registry.yarnpkg.com/@graphql-mesh/utils/-/utils-0.104.2.tgz#c0048496ad88f93f543da16603cd49598ba9d44c" - integrity sha512-qNODthwVxWqbk3PihhvfjvSGk7T1KOSr7lyn5SvrZPcslqFo+2ocepr89VXVmG7X2tcsPvgX/ePoKa/p5qTh9A== +"@graphql-mesh/utils@^0.104.1", "@graphql-mesh/utils@^0.104.12", "@graphql-mesh/utils@^0.104.2": + version "0.104.12" + resolved "https://registry.yarnpkg.com/@graphql-mesh/utils/-/utils-0.104.12.tgz#381d954217f706443c8788265d0d0c719faaaedc" + integrity sha512-lFP0NAApBNVOuuhqgVFWQ/RCRACr6Jz2k3ORoh82L9KPqDnlhX6C+tJHK6eyy35pQ+258OT9sNaVaYOyi+af/g== dependencies: "@envelop/instrumentation" "^1.0.0" "@graphql-mesh/cross-helpers" "^0.4.10" "@graphql-mesh/string-interpolation" "^0.5.8" - "@graphql-mesh/types" "^0.104.2" + "@graphql-mesh/types" "^0.104.12" "@graphql-tools/batch-delegate" "^9.0.16" "@graphql-tools/delegate" "^10.0.28" "@graphql-tools/utils" "^10.8.0" "@graphql-tools/wrap" "^10.0.28" "@whatwg-node/disposablestack" "^0.0.6" - "@whatwg-node/fetch" "^0.10.4" + "@whatwg-node/fetch" "^0.10.6" "@whatwg-node/promise-helpers" "^1.2.0" dset "^3.1.2" js-yaml "^4.1.0" @@ -1705,6 +1746,14 @@ "@envelop/core" "^5.2.3" "@graphql-tools/utils" "^10.8.1" +"@graphql-tools/executor-common@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-common/-/executor-common-1.0.1.tgz#b161ce779e5abaab3e05fe51fdc78ee27f0f9b1b" + integrity sha512-YzDOoPaijIL2aEUR58DPTIZEJ/es0IV0nRCnoQcIyc1l2lTNo+k1L1rsFMBUOsyI6Y/pMxZ8ssJlQXwdGT78YA== + dependencies: + "@envelop/core" "^5.3.1" + "@graphql-tools/utils" "^10.9.1" + "@graphql-tools/executor-graphql-ws@^1.3.2": version "1.3.7" resolved "https://registry.yarnpkg.com/@graphql-tools/executor-graphql-ws/-/executor-graphql-ws-1.3.7.tgz#ecdf9e0a3ea6e12a5bc9df8fb8bb477a17711678" @@ -1939,10 +1988,10 @@ dset "^3.1.4" tslib "^2.4.0" -"@graphql-tools/utils@^10.0.0", "@graphql-tools/utils@^10.0.3", "@graphql-tools/utils@^10.5.1", "@graphql-tools/utils@^10.5.4", "@graphql-tools/utils@^10.6.1", "@graphql-tools/utils@^10.6.2", "@graphql-tools/utils@^10.7.0", "@graphql-tools/utils@^10.8.0", "@graphql-tools/utils@^10.8.1", "@graphql-tools/utils@^10.8.6": - version "10.8.6" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-10.8.6.tgz#69ef29e408a27919108b2b2227fe8b465acf9e5c" - integrity sha512-Alc9Vyg0oOsGhRapfL3xvqh1zV8nKoFUdtLhXX7Ki4nClaIJXckrA86j+uxEuG3ic6j4jlM1nvcWXRn/71AVLQ== +"@graphql-tools/utils@^10.0.0", "@graphql-tools/utils@^10.0.3", "@graphql-tools/utils@^10.5.1", "@graphql-tools/utils@^10.5.4", "@graphql-tools/utils@^10.6.1", "@graphql-tools/utils@^10.6.2", "@graphql-tools/utils@^10.7.0", "@graphql-tools/utils@^10.8.0", "@graphql-tools/utils@^10.8.1", "@graphql-tools/utils@^10.8.6", "@graphql-tools/utils@^10.9.1": + version "10.9.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-10.9.1.tgz#ff4067256f2080db0c66f4475858f29a8da65ecf" + integrity sha512-B1wwkXk9UvU7LCBkPs8513WxOQ2H8Fo5p8HR1+Id9WmYE5+bd51vqN+MbrqvWczHCH2gwkREgHJN88tE0n1FCw== dependencies: "@graphql-typed-document-node/core" "^3.1.1" "@whatwg-node/promise-helpers" "^1.0.0" @@ -2012,11 +2061,12 @@ dependencies: "@graphql-tools/utils" "^10.6.1" -"@graphql-yoga/plugin-jwt@^3.4.9": - version "3.4.9" - resolved "https://registry.yarnpkg.com/@graphql-yoga/plugin-jwt/-/plugin-jwt-3.4.9.tgz#6208956c2b9eeb810669c248e0b8c054b037f10d" - integrity sha512-qpC0IMS7mnnFjm6gauv+TMMUwrnGdmw/4XHe8rPenpy63J4t2K6Z7PpKzRwVSGHq6e2pgc+b6NFJ9bdAPXiVMw== +"@graphql-yoga/plugin-jwt@^3.4.9", "@graphql-yoga/plugin-jwt@^3.9.2": + version "3.9.2" + resolved "https://registry.yarnpkg.com/@graphql-yoga/plugin-jwt/-/plugin-jwt-3.9.2.tgz#fd3f71e32f5e8355badd8d26cd8448b3ee85f772" + integrity sha512-XILtWOs1Nz2+QRyfdybgma+NK4IFYtRN8UMp9htfB+SyA8Ygjge3+z/lbV7wKFIaQ4jjDwBCFlA71771obW/+g== dependencies: + "@whatwg-node/promise-helpers" "^1.2.4" "@whatwg-node/server-plugin-cookies" "^1.0.3" jsonwebtoken "^9.0.0" jwks-rsa "^3.0.0" @@ -3098,28 +3148,28 @@ dependencies: tslib "^2.6.3" -"@whatwg-node/fetch@^0.10.0", "@whatwg-node/fetch@^0.10.1", "@whatwg-node/fetch@^0.10.4", "@whatwg-node/fetch@^0.10.5": - version "0.10.5" - resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.10.5.tgz#8537e50d32bac0f2e9cecff206588ca41d836df5" - integrity sha512-+yFJU3hmXPAHJULwx0VzCIsvr/H0lvbPvbOH3areOH3NAuCxCwaJsQ8w6/MwwMcvEWIynSsmAxoyaH04KeosPg== +"@whatwg-node/fetch@^0.10.0", "@whatwg-node/fetch@^0.10.1", "@whatwg-node/fetch@^0.10.4", "@whatwg-node/fetch@^0.10.5", "@whatwg-node/fetch@^0.10.6": + version "0.10.10" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.10.10.tgz#2b3397bc114b3f6dbda34bd1f205e45216abd10f" + integrity sha512-watz4i/Vv4HpoJ+GranJ7HH75Pf+OkPQ63NoVmru6Srgc8VezTArB00i/oQlnn0KWh14gM42F22Qcc9SU9mo/w== dependencies: - "@whatwg-node/node-fetch" "^0.7.11" + "@whatwg-node/node-fetch" "^0.7.25" urlpattern-polyfill "^10.0.0" -"@whatwg-node/node-fetch@^0.7.11": - version "0.7.17" - resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.7.17.tgz#86adaaddf06d7d098f17dfa504cd91562d81f89e" - integrity sha512-Ni8A2H/r6brNf4u8Y7ATxmWUD0xltsQ6a4NnjWSbw4PgaT34CbY+u4QtVsFj9pTC3dBKJADKjac3AieAig+PZA== +"@whatwg-node/node-fetch@^0.7.25": + version "0.7.25" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.7.25.tgz#8da0af32f389eeeebf935af5fbcce7bbd2bbc774" + integrity sha512-szCTESNJV+Xd56zU6ShOi/JWROxE9IwCic8o5D9z5QECZloas6Ez5tUuKqXTAdu6fHFx1t6C+5gwj8smzOLjtg== dependencies: + "@fastify/busboy" "^3.1.1" "@whatwg-node/disposablestack" "^0.0.6" - "@whatwg-node/promise-helpers" "^1.2.5" - busboy "^1.6.0" + "@whatwg-node/promise-helpers" "^1.3.2" tslib "^2.6.3" -"@whatwg-node/promise-helpers@^1.0.0", "@whatwg-node/promise-helpers@^1.2.0", "@whatwg-node/promise-helpers@^1.2.1", "@whatwg-node/promise-helpers@^1.2.3", "@whatwg-node/promise-helpers@^1.2.4", "@whatwg-node/promise-helpers@^1.2.5", "@whatwg-node/promise-helpers@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@whatwg-node/promise-helpers/-/promise-helpers-1.3.0.tgz#33629c853cfa309009b1329d3cb6208241ec2bf0" - integrity sha512-486CouizxHXucj8Ky153DDragfkMcHtVEToF5Pn/fInhUUSiCmt9Q4JVBa6UK5q4RammFBtGQ4C9qhGlXU9YbA== +"@whatwg-node/promise-helpers@^1.0.0", "@whatwg-node/promise-helpers@^1.2.0", "@whatwg-node/promise-helpers@^1.2.1", "@whatwg-node/promise-helpers@^1.2.3", "@whatwg-node/promise-helpers@^1.2.4", "@whatwg-node/promise-helpers@^1.3.0", "@whatwg-node/promise-helpers@^1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@whatwg-node/promise-helpers/-/promise-helpers-1.3.2.tgz#3b54987ad6517ef6db5920c66a6f0dada606587d" + integrity sha512-Nst5JdK47VIl9UcGwtv2Rcgyn5lWtZ0/mhRQ4G8NN2isxpq2TO30iqHzmwoJycjWuyUfg3GFXqP/gFHXeV57IA== dependencies: tslib "^2.6.3" @@ -3347,13 +3397,6 @@ buffer@^5.5.0: base64-js "^1.3.1" ieee754 "^1.1.13" -busboy@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893" - integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA== - dependencies: - streamsearch "^1.1.0" - bytes@3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" @@ -5440,11 +5483,6 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== -streamsearch@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764" - integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== - string-width@^4.0.0, 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"