Skip to content

Commit 13312a6

Browse files
chore(deps): update dependency fastify to v5
1 parent 2429c07 commit 13312a6

File tree

2 files changed

+140
-3
lines changed

2 files changed

+140
-3
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.7",
3333
"@nestjs/platform-fastify": "10.4.7",
3434
"@nestjs/testing": "10.4.7",
35-
"fastify": "4.28.1",
35+
"fastify": "5.1.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

+138-1
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"
@@ -2733,6 +2761,13 @@ ajv-formats@^2.1.1:
27332761
dependencies:
27342762
ajv "^8.0.0"
27352763

2764+
ajv-formats@^3.0.1:
2765+
version "3.0.1"
2766+
resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-3.0.1.tgz#3d5dc762bca17679c3c2ea7e90ad6b7532309578"
2767+
integrity sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==
2768+
dependencies:
2769+
ajv "^8.0.0"
2770+
27362771
ajv@^6.12.4:
27372772
version "6.12.6"
27382773
resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz"
@@ -2753,6 +2788,16 @@ ajv@^8.0.0, ajv@^8.10.0, ajv@^8.11.0:
27532788
require-from-string "^2.0.2"
27542789
uri-js "^4.2.2"
27552790

2791+
ajv@^8.12.0:
2792+
version "8.17.1"
2793+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6"
2794+
integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==
2795+
dependencies:
2796+
fast-deep-equal "^3.1.3"
2797+
fast-uri "^3.0.1"
2798+
json-schema-traverse "^1.0.0"
2799+
require-from-string "^2.0.2"
2800+
27562801
ansi-align@^3.0.1:
27572802
version "3.0.1"
27582803
resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz"
@@ -3100,6 +3145,14 @@ avvio@^8.3.0:
31003145
debug "^4.0.0"
31013146
fastq "^1.17.1"
31023147

3148+
avvio@^9.0.0:
3149+
version "9.1.0"
3150+
resolved "https://registry.yarnpkg.com/avvio/-/avvio-9.1.0.tgz#0ff80ed211682441d8aa39ff21a4b9d022109c44"
3151+
integrity sha512-fYASnYi600CsH/j9EQov7lECAniYiBFiiAtBNuZYLA2leLe9qOvZzqYHFjtIj6gD2VMoMLP14834LFWvr4IfDw==
3152+
dependencies:
3153+
"@fastify/error" "^4.0.0"
3154+
fastq "^1.17.1"
3155+
31033156
axios@^1.7.4:
31043157
version "1.7.7"
31053158
resolved "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz"
@@ -3893,6 +3946,11 @@ cookie@^0.7.0:
38933946
resolved "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz"
38943947
integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==
38953948

3949+
cookie@^1.0.1:
3950+
version "1.0.1"
3951+
resolved "https://registry.yarnpkg.com/cookie/-/cookie-1.0.1.tgz#e1a00d20420e0266aff817815640289eef142751"
3952+
integrity sha512-Xd8lFX4LM9QEEwxQpF9J9NTUh8pmdJO0cyRJhFiDoLTk2eH8FXlRv2IFGYVadZpqI3j8fhNrSdKCeYPxiAhLXw==
3953+
38963954
cookiejar@^2.1.4:
38973955
version "2.1.4"
38983956
resolved "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz"
@@ -4969,6 +5027,19 @@ fast-json-stringify@^5.8.0:
49695027
json-schema-ref-resolver "^1.0.1"
49705028
rfdc "^1.2.0"
49715029

5030+
fast-json-stringify@^6.0.0:
5031+
version "6.0.0"
5032+
resolved "https://registry.yarnpkg.com/fast-json-stringify/-/fast-json-stringify-6.0.0.tgz#15c5e85b567ead695773bf55938b56aaaa57d805"
5033+
integrity sha512-FGMKZwniMTgZh7zQp9b6XnBVxUmKVahQLQeRQHqwYmPDqDhcEKZ3BaQsxelFFI5PY7nN71OEeiL47/zUWcYe1A==
5034+
dependencies:
5035+
"@fastify/merge-json-schemas" "^0.1.1"
5036+
ajv "^8.12.0"
5037+
ajv-formats "^3.0.1"
5038+
fast-deep-equal "^3.1.3"
5039+
fast-uri "^2.3.0"
5040+
json-schema-ref-resolver "^1.0.1"
5041+
rfdc "^1.2.0"
5042+
49725043
fast-levenshtein@^2.0.6:
49735044
version "2.0.6"
49745045
resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz"
@@ -4996,6 +5067,16 @@ fast-uri@^2.0.0, fast-uri@^2.1.0:
49965067
resolved "https://registry.npmjs.org/fast-uri/-/fast-uri-2.2.0.tgz"
49975068
integrity sha512-cIusKBIt/R/oI6z/1nyfe2FvGKVTohVRfvkOhvx0nCEW+xf5NoCXjAHcWp93uOUBchzYcsvPlrapAdX1uW+YGg==
49985069

5070+
fast-uri@^2.3.0:
5071+
version "2.4.0"
5072+
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-2.4.0.tgz#67eae6fbbe9f25339d5d3f4c4234787b65d7d55e"
5073+
integrity sha512-ypuAmmMKInk5q7XcepxlnUWDLWv4GFtaJqAzWKqn62IpQ3pejtr5dTVbt3vwqVaMKmkNR55sTT+CqUKIaT21BA==
5074+
5075+
fast-uri@^3.0.0, fast-uri@^3.0.1:
5076+
version "3.0.3"
5077+
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.0.3.tgz#892a1c91802d5d7860de728f18608a0573142241"
5078+
integrity sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==
5079+
49995080
fastify-plugin@^4.0.0, fastify-plugin@^4.2.0, fastify-plugin@^4.3.0, fastify-plugin@^4.4.0:
50005081
version "4.5.0"
50015082
resolved "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-4.5.0.tgz"
@@ -5023,6 +5104,27 @@ [email protected]:
50235104
semver "^7.5.4"
50245105
toad-cache "^3.3.0"
50255106

5107+
5108+
version "5.1.0"
5109+
resolved "https://registry.yarnpkg.com/fastify/-/fastify-5.1.0.tgz#07029613aa4d94c4e8df71b25696eb67ed5d7079"
5110+
integrity sha512-0SdUC5AoiSgMSc2Vxwv3WyKzyGMDJRAW/PgNsK1kZrnkO6MeqUIW9ovVg9F2UGIqtIcclYMyeJa4rK6OZc7Jxg==
5111+
dependencies:
5112+
"@fastify/ajv-compiler" "^4.0.0"
5113+
"@fastify/error" "^4.0.0"
5114+
"@fastify/fast-json-stringify-compiler" "^5.0.0"
5115+
abstract-logging "^2.0.1"
5116+
avvio "^9.0.0"
5117+
fast-json-stringify "^6.0.0"
5118+
find-my-way "^9.0.0"
5119+
light-my-request "^6.0.0"
5120+
pino "^9.0.0"
5121+
process-warning "^4.0.0"
5122+
proxy-addr "^2.0.7"
5123+
rfdc "^1.3.1"
5124+
secure-json-parse "^2.7.0"
5125+
semver "^7.6.0"
5126+
toad-cache "^3.7.0"
5127+
50265128
fastparallel@^2.3.0:
50275129
version "2.4.1"
50285130
resolved "https://registry.npmjs.org/fastparallel/-/fastparallel-2.4.1.tgz"
@@ -5115,6 +5217,15 @@ find-my-way@^8.0.0:
51155217
fast-querystring "^1.0.0"
51165218
safe-regex2 "^2.0.0"
51175219

5220+
find-my-way@^9.0.0:
5221+
version "9.1.0"
5222+
resolved "https://registry.yarnpkg.com/find-my-way/-/find-my-way-9.1.0.tgz#df941d61198b6380bc962250652c2dff43468880"
5223+
integrity sha512-Y5jIsuYR4BwWDYYQ2A/RWWE6gD8a0FMgtU+HOq1WKku+Cwdz8M1v8wcAmRXXM1/iqtoqg06v+LjAxMYbCjViMw==
5224+
dependencies:
5225+
fast-deep-equal "^3.1.3"
5226+
fast-querystring "^1.0.0"
5227+
safe-regex2 "^4.0.0"
5228+
51185229
find-up@^2.0.0:
51195230
version "2.1.0"
51205231
resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz"
@@ -7242,6 +7353,15 @@ light-my-request@^5.11.0:
72427353
process-warning "^2.0.0"
72437354
set-cookie-parser "^2.4.1"
72447355

7356+
light-my-request@^6.0.0:
7357+
version "6.3.0"
7358+
resolved "https://registry.yarnpkg.com/light-my-request/-/light-my-request-6.3.0.tgz#14f048b395db842c1ebca3b5536d1679d9dafd57"
7359+
integrity sha512-bWTAPJmeWQH5suJNYwG0f5cs0p6ho9e6f1Ppoxv5qMosY+s9Ir2+ZLvvHcgA7VTDop4zl/NCHhOVVqU+kd++Ow==
7360+
dependencies:
7361+
cookie "^1.0.1"
7362+
process-warning "^4.0.0"
7363+
set-cookie-parser "^2.6.0"
7364+
72457365
lilconfig@~3.1.2:
72467366
version "3.1.2"
72477367
resolved "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz"
@@ -9371,6 +9491,11 @@ ret@~0.2.0:
93719491
resolved "https://registry.npmjs.org/ret/-/ret-0.2.2.tgz"
93729492
integrity sha512-M0b3YWQs7R3Z917WRQy1HHA7Ba7D8hvZg6UE5mLykJxQVE2ju0IXbGlaHPPlkY+WN7wFP+wUMXmBFA0aV6vYGQ==
93739493

9494+
ret@~0.5.0:
9495+
version "0.5.0"
9496+
resolved "https://registry.yarnpkg.com/ret/-/ret-0.5.0.tgz#30a4d38a7e704bd96dc5ffcbe7ce2a9274c41c95"
9497+
integrity sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==
9498+
93749499
93759500
version "0.13.1"
93769501
resolved "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz"
@@ -9391,7 +9516,7 @@ rfdc@^1.2.0, rfdc@^1.3.0:
93919516
resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz"
93929517
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==
93939518

9394-
rfdc@^1.4.1:
9519+
rfdc@^1.3.1, rfdc@^1.4.1:
93959520
version "1.4.1"
93969521
resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz"
93979522
integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==
@@ -9501,6 +9626,13 @@ safe-regex2@^2.0.0:
95019626
dependencies:
95029627
ret "~0.2.0"
95039628

9629+
safe-regex2@^4.0.0:
9630+
version "4.0.0"
9631+
resolved "https://registry.yarnpkg.com/safe-regex2/-/safe-regex2-4.0.0.tgz#5e04d8362cd4884753c8bce9715d4759a5239c0a"
9632+
integrity sha512-Hvjfv25jPDVr3U+4LDzBuZPPOymELG3PYcSk5hcevooo1yxxamQL/bHs/GrEPGmMoMEwRrHVGiCA1pXi97B8Ew==
9633+
dependencies:
9634+
ret "~0.5.0"
9635+
95049636
safe-stable-stringify@^2.0.0, safe-stable-stringify@^2.3.0, safe-stable-stringify@^2.3.1:
95059637
version "2.4.3"
95069638
resolved "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz"
@@ -10274,6 +10406,11 @@ toad-cache@^3.3.0:
1027410406
resolved "https://registry.npmjs.org/toad-cache/-/toad-cache-3.3.0.tgz"
1027510407
integrity sha512-3oDzcogWGHZdkwrHyvJVpPjA7oNzY6ENOV3PsWJY9XYPZ6INo94Yd47s5may1U+nleBPwDhrRiTPMIvKaa3MQg==
1027610408

10409+
toad-cache@^3.7.0:
10410+
version "3.7.0"
10411+
resolved "https://registry.yarnpkg.com/toad-cache/-/toad-cache-3.7.0.tgz#b9b63304ea7c45ec34d91f1d2fa513517025c441"
10412+
integrity sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==
10413+
1027710414
1027810415
version "1.0.1"
1027910416
resolved "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz"

0 commit comments

Comments
 (0)