Skip to content

Commit 2fd2eec

Browse files
chore(deps): update dependency fastify to v5
1 parent 52c76ff commit 2fd2eec

File tree

2 files changed

+127
-21
lines changed

2 files changed

+127
-21
lines changed

packages/mercurius/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@nestjs/common": "10.4.15",
3333
"@nestjs/platform-fastify": "10.4.15",
3434
"@nestjs/testing": "10.4.15",
35-
"fastify": "4.29.0",
35+
"fastify": "5.2.0",
3636
"mercurius": "14.1.0",
3737
"mercurius-integration-testing": "9.0.0"
3838
},
@@ -42,7 +42,7 @@
4242
"@mercuriusjs/gateway": "^1.0.0 || ^2.0.0 || ^3.0.0",
4343
"@nestjs/common": "^9.3.8 || ^10.0.0",
4444
"@nestjs/graphql": "^12.0.0",
45-
"fastify": "^4.12.0",
45+
"fastify": "^4.12.0 || ^5.0.0",
4646
"graphql": "^16.0.0",
4747
"mercurius": "^12.0.0 || ^13.0.0 || ^14.0.0"
4848
},

yarn.lock

+125-19
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,15 @@
874874
ajv-formats "^2.1.1"
875875
fast-uri "^2.0.0"
876876

877+
"@fastify/ajv-compiler@^4.0.0":
878+
version "4.0.1"
879+
resolved "https://registry.yarnpkg.com/@fastify/ajv-compiler/-/ajv-compiler-4.0.1.tgz#9567b4c09149a0f342e931c7196a8ed9dc292954"
880+
integrity sha512-DxrBdgsjNLP0YM6W5Hd6/Fmj43S8zMKiFJYgi+Ri3htTGAowPVG/tG1wpnWLMjufEnehRivUCKZ1pLDIoZdTuw==
881+
dependencies:
882+
ajv "^8.12.0"
883+
ajv-formats "^3.0.1"
884+
fast-uri "^3.0.0"
885+
877886
"@fastify/busboy@^2.0.0":
878887
version "2.0.0"
879888
resolved "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.0.0.tgz"
@@ -902,13 +911,25 @@
902911
resolved "https://registry.npmjs.org/@fastify/error/-/error-3.4.1.tgz"
903912
integrity sha512-wWSvph+29GR783IhmvdwWnN4bUxTD01Vm5Xad4i7i1VuAOItLvbPAb69sb0IQ2N57yprvhNIwAP5B6xfKTmjmQ==
904913

914+
"@fastify/error@^4.0.0":
915+
version "4.0.0"
916+
resolved "https://registry.yarnpkg.com/@fastify/error/-/error-4.0.0.tgz#7842d6161fbce78953638318be99033a0c2d5070"
917+
integrity sha512-OO/SA8As24JtT1usTUTKgGH7uLvhfwZPwlptRi2Dp5P4KKmJI3gvsZ8MIHnNwDs4sLf/aai5LzTyl66xr7qMxA==
918+
905919
"@fastify/fast-json-stringify-compiler@^4.3.0":
906920
version "4.3.0"
907921
resolved "https://registry.npmjs.org/@fastify/fast-json-stringify-compiler/-/fast-json-stringify-compiler-4.3.0.tgz"
908922
integrity sha512-aZAXGYo6m22Fk1zZzEUKBvut/CIIQe/BapEORnxiD5Qr0kPHqqI69NtEMCme74h+at72sPhbkb4ZrLd1W3KRLA==
909923
dependencies:
910924
fast-json-stringify "^5.7.0"
911925

926+
"@fastify/fast-json-stringify-compiler@^5.0.0":
927+
version "5.0.1"
928+
resolved "https://registry.yarnpkg.com/@fastify/fast-json-stringify-compiler/-/fast-json-stringify-compiler-5.0.1.tgz#659c74f3181fb4f984fe27dcc95d14366ae85ca0"
929+
integrity sha512-f2d3JExJgFE3UbdFcpPwqNUEoHWmt8pAKf8f+9YuLESdefA0WgqxeT6DrGL4Yrf/9ihXNSKOqpjEmurV405meA==
930+
dependencies:
931+
fast-json-stringify "^6.0.0"
932+
912933
"@fastify/[email protected]":
913934
version "7.4.0"
914935
resolved "https://registry.npmjs.org/@fastify/formbody/-/formbody-7.4.0.tgz"
@@ -917,6 +938,13 @@
917938
fast-querystring "^1.0.0"
918939
fastify-plugin "^4.0.0"
919940

941+
"@fastify/merge-json-schemas@^0.1.1":
942+
version "0.1.1"
943+
resolved "https://registry.yarnpkg.com/@fastify/merge-json-schemas/-/merge-json-schemas-0.1.1.tgz#3551857b8a17a24e8c799e9f51795edb07baa0bc"
944+
integrity sha512-fERDVz7topgNjtXsJTTW1JKLy0rhuLRcquYqNR9rF7OcVpCa2OVW49ZPDIhaRRCaUuvVxI+N416xUoF76HNSXA==
945+
dependencies:
946+
fast-deep-equal "^3.1.3"
947+
920948
"@fastify/[email protected]":
921949
version "8.3.3"
922950
resolved "https://registry.npmjs.org/@fastify/middie/-/middie-8.3.3.tgz"
@@ -2740,6 +2768,13 @@ ajv-formats@^2.1.1:
27402768
dependencies:
27412769
ajv "^8.0.0"
27422770

2771+
ajv-formats@^3.0.1:
2772+
version "3.0.1"
2773+
resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-3.0.1.tgz#3d5dc762bca17679c3c2ea7e90ad6b7532309578"
2774+
integrity sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==
2775+
dependencies:
2776+
ajv "^8.0.0"
2777+
27432778
ajv@^6.12.4:
27442779
version "6.12.6"
27452780
resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz"
@@ -2760,6 +2795,16 @@ ajv@^8.0.0, ajv@^8.10.0, ajv@^8.11.0:
27602795
require-from-string "^2.0.2"
27612796
uri-js "^4.2.2"
27622797

2798+
ajv@^8.12.0:
2799+
version "8.17.1"
2800+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6"
2801+
integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==
2802+
dependencies:
2803+
fast-deep-equal "^3.1.3"
2804+
fast-uri "^3.0.1"
2805+
json-schema-traverse "^1.0.0"
2806+
require-from-string "^2.0.2"
2807+
27632808
ansi-align@^3.0.1:
27642809
version "3.0.1"
27652810
resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz"
@@ -3107,6 +3152,14 @@ avvio@^8.3.0:
31073152
debug "^4.0.0"
31083153
fastq "^1.17.1"
31093154

3155+
avvio@^9.0.0:
3156+
version "9.1.0"
3157+
resolved "https://registry.yarnpkg.com/avvio/-/avvio-9.1.0.tgz#0ff80ed211682441d8aa39ff21a4b9d022109c44"
3158+
integrity sha512-fYASnYi600CsH/j9EQov7lECAniYiBFiiAtBNuZYLA2leLe9qOvZzqYHFjtIj6gD2VMoMLP14834LFWvr4IfDw==
3159+
dependencies:
3160+
"@fastify/error" "^4.0.0"
3161+
fastq "^1.17.1"
3162+
31103163
axios@^1.7.4:
31113164
version "1.7.7"
31123165
resolved "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz"
@@ -5007,6 +5060,19 @@ fast-json-stringify@^5.8.0:
50075060
json-schema-ref-resolver "^1.0.1"
50085061
rfdc "^1.2.0"
50095062

5063+
fast-json-stringify@^6.0.0:
5064+
version "6.0.0"
5065+
resolved "https://registry.yarnpkg.com/fast-json-stringify/-/fast-json-stringify-6.0.0.tgz#15c5e85b567ead695773bf55938b56aaaa57d805"
5066+
integrity sha512-FGMKZwniMTgZh7zQp9b6XnBVxUmKVahQLQeRQHqwYmPDqDhcEKZ3BaQsxelFFI5PY7nN71OEeiL47/zUWcYe1A==
5067+
dependencies:
5068+
"@fastify/merge-json-schemas" "^0.1.1"
5069+
ajv "^8.12.0"
5070+
ajv-formats "^3.0.1"
5071+
fast-deep-equal "^3.1.3"
5072+
fast-uri "^2.3.0"
5073+
json-schema-ref-resolver "^1.0.1"
5074+
rfdc "^1.2.0"
5075+
50105076
fast-levenshtein@^2.0.6:
50115077
version "2.0.6"
50125078
resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz"
@@ -5034,6 +5100,16 @@ fast-uri@^2.0.0, fast-uri@^2.1.0:
50345100
resolved "https://registry.npmjs.org/fast-uri/-/fast-uri-2.2.0.tgz"
50355101
integrity sha512-cIusKBIt/R/oI6z/1nyfe2FvGKVTohVRfvkOhvx0nCEW+xf5NoCXjAHcWp93uOUBchzYcsvPlrapAdX1uW+YGg==
50365102

5103+
fast-uri@^2.3.0:
5104+
version "2.4.0"
5105+
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-2.4.0.tgz#67eae6fbbe9f25339d5d3f4c4234787b65d7d55e"
5106+
integrity sha512-ypuAmmMKInk5q7XcepxlnUWDLWv4GFtaJqAzWKqn62IpQ3pejtr5dTVbt3vwqVaMKmkNR55sTT+CqUKIaT21BA==
5107+
5108+
fast-uri@^3.0.0, fast-uri@^3.0.1:
5109+
version "3.0.3"
5110+
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.0.3.tgz#892a1c91802d5d7860de728f18608a0573142241"
5111+
integrity sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==
5112+
50375113
fastify-plugin@^4.0.0, fastify-plugin@^4.2.0, fastify-plugin@^4.3.0, fastify-plugin@^4.4.0:
50385114
version "4.5.0"
50395115
resolved "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-4.5.0.tgz"
@@ -5061,27 +5137,26 @@ [email protected]:
50615137
semver "^7.5.4"
50625138
toad-cache "^3.3.0"
50635139

5064-
fastify@4.29.0:
5065-
version "4.29.0"
5066-
resolved "https://registry.yarnpkg.com/fastify/-/fastify-4.29.0.tgz#ea3fcd92f4d9deaa841a6722dc6e3e7ff9392850"
5067-
integrity sha512-MaaUHUGcCgC8fXQDsDtioaCcag1fmPJ9j64vAKunqZF4aSub040ZGi/ag8NGE2714yREPOKZuHCfpPzuUD3UQQ==
5140+
fastify@5.2.0:
5141+
version "5.2.0"
5142+
resolved "https://registry.yarnpkg.com/fastify/-/fastify-5.2.0.tgz#dab4d4583e7719cf96aad90ccf3e690bceb069a6"
5143+
integrity sha512-3s+Qt5S14Eq5dCpnE0FxTp3z4xKChI83ZnMv+k0FwX+VUoZrgCFoLAxpfdi/vT4y6Mk+g7aAMt9pgXDoZmkefQ==
50685144
dependencies:
5069-
"@fastify/ajv-compiler" "^3.5.0"
5070-
"@fastify/error" "^3.4.0"
5071-
"@fastify/fast-json-stringify-compiler" "^4.3.0"
5145+
"@fastify/ajv-compiler" "^4.0.0"
5146+
"@fastify/error" "^4.0.0"
5147+
"@fastify/fast-json-stringify-compiler" "^5.0.0"
50725148
abstract-logging "^2.0.1"
5073-
avvio "^8.3.0"
5074-
fast-content-type-parse "^1.1.0"
5075-
fast-json-stringify "^5.8.0"
5076-
find-my-way "^8.0.0"
5077-
light-my-request "^5.11.0"
5149+
avvio "^9.0.0"
5150+
fast-json-stringify "^6.0.0"
5151+
find-my-way "^9.0.0"
5152+
light-my-request "^6.0.0"
50785153
pino "^9.0.0"
5079-
process-warning "^3.0.0"
5154+
process-warning "^4.0.0"
50805155
proxy-addr "^2.0.7"
5081-
rfdc "^1.3.0"
5082-
secure-json-parse "^2.7.0"
5083-
semver "^7.5.4"
5084-
toad-cache "^3.3.0"
5156+
rfdc "^1.3.1"
5157+
secure-json-parse "^3.0.1"
5158+
semver "^7.6.0"
5159+
toad-cache "^3.7.0"
50855160

50865161
fastparallel@^2.3.0:
50875162
version "2.4.1"
@@ -5175,6 +5250,15 @@ find-my-way@^8.0.0:
51755250
fast-querystring "^1.0.0"
51765251
safe-regex2 "^3.1.0"
51775252

5253+
find-my-way@^9.0.0:
5254+
version "9.1.0"
5255+
resolved "https://registry.yarnpkg.com/find-my-way/-/find-my-way-9.1.0.tgz#df941d61198b6380bc962250652c2dff43468880"
5256+
integrity sha512-Y5jIsuYR4BwWDYYQ2A/RWWE6gD8a0FMgtU+HOq1WKku+Cwdz8M1v8wcAmRXXM1/iqtoqg06v+LjAxMYbCjViMw==
5257+
dependencies:
5258+
fast-deep-equal "^3.1.3"
5259+
fast-querystring "^1.0.0"
5260+
safe-regex2 "^4.0.0"
5261+
51785262
find-up@^2.0.0:
51795263
version "2.1.0"
51805264
resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz"
@@ -7282,7 +7366,7 @@ libphonenumber-js@^1.10.53:
72827366
resolved "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.55.tgz"
72837367
integrity sha512-MrTg2JFLscgmTY6/oT9vopYETlgUls/FU6OaeeamGwk4LFxjIgOUML/ZSZICgR0LPYXaonVJo40lzMvaaTJlQA==
72847368

7285-
7369+
[email protected], light-my-request@^6.0.0:
72867370
version "6.3.0"
72877371
resolved "https://registry.yarnpkg.com/light-my-request/-/light-my-request-6.3.0.tgz#14f048b395db842c1ebca3b5536d1679d9dafd57"
72887372
integrity sha512-bWTAPJmeWQH5suJNYwG0f5cs0p6ho9e6f1Ppoxv5qMosY+s9Ir2+ZLvvHcgA7VTDop4zl/NCHhOVVqU+kd++Ow==
@@ -9434,6 +9518,11 @@ ret@~0.4.0:
94349518
resolved "https://registry.yarnpkg.com/ret/-/ret-0.4.3.tgz#5243fa30e704a2e78a9b9b1e86079e15891aa85c"
94359519
integrity sha512-0f4Memo5QP7WQyUEAYUO3esD/XjOc3Zjjg5CPsAq1p8sIu0XPeMbHJemKA0BO7tV0X7+A0FoEpbmHXWxPyD3wQ==
94369520

9521+
ret@~0.5.0:
9522+
version "0.5.0"
9523+
resolved "https://registry.yarnpkg.com/ret/-/ret-0.5.0.tgz#30a4d38a7e704bd96dc5ffcbe7ce2a9274c41c95"
9524+
integrity sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==
9525+
94379526
94389527
version "0.13.1"
94399528
resolved "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz"
@@ -9454,7 +9543,7 @@ rfdc@^1.2.0, rfdc@^1.3.0:
94549543
resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz"
94559544
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==
94569545

9457-
rfdc@^1.4.1:
9546+
rfdc@^1.3.1, rfdc@^1.4.1:
94589547
version "1.4.1"
94599548
resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz"
94609549
integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==
@@ -9564,6 +9653,13 @@ safe-regex2@^3.1.0:
95649653
dependencies:
95659654
ret "~0.4.0"
95669655

9656+
safe-regex2@^4.0.0:
9657+
version "4.0.0"
9658+
resolved "https://registry.yarnpkg.com/safe-regex2/-/safe-regex2-4.0.0.tgz#5e04d8362cd4884753c8bce9715d4759a5239c0a"
9659+
integrity sha512-Hvjfv25jPDVr3U+4LDzBuZPPOymELG3PYcSk5hcevooo1yxxamQL/bHs/GrEPGmMoMEwRrHVGiCA1pXi97B8Ew==
9660+
dependencies:
9661+
ret "~0.5.0"
9662+
95679663
safe-stable-stringify@^2.0.0, safe-stable-stringify@^2.3.0, safe-stable-stringify@^2.3.1:
95689664
version "2.4.3"
95699665
resolved "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz"
@@ -9579,6 +9675,11 @@ secure-json-parse@^2.4.0, secure-json-parse@^2.7.0:
95799675
resolved "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-2.7.0.tgz"
95809676
integrity sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==
95819677

9678+
secure-json-parse@^3.0.1:
9679+
version "3.0.1"
9680+
resolved "https://registry.yarnpkg.com/secure-json-parse/-/secure-json-parse-3.0.1.tgz#78987844ea1f0cfe9c5f9f723cdf031f542e7b5f"
9681+
integrity sha512-9QR7G96th4QJ2+dJwvZB+JoXyt8PN+DbEjOr6kL2/JU4KH8Eb2sFdU+gt8EDdzWDWoWH0uocDdfCoFzdVSixUA==
9682+
95829683
"semver@2 || 3 || 4 || 5", semver@^5.6.0:
95839684
version "5.7.2"
95849685
resolved "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz"
@@ -10332,6 +10433,11 @@ toad-cache@^3.3.0:
1033210433
resolved "https://registry.npmjs.org/toad-cache/-/toad-cache-3.3.0.tgz"
1033310434
integrity sha512-3oDzcogWGHZdkwrHyvJVpPjA7oNzY6ENOV3PsWJY9XYPZ6INo94Yd47s5may1U+nleBPwDhrRiTPMIvKaa3MQg==
1033410435

10436+
toad-cache@^3.7.0:
10437+
version "3.7.0"
10438+
resolved "https://registry.yarnpkg.com/toad-cache/-/toad-cache-3.7.0.tgz#b9b63304ea7c45ec34d91f1d2fa513517025c441"
10439+
integrity sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==
10440+
1033510441
1033610442
version "1.0.1"
1033710443
resolved "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz"

0 commit comments

Comments
 (0)