Skip to content

Commit e7a7375

Browse files
chore(deps): update dependency fastify to v5
1 parent ff4552f commit e7a7375

File tree

2 files changed

+127
-4
lines changed

2 files changed

+127
-4
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.13",
3333
"@nestjs/platform-fastify": "10.4.13",
3434
"@nestjs/testing": "10.4.13",
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

+125-2
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"
@@ -4970,6 +5023,19 @@ fast-json-stringify@^5.8.0:
49705023
json-schema-ref-resolver "^1.0.1"
49715024
rfdc "^1.2.0"
49725025

5026+
fast-json-stringify@^6.0.0:
5027+
version "6.0.0"
5028+
resolved "https://registry.yarnpkg.com/fast-json-stringify/-/fast-json-stringify-6.0.0.tgz#15c5e85b567ead695773bf55938b56aaaa57d805"
5029+
integrity sha512-FGMKZwniMTgZh7zQp9b6XnBVxUmKVahQLQeRQHqwYmPDqDhcEKZ3BaQsxelFFI5PY7nN71OEeiL47/zUWcYe1A==
5030+
dependencies:
5031+
"@fastify/merge-json-schemas" "^0.1.1"
5032+
ajv "^8.12.0"
5033+
ajv-formats "^3.0.1"
5034+
fast-deep-equal "^3.1.3"
5035+
fast-uri "^2.3.0"
5036+
json-schema-ref-resolver "^1.0.1"
5037+
rfdc "^1.2.0"
5038+
49735039
fast-levenshtein@^2.0.6:
49745040
version "2.0.6"
49755041
resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz"
@@ -4997,6 +5063,16 @@ fast-uri@^2.0.0, fast-uri@^2.1.0:
49975063
resolved "https://registry.npmjs.org/fast-uri/-/fast-uri-2.2.0.tgz"
49985064
integrity sha512-cIusKBIt/R/oI6z/1nyfe2FvGKVTohVRfvkOhvx0nCEW+xf5NoCXjAHcWp93uOUBchzYcsvPlrapAdX1uW+YGg==
49995065

5066+
fast-uri@^2.3.0:
5067+
version "2.4.0"
5068+
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-2.4.0.tgz#67eae6fbbe9f25339d5d3f4c4234787b65d7d55e"
5069+
integrity sha512-ypuAmmMKInk5q7XcepxlnUWDLWv4GFtaJqAzWKqn62IpQ3pejtr5dTVbt3vwqVaMKmkNR55sTT+CqUKIaT21BA==
5070+
5071+
fast-uri@^3.0.0, fast-uri@^3.0.1:
5072+
version "3.0.3"
5073+
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.0.3.tgz#892a1c91802d5d7860de728f18608a0573142241"
5074+
integrity sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==
5075+
50005076
fastify-plugin@^4.0.0, fastify-plugin@^4.2.0, fastify-plugin@^4.3.0, fastify-plugin@^4.4.0:
50015077
version "4.5.0"
50025078
resolved "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-4.5.0.tgz"
@@ -5024,6 +5100,27 @@ [email protected]:
50245100
semver "^7.5.4"
50255101
toad-cache "^3.3.0"
50265102

5103+
5104+
version "5.1.0"
5105+
resolved "https://registry.yarnpkg.com/fastify/-/fastify-5.1.0.tgz#07029613aa4d94c4e8df71b25696eb67ed5d7079"
5106+
integrity sha512-0SdUC5AoiSgMSc2Vxwv3WyKzyGMDJRAW/PgNsK1kZrnkO6MeqUIW9ovVg9F2UGIqtIcclYMyeJa4rK6OZc7Jxg==
5107+
dependencies:
5108+
"@fastify/ajv-compiler" "^4.0.0"
5109+
"@fastify/error" "^4.0.0"
5110+
"@fastify/fast-json-stringify-compiler" "^5.0.0"
5111+
abstract-logging "^2.0.1"
5112+
avvio "^9.0.0"
5113+
fast-json-stringify "^6.0.0"
5114+
find-my-way "^9.0.0"
5115+
light-my-request "^6.0.0"
5116+
pino "^9.0.0"
5117+
process-warning "^4.0.0"
5118+
proxy-addr "^2.0.7"
5119+
rfdc "^1.3.1"
5120+
secure-json-parse "^2.7.0"
5121+
semver "^7.6.0"
5122+
toad-cache "^3.7.0"
5123+
50275124
fastparallel@^2.3.0:
50285125
version "2.4.1"
50295126
resolved "https://registry.npmjs.org/fastparallel/-/fastparallel-2.4.1.tgz"
@@ -5116,6 +5213,15 @@ find-my-way@^8.0.0:
51165213
fast-querystring "^1.0.0"
51175214
safe-regex2 "^3.1.0"
51185215

5216+
find-my-way@^9.0.0:
5217+
version "9.1.0"
5218+
resolved "https://registry.yarnpkg.com/find-my-way/-/find-my-way-9.1.0.tgz#df941d61198b6380bc962250652c2dff43468880"
5219+
integrity sha512-Y5jIsuYR4BwWDYYQ2A/RWWE6gD8a0FMgtU+HOq1WKku+Cwdz8M1v8wcAmRXXM1/iqtoqg06v+LjAxMYbCjViMw==
5220+
dependencies:
5221+
fast-deep-equal "^3.1.3"
5222+
fast-querystring "^1.0.0"
5223+
safe-regex2 "^4.0.0"
5224+
51195225
find-up@^2.0.0:
51205226
version "2.1.0"
51215227
resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz"
@@ -7225,7 +7331,7 @@ libphonenumber-js@^1.10.53:
72257331
resolved "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.55.tgz"
72267332
integrity sha512-MrTg2JFLscgmTY6/oT9vopYETlgUls/FU6OaeeamGwk4LFxjIgOUML/ZSZICgR0LPYXaonVJo40lzMvaaTJlQA==
72277333

7228-
7334+
[email protected], light-my-request@^6.0.0:
72297335
version "6.3.0"
72307336
resolved "https://registry.yarnpkg.com/light-my-request/-/light-my-request-6.3.0.tgz#14f048b395db842c1ebca3b5536d1679d9dafd57"
72317337
integrity sha512-bWTAPJmeWQH5suJNYwG0f5cs0p6ho9e6f1Ppoxv5qMosY+s9Ir2+ZLvvHcgA7VTDop4zl/NCHhOVVqU+kd++Ow==
@@ -9372,6 +9478,11 @@ ret@~0.4.0:
93729478
resolved "https://registry.yarnpkg.com/ret/-/ret-0.4.3.tgz#5243fa30e704a2e78a9b9b1e86079e15891aa85c"
93739479
integrity sha512-0f4Memo5QP7WQyUEAYUO3esD/XjOc3Zjjg5CPsAq1p8sIu0XPeMbHJemKA0BO7tV0X7+A0FoEpbmHXWxPyD3wQ==
93749480

9481+
ret@~0.5.0:
9482+
version "0.5.0"
9483+
resolved "https://registry.yarnpkg.com/ret/-/ret-0.5.0.tgz#30a4d38a7e704bd96dc5ffcbe7ce2a9274c41c95"
9484+
integrity sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==
9485+
93759486
93769487
version "0.13.1"
93779488
resolved "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz"
@@ -9392,7 +9503,7 @@ rfdc@^1.2.0, rfdc@^1.3.0:
93929503
resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz"
93939504
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==
93949505

9395-
rfdc@^1.4.1:
9506+
rfdc@^1.3.1, rfdc@^1.4.1:
93969507
version "1.4.1"
93979508
resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz"
93989509
integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==
@@ -9502,6 +9613,13 @@ safe-regex2@^3.1.0:
95029613
dependencies:
95039614
ret "~0.4.0"
95049615

9616+
safe-regex2@^4.0.0:
9617+
version "4.0.0"
9618+
resolved "https://registry.yarnpkg.com/safe-regex2/-/safe-regex2-4.0.0.tgz#5e04d8362cd4884753c8bce9715d4759a5239c0a"
9619+
integrity sha512-Hvjfv25jPDVr3U+4LDzBuZPPOymELG3PYcSk5hcevooo1yxxamQL/bHs/GrEPGmMoMEwRrHVGiCA1pXi97B8Ew==
9620+
dependencies:
9621+
ret "~0.5.0"
9622+
95059623
safe-stable-stringify@^2.0.0, safe-stable-stringify@^2.3.0, safe-stable-stringify@^2.3.1:
95069624
version "2.4.3"
95079625
resolved "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz"
@@ -10270,6 +10388,11 @@ toad-cache@^3.3.0:
1027010388
resolved "https://registry.npmjs.org/toad-cache/-/toad-cache-3.3.0.tgz"
1027110389
integrity sha512-3oDzcogWGHZdkwrHyvJVpPjA7oNzY6ENOV3PsWJY9XYPZ6INo94Yd47s5may1U+nleBPwDhrRiTPMIvKaa3MQg==
1027210390

10391+
toad-cache@^3.7.0:
10392+
version "3.7.0"
10393+
resolved "https://registry.yarnpkg.com/toad-cache/-/toad-cache-3.7.0.tgz#b9b63304ea7c45ec34d91f1d2fa513517025c441"
10394+
integrity sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==
10395+
1027310396
1027410397
version "1.0.1"
1027510398
resolved "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz"

0 commit comments

Comments
 (0)