Skip to content

Commit e4ef283

Browse files
authored
chore: upgrade next.js to 15.4.5 (calcom#23079)
* upgrade * update yarn lock * fix type check
1 parent 881602c commit e4ef283

4 files changed

Lines changed: 190 additions & 151 deletions

File tree

apps/api/v1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@sentry/nextjs": "^9.15.0",
3434
"bcryptjs": "^2.4.3",
3535
"memory-cache": "^0.2.0",
36-
"next": "^15.3.0",
36+
"next": "^15.4.5",
3737
"next-api-middleware": "^1.0.1",
3838
"next-axiom": "^0.17.0",
3939
"next-swagger-doc": "^0.3.6",

apps/web/app/api/logo/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ async function getHandler(request: NextRequest) {
200200

201201
buffer = await optimizeImage({
202202
buffer,
203-
contentType: detectContentType(buffer) ?? "image/jpeg",
203+
contentType: (await detectContentType(buffer)) ?? "image/jpeg",
204204
quality: 100,
205205
width: logoDefinition.w,
206206
height: logoDefinition.h, // optional

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"memory-cache": "^0.2.0",
107107
"micro": "^10.0.1",
108108
"mime-types": "^2.1.35",
109-
"next": "^15.3.0",
109+
"next": "^15.4.5",
110110
"next-auth": "^4.22.1",
111111
"next-axiom": "^0.17.0",
112112
"next-collect": "^0.2.1",

0 commit comments

Comments
 (0)