From db73d584e7aff8cd5871604c5ecb046f4590e4ff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 17 Feb 2023 14:57:02 +0000 Subject: [PATCH] Bump mercurius from 7.9.1 to 8.13.2 Bumps [mercurius](https://github.com/mercurius-js/mercurius) from 7.9.1 to 8.13.2. - [Release notes](https://github.com/mercurius-js/mercurius/releases) - [Commits](https://github.com/mercurius-js/mercurius/compare/v7.9.1...v8.13.2) --- updated-dependencies: - dependency-name: mercurius dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- apis/mercury/package.json | 4 +- yarn.lock | 158 ++++++++++++++++++-------------------- 2 files changed, 75 insertions(+), 87 deletions(-) diff --git a/apis/mercury/package.json b/apis/mercury/package.json index a7e5b9e0a..94c8dbfa8 100644 --- a/apis/mercury/package.json +++ b/apis/mercury/package.json @@ -10,7 +10,7 @@ "fastify-cors": "^6.0.1", "graphql": "^15.5.0", "graphql-tools": "^7.0.5", - "mercurius": "^7.9.1", + "mercurius": "^8.13.2", "nodemon": "^2.0.7", "pg": "^8.6.0", "policy-engine": ">= 0", @@ -24,7 +24,7 @@ "graphql-scalars": "^1.10.0", "graphql-tools": "^7.0.5", "jest": "^29.3.1", - "mercurius": "^7.9.1", + "mercurius": "^8.13.2", "nodemon": "^2.0.7", "pg": "^8.6.0", "policy-engine": ">= 0", diff --git a/yarn.lock b/yarn.lock index 91fcd4eef..af18e3387 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1406,6 +1406,27 @@ resolved "https://registry.yarnpkg.com/@fastify/error/-/error-2.0.0.tgz#a9f94af56eb934f0ab1ce4ef9f0ced6ebf2319dc" integrity sha512-wI3fpfDT0t7p8E6dA2eTECzzOd+bZsZCJ2Hcv+Onn2b7ZwK3RwD27uW2QDaMtQhAfWQQP+WNK7nKf0twLsBf9w== +"@fastify/static@^5.0.0": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@fastify/static/-/static-5.0.2.tgz#46cee887393b422f4b10a46a14e970a64dd086d4" + integrity sha512-HvyXZ5a7hUHoSBRq9jKUuKIUCkHMkCDcmiAeEmixXlGOx8pEWx3NYOIaiivcjWa6/NLvfdUT+t/jzfVQ2PA7Gw== + dependencies: + content-disposition "^0.5.3" + encoding-negotiator "^2.0.1" + fastify-plugin "^3.0.0" + glob "^7.1.4" + p-limit "^3.1.0" + readable-stream "^3.4.0" + send "^0.17.1" + +"@fastify/websocket@^5.0.0": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@fastify/websocket/-/websocket-5.0.1.tgz#03c69e70988c3a8b88a8cf38036e1aeed0b3b13a" + integrity sha512-voOrfqhj9TIEnviQ9lzGBXdCIpIJpK69HLgvPPv7m9JNQ7GfSJAbG2y6YRuoYk8u6zpDuleHoLCmaJBDl5Chtw== + dependencies: + fastify-plugin "^3.0.0" + ws "^8.0.0" + "@floating-ui/core@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.2.1.tgz#074182a1d277f94569c50a6b456e62585d463c8e" @@ -7523,7 +7544,7 @@ encoding@^0.1.12, encoding@^0.1.13: dependencies: iconv-lite "^0.6.2" -end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.4: +end-of-stream@^1.0.0, end-of-stream@^1.1.0: version "1.4.4" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== @@ -8135,7 +8156,7 @@ fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -fast-json-stringify@^1.13.0: +fast-json-stringify@^1.21.0: version "1.21.0" resolved "https://registry.yarnpkg.com/fast-json-stringify/-/fast-json-stringify-1.21.0.tgz#51bc8c6d77d8c7b2cc7e5fa754f7f909f9e1262f" integrity sha512-xY6gyjmHN3AK1Y15BCbMpeO9+dea5ePVsp3BouHCdukcx0hOHbXwFhRodhcI0NpZIgDChSeAKkHW9YjKvhwKBA== @@ -8190,45 +8211,11 @@ fastify-cors@^6.0.1: fastify-cors-deprecated "npm:fastify-cors@6.0.3" process-warning "^1.0.0" -fastify-error@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/fastify-error/-/fastify-error-0.3.1.tgz#8eb993e15e3cf57f0357fc452af9290f1c1278d2" - integrity sha512-oCfpcsDndgnDVgiI7bwFKAun2dO+4h84vBlkWsWnz/OUK9Reff5UFoFl241xTiLeHWX/vU9zkDVXqYUxjOwHcQ== - fastify-plugin@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/fastify-plugin/-/fastify-plugin-3.0.1.tgz#79e84c29f401020f38b524f59f2402103fd21ed2" integrity sha512-qKcDXmuZadJqdTm6vlCqioEbyewF60b/0LOFCcYN1B6BIZGlYJumWWOYs70SFYLDAH4YqdE1cxH/RKMG7rFxgA== -"fastify-static-deprecated@npm:fastify-static@4.6.1": - version "4.6.1" - resolved "https://registry.yarnpkg.com/fastify-static/-/fastify-static-4.6.1.tgz#687131da76f1d4391fb8b47f71ea2118cdc85803" - integrity sha512-vy7N28U4AMhuOim12ZZWHulEE6OQKtzZbHgiB8Zj4llUuUQXPka0WHAQI3njm1jTCx4W6fixUHfpITxweMtAIA== - dependencies: - content-disposition "^0.5.3" - encoding-negotiator "^2.0.1" - fastify-plugin "^3.0.0" - glob "^7.1.4" - p-limit "^3.1.0" - readable-stream "^3.4.0" - send "^0.17.1" - -fastify-static@^4.0.1: - version "4.7.0" - resolved "https://registry.yarnpkg.com/fastify-static/-/fastify-static-4.7.0.tgz#e802658d69c1dcddb380b9afc2456d467a3494be" - integrity sha512-zZhCfJv/hkmud2qhWqpU3K9XVAuy3+IV8Tp9BC5J5U+GyA2XwoB6h8lh9GqpEIqdXOw01WyWQllV7dOWVyAlXg== - dependencies: - fastify-static-deprecated "npm:fastify-static@4.6.1" - process-warning "^1.0.0" - -fastify-websocket@^3.0.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/fastify-websocket/-/fastify-websocket-3.2.2.tgz#3ce1a3c0736ce89dd64e3a170d7250e0f8e008fa" - integrity sha512-imwyoYpZTmbcB1uGe4Yy/iaIuJgl76z+h4u8VdZTEG1PEgo22x8fQs9CnkKjx9DRbW2DpcIbezvZLDZtZjWObg== - dependencies: - fastify-plugin "^3.0.0" - ws "^7.5.4" - fastify@^3.18.0: version "3.29.5" resolved "https://registry.yarnpkg.com/fastify/-/fastify-3.29.5.tgz#a219af4223c6071eef46f3b98aee3f39f47a8c88" @@ -8951,14 +8938,15 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== -graphql-jit@^0.5.0: - version "0.5.2" - resolved "https://registry.yarnpkg.com/graphql-jit/-/graphql-jit-0.5.2.tgz#f1fe88e106f6e5b6daa43f9f9a021f733697aee6" - integrity sha512-8XNFsdFTUujjqu2q26Vkh4U6ZJ5dKZ2KxtiuCe95VlHK9Xn4+yz1P/nOj7ipZvXhMG4/s2gwoEhkSig9IEoahQ== +graphql-jit@^0.7.0: + version "0.7.4" + resolved "https://registry.yarnpkg.com/graphql-jit/-/graphql-jit-0.7.4.tgz#bc8ccf79596d13dff3835902a466f9a5ecc3a8c1" + integrity sha512-kWyHmsQtKMD6xcKDgf4dgPLyIZhviqA6IWGdnA0ElL9wgrIOTxf3eI4c0/U3tnoAU3t09zliVCfDkfIptzYjIA== dependencies: - fast-json-stringify "^1.13.0" + "@graphql-typed-document-node/core" "^3.1.1" + fast-json-stringify "^1.21.0" generate-function "^2.3.1" - json-schema "^0.2.3" + json-schema "^0.4.0" lodash.memoize "^4.1.2" lodash.merge "4.6.2" lodash.mergewith "4.6.2" @@ -9015,7 +9003,7 @@ graphql-ws@^4.4.1: resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-4.9.0.tgz#5cfd8bb490b35e86583d8322f5d5d099c26e365c" integrity sha512-sHkK9+lUm20/BGawNEWNtVAeJzhZeBg21VmvmLoT5NdGVeZWv5PdIhkcayQIAgjSyyQ17WMKmbDijIPG2On+Ag== -graphql@^15.4.0, graphql@^15.5.0, graphql@^15.5.1: +graphql@^15.5.0, graphql@^15.5.1: version "15.8.0" resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.8.0.tgz#33410e96b012fa3bdb1091cc99a94769db212b38" integrity sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw== @@ -11109,10 +11097,10 @@ json-schema-traverse@^1.0.0: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== -json-schema@^0.2.3: - version "0.2.5" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.5.tgz#97997f50972dd0500214e208c407efa4b5d7063b" - integrity sha512-gWJOWYFrhQ8j7pVm0EM8Slr+EPVq1Phf6lvzvD/WCeqkrx/f2xBI0xOsRRS9xCn3I4vKtP519dvs3TP09r24wQ== +json-schema@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" + integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== json5@^1.0.1: version "1.0.2" @@ -11943,29 +11931,29 @@ meow@^3.1.0: redent "^1.0.0" trim-newlines "^1.0.0" -mercurius@^7.9.1: - version "7.9.1" - resolved "https://registry.yarnpkg.com/mercurius/-/mercurius-7.9.1.tgz#c75355e91389f94ffc69c5deb5ef6a9afef24df9" - integrity sha512-x6/6W6eV3QpWOjzvF5DiqBpEL2b+SuCKJzQPXuDHgjflrNLDZAFuAJ57K52DX71vrysn0eOH7Ck9qbLgB2GPpQ== +mercurius@^8.13.2: + version "8.13.2" + resolved "https://registry.yarnpkg.com/mercurius/-/mercurius-8.13.2.tgz#bccc05ea5353f87748dcd2a91eb95683191ce382" + integrity sha512-nDvzcTuSepNnafZP6pNqntQ7g5qEHwAMpbrTfsEOHTrf6RS4p4TMlC+mD1humih3vWm1T0uKA35hn+dt2Ldm+A== dependencies: + "@fastify/error" "^2.0.0" + "@fastify/static" "^5.0.0" + "@fastify/websocket" "^5.0.0" "@types/isomorphic-form-data" "^2.0.0" - end-of-stream "^1.4.4" events.on "^1.0.1" - fastify-error "^0.3.0" fastify-plugin "^3.0.0" - fastify-static "^4.0.1" - fastify-websocket "^3.0.0" - graphql "^15.4.0" - graphql-jit "^0.5.0" - mqemitter "^4.0.0" + graphql "^15.5.1" + graphql-jit "^0.7.0" + mqemitter "^4.4.1" p-map "^4.0.0" - promise.allsettled "^1.0.2" - readable-stream "^3.5.0" - secure-json-parse "^2.2.0" - single-user-cache "^0.4.0" - tiny-lru "^7.0.2" - undici "^3.0.0" - ws "^7.4.2" + promise.allsettled "^1.0.4" + readable-stream "^3.6.0" + safe-stable-stringify "^2.3.0" + secure-json-parse "^2.4.0" + single-user-cache "^0.6.0" + tiny-lru "^7.0.6" + undici "^4.8.0" + ws "^8.2.2" merge-descriptors@1.0.1: version "1.0.1" @@ -12518,7 +12506,7 @@ move-concurrently@^1.0.1: rimraf "^2.5.4" run-queue "^1.0.3" -mqemitter@^4.0.0: +mqemitter@^4.4.1: version "4.5.0" resolved "https://registry.yarnpkg.com/mqemitter/-/mqemitter-4.5.0.tgz#ffe74cdf0e3e88b6f37a9dfe4bb7546ac5ae7aa8" integrity sha512-Mp/zytFeIv6piJQkEKnncHcP4R/ErJc5C7dfonkhkNUT2LA/nTayrfNxbipp3M5iCJUTQSUtzfQAQA3XVcKz6w== @@ -14109,7 +14097,7 @@ promise-retry@^2.0.1: err-code "^2.0.2" retry "^0.12.0" -promise.allsettled@^1.0.0, promise.allsettled@^1.0.2: +promise.allsettled@^1.0.0, promise.allsettled@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/promise.allsettled/-/promise.allsettled-1.0.6.tgz#8dc8ba8edf429feb60f8e81335b920e109c94b6e" integrity sha512-22wJUOD3zswWFqgwjNHa1965LvqTX87WPu/lreY2KSd7SVcERfuZ4GfUaOnJNnvtoIv2yXT/W00YIGMetXtFXg== @@ -14707,7 +14695,7 @@ read-pkg@^5.2.0: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.0.6, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: +readable-stream@^3.0.6, readable-stream@^3.4.0, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -15264,10 +15252,10 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -safe-stable-stringify@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz#c8a220ab525cd94e60ebf47ddc404d610dc5d84a" - integrity sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw== +safe-stable-stringify@^2.0.0, safe-stable-stringify@^2.3.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.2.tgz#ec7b037768098bf65310d1d64370de0dc02353aa" + integrity sha512-gMxvPJYhP0O9n2pvcfYfIuYgbledAOJFcqRThtPRmjscaipiwcwPPKLytpVzMkG2HAN87Qmo2d4PtGiri1dSLA== "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.1.0: version "2.1.2" @@ -15373,7 +15361,7 @@ schema-utils@^4.0.0: ajv-formats "^2.1.1" ajv-keywords "^5.0.0" -secure-json-parse@^2.0.0, secure-json-parse@^2.2.0: +secure-json-parse@^2.0.0, secure-json-parse@^2.4.0: version "2.7.0" resolved "https://registry.yarnpkg.com/secure-json-parse/-/secure-json-parse-2.7.0.tgz#5a5f9cd6ae47df23dba3151edd06855d47e09862" integrity sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw== @@ -15682,12 +15670,12 @@ simple-update-notifier@^1.0.7: dependencies: semver "~7.0.0" -single-user-cache@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/single-user-cache/-/single-user-cache-0.4.0.tgz#9e44e1393b34b9c5728d24afac6d28c41f7751fe" - integrity sha512-aUJDbwD+ZEVqffkFCy71xgiLT0/KHE0Fmi3+lsVoWcURI/gmSU3nwc9b9Kq34ZXZR9MqFw2YdS3r1r6UjYMyTg== +single-user-cache@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/single-user-cache/-/single-user-cache-0.6.0.tgz#54cc8ca1034c38c4d32c200000d3ced931993599" + integrity sha512-uMrANoiybpbsrVDbZ2M7GPzxeqZiirwkVnsDAre1zGhXAAw+2dImTxu7h0l1sIVtwGeJnVsRxgG4I5rZrUX0rw== dependencies: - safe-stable-stringify "^1.1.0" + safe-stable-stringify "^2.0.0" sisteransi@^1.0.5: version "1.0.5" @@ -16556,7 +16544,7 @@ tiny-invariant@^1.0.2: resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== -tiny-lru@^7.0.2: +tiny-lru@^7.0.6: version "7.0.6" resolved "https://registry.yarnpkg.com/tiny-lru/-/tiny-lru-7.0.6.tgz#b0c3cdede1e5882aa2d1ae21cb2ceccf2a331f24" integrity sha512-zNYO0Kvgn5rXzWpL0y3RS09sMK67eGaQj9805jlK9G6pSadfriTczzLHFXa/xcW4mIRfmlB9HyQ/+SgL0V1uow== @@ -16883,10 +16871,10 @@ undefsafe@^2.0.5: resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA== -undici@^3.0.0: - version "3.3.6" - resolved "https://registry.yarnpkg.com/undici/-/undici-3.3.6.tgz#06d3b97b7eeff46bce6f8a71079c09f64dd59dc1" - integrity sha512-/j3YTZ5AobMB4ZrTY72mzM54uFUX32v0R/JRW9G2vOyF1uSKYAx+WT8dMsAcRS13TOFISv094TxIyWYk+WEPsA== +undici@^4.8.0: + version "4.16.0" + resolved "https://registry.yarnpkg.com/undici/-/undici-4.16.0.tgz#469bb87b3b918818d3d7843d91a1d08da357d5ff" + integrity sha512-tkZSECUYi+/T1i4u+4+lwZmQgLXd4BLGlrc7KZPcLIW7Jpq99+Xpc30ONv7nS6F5UNOxp/HBZSSL9MafUrvJbw== undici@^5.12.0: version "5.19.1" @@ -17880,12 +17868,12 @@ ws@7.4.5: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.5.tgz#a484dd851e9beb6fdb420027e3885e8ce48986c1" integrity sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g== -"ws@^5.2.0 || ^6.0.0 || ^7.0.0", ws@^7.4.2, ws@^7.5.4: +"ws@^5.2.0 || ^6.0.0 || ^7.0.0": version "7.5.9" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== -ws@^8.11.0, ws@^8.2.3, ws@^8.4.2, ws@^8.5.0: +ws@^8.0.0, ws@^8.11.0, ws@^8.2.2, ws@^8.2.3, ws@^8.4.2, ws@^8.5.0: version "8.12.1" resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.1.tgz#c51e583d79140b5e42e39be48c934131942d4a8f" integrity sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==