Skip to content

Commit 0c33b83

Browse files
committed
Fastify v5 & force Nest along
Nest doesn't have any logic that isn't compatible between the two majors. So it's just version bumps for them. Nest maintainers are throwing a fit about Node v20+ requirement, so they are dragging their feet for their own major.
1 parent b7e58d6 commit 0c33b83

File tree

2 files changed

+166
-194
lines changed

2 files changed

+166
-194
lines changed

package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
"@aws-sdk/client-s3": "^3.440.0",
3535
"@aws-sdk/s3-request-presigner": "^3.440.0",
3636
"@faker-js/faker": "^8.2.0",
37-
"@fastify/compress": "^7.0.3",
38-
"@fastify/cookie": "^9.4.0",
39-
"@fastify/cors": "^9.0.1",
37+
"@fastify/compress": "^8.0.1",
38+
"@fastify/cookie": "^11.0.1",
39+
"@fastify/cors": "^10.0.1",
4040
"@ffprobe-installer/ffprobe": "^2.1.2",
4141
"@golevelup/nestjs-discovery": "^4.0.0",
4242
"@graphql-hive/yoga": "^0.38.2",
@@ -71,8 +71,8 @@
7171
"extensionless": "^1.7.0",
7272
"fast-safe-stringify": "^2.1.1",
7373
"fastest-levenshtein": "^1.0.16",
74-
"fastify": "^4.28.1",
75-
"fastify-raw-body": "^4.3.0",
74+
"fastify": "^5.0.0",
75+
"fastify-raw-body": "^5.0.0",
7676
"file-type": "^18.6.0",
7777
"glob": "^10.3.10",
7878
"got": "^14.3.0",
@@ -159,6 +159,11 @@
159159
"@nestjs/cli/webpack": "npm:empty-npm-package@*",
160160
"@nestjs/cli/typescript": "^5.1.6",
161161
"@nestjs/graphql/graphql-ws": "^5",
162+
"@nestjs/platform-fastify/@fastify/cors": "^10",
163+
"@nestjs/platform-fastify/@fastify/formbody": "^8",
164+
"@nestjs/platform-fastify/@fastify/middie": "^9",
165+
"@nestjs/platform-fastify/fastify": "^5",
166+
"@nestjs/platform-fastify/light-my-request": "^6",
162167
"@whatwg-node/fetch": "patch:@whatwg-node/fetch@npm%3A0.9.22#~/.yarn/patches/@whatwg-node-fetch-npm-0.9.22-a60314fb39.patch",
163168
"subscriptions-transport-ws": "npm:empty-npm-package@*"
164169
},

0 commit comments

Comments
 (0)