diff --git a/package-lock.json b/package-lock.json index c94ed0e19a6..5a85ae71e5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -174,6 +174,18 @@ "whatwg-mimetype": "^3.0.0" }, "dependencies": { + "@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dev": true, + "requires": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, "uuid": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", @@ -2938,6 +2950,40 @@ "strip-ansi": "^7.0.1" } }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, "strip-ansi": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", @@ -2947,6 +2993,23 @@ "ansi-regex": "^6.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + } + } + }, "wrap-ansi": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", @@ -2957,6 +3020,60 @@ "string-width": "^5.0.1", "strip-ansi": "^7.0.1" } + }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } + } } } }, @@ -5924,15 +6041,29 @@ "dev": true }, "@types/express": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", - "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.0.tgz", + "integrity": "sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==", "dev": true, "requires": { "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.33", + "@types/express-serve-static-core": "^5.0.0", "@types/qs": "*", "@types/serve-static": "*" + }, + "dependencies": { + "@types/express-serve-static-core": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.2.tgz", + "integrity": "sha512-vluaspfvWEtE4vcSDlKRNer52DvOGrB2xv6diXy6UKyKW0lqZiWHGNApSyxOv+8DE5Z27IzVvE7hNkxg7EXIcg==", + "dev": true, + "requires": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + } } }, "@types/express-serve-static-core": { @@ -24663,17 +24794,6 @@ "strip-ansi": "^6.0.1" } }, - "string-width-cjs": { - "version": "npm:string-width@4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, "string.prototype.trim": { "version": "1.2.9", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", @@ -24742,15 +24862,6 @@ "ansi-regex": "^5.0.1" } }, - "strip-ansi-cjs": { - "version": "npm:strip-ansi@6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1" - } - }, "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -26817,17 +26928,6 @@ "strip-ansi": "^6.0.0" } }, - "wrap-ansi-cjs": { - "version": "npm:wrap-ansi@7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/package.json b/package.json index 4d4e8c48da1..8b7b434f1e1 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "@types/chai": "4.3.20", "@types/chai-as-promised": "7.1.8", "@types/cors": "2.8.17", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/gulp": "4.0.17", "@types/http-errors": "2.0.4", "@types/mocha": "10.0.10", diff --git a/sample/01-cats-app/package.json b/sample/01-cats-app/package.json index 0eb1f542b6b..f9a98ac478f 100644 --- a/sample/01-cats-app/package.json +++ b/sample/01-cats-app/package.json @@ -32,7 +32,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/02-gateways/package.json b/sample/02-gateways/package.json index 1c9df5d9dc2..dafed3d55ef 100644 --- a/sample/02-gateways/package.json +++ b/sample/02-gateways/package.json @@ -36,7 +36,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/03-microservices/package.json b/sample/03-microservices/package.json index 40c371ec9ee..714c53af711 100644 --- a/sample/03-microservices/package.json +++ b/sample/03-microservices/package.json @@ -34,7 +34,7 @@ "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", "@types/amqplib": "0.10.6", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "jest": "29.7.0", diff --git a/sample/04-grpc/package.json b/sample/04-grpc/package.json index d4ed9d42055..3a41da9ee32 100644 --- a/sample/04-grpc/package.json +++ b/sample/04-grpc/package.json @@ -35,7 +35,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "@typescript-eslint/eslint-plugin": "5.62.0", diff --git a/sample/05-sql-typeorm/package.json b/sample/05-sql-typeorm/package.json index 09c2016fc54..d743f3ca3ec 100644 --- a/sample/05-sql-typeorm/package.json +++ b/sample/05-sql-typeorm/package.json @@ -33,7 +33,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/06-mongoose/package.json b/sample/06-mongoose/package.json index 2d39675aa09..701db9ebcfd 100644 --- a/sample/06-mongoose/package.json +++ b/sample/06-mongoose/package.json @@ -32,7 +32,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/07-sequelize/package.json b/sample/07-sequelize/package.json index c721ee20dee..b0ac148d931 100644 --- a/sample/07-sequelize/package.json +++ b/sample/07-sequelize/package.json @@ -35,7 +35,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/10-fastify/package.json b/sample/10-fastify/package.json index edf5a8be01b..cd154718abe 100644 --- a/sample/10-fastify/package.json +++ b/sample/10-fastify/package.json @@ -32,7 +32,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "@typescript-eslint/eslint-plugin": "5.62.0", diff --git a/sample/11-swagger/package.json b/sample/11-swagger/package.json index 76ebfffd451..96ea0e79cf7 100644 --- a/sample/11-swagger/package.json +++ b/sample/11-swagger/package.json @@ -33,7 +33,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "@typescript-eslint/eslint-plugin": "5.62.0", diff --git a/sample/12-graphql-schema-first/package.json b/sample/12-graphql-schema-first/package.json index 9b3275881d0..a10e6ccce5c 100644 --- a/sample/12-graphql-schema-first/package.json +++ b/sample/12-graphql-schema-first/package.json @@ -38,7 +38,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/13-mongo-typeorm/package.json b/sample/13-mongo-typeorm/package.json index 6c71efee3e3..ee85c346f56 100644 --- a/sample/13-mongo-typeorm/package.json +++ b/sample/13-mongo-typeorm/package.json @@ -33,7 +33,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/14-mongoose-base/package.json b/sample/14-mongoose-base/package.json index 8f9b597107c..0d662510641 100644 --- a/sample/14-mongoose-base/package.json +++ b/sample/14-mongoose-base/package.json @@ -31,7 +31,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/15-mvc/package.json b/sample/15-mvc/package.json index 136a4035a12..f0424f40300 100644 --- a/sample/15-mvc/package.json +++ b/sample/15-mvc/package.json @@ -31,7 +31,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "jest": "29.7.0", diff --git a/sample/16-gateways-ws/package.json b/sample/16-gateways-ws/package.json index c02a4f6037b..697a0d86f46 100644 --- a/sample/16-gateways-ws/package.json +++ b/sample/16-gateways-ws/package.json @@ -36,7 +36,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "jest": "29.7.0", diff --git a/sample/17-mvc-fastify/package.json b/sample/17-mvc-fastify/package.json index d7a5fe0c3b1..3b87a0b3f86 100644 --- a/sample/17-mvc-fastify/package.json +++ b/sample/17-mvc-fastify/package.json @@ -33,7 +33,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "@typescript-eslint/eslint-plugin": "5.62.0", diff --git a/sample/19-auth-jwt/package.json b/sample/19-auth-jwt/package.json index c6db42bff0a..96bbeec0280 100644 --- a/sample/19-auth-jwt/package.json +++ b/sample/19-auth-jwt/package.json @@ -33,7 +33,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/20-cache/package.json b/sample/20-cache/package.json index 4ffc2d516fc..1dd5b21494d 100644 --- a/sample/20-cache/package.json +++ b/sample/20-cache/package.json @@ -34,7 +34,7 @@ "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", "@types/cache-manager": "^4.0.2", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "@typescript-eslint/eslint-plugin": "5.62.0", diff --git a/sample/21-serializer/package.json b/sample/21-serializer/package.json index fe485ef003f..a9382f1324b 100644 --- a/sample/21-serializer/package.json +++ b/sample/21-serializer/package.json @@ -31,7 +31,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "jest": "29.7.0", diff --git a/sample/22-graphql-prisma/package.json b/sample/22-graphql-prisma/package.json index bf061595119..100472b8a4b 100644 --- a/sample/22-graphql-prisma/package.json +++ b/sample/22-graphql-prisma/package.json @@ -39,7 +39,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "@typescript-eslint/eslint-plugin": "5.62.0", diff --git a/sample/23-graphql-code-first/package.json b/sample/23-graphql-code-first/package.json index 0b3e2a47598..2f4a1d04cda 100644 --- a/sample/23-graphql-code-first/package.json +++ b/sample/23-graphql-code-first/package.json @@ -37,7 +37,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "@typescript-eslint/eslint-plugin": "5.62.0", diff --git a/sample/24-serve-static/package.json b/sample/24-serve-static/package.json index 334dd89b1da..471af3a3987 100644 --- a/sample/24-serve-static/package.json +++ b/sample/24-serve-static/package.json @@ -33,7 +33,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "jest": "29.7.0", diff --git a/sample/25-dynamic-modules/package.json b/sample/25-dynamic-modules/package.json index e93b81a3e84..3cf1c4fc333 100644 --- a/sample/25-dynamic-modules/package.json +++ b/sample/25-dynamic-modules/package.json @@ -32,7 +32,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/26-queues/package.json b/sample/26-queues/package.json index fbbaa287094..ed91e9db906 100644 --- a/sample/26-queues/package.json +++ b/sample/26-queues/package.json @@ -35,7 +35,7 @@ "@nestjs/testing": "10.4.15", "@types/bull": "3.15.9", "@types/dotenv": "8.2.3", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/27-scheduling/package.json b/sample/27-scheduling/package.json index aa54ca4132d..4c11c4ed9e3 100644 --- a/sample/27-scheduling/package.json +++ b/sample/27-scheduling/package.json @@ -34,7 +34,7 @@ "@nestjs/testing": "10.4.15", "@types/bull": "3.15.9", "@types/dotenv": "8.2.3", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/28-sse/package.json b/sample/28-sse/package.json index 7afcea28132..92b6a8fcfbc 100644 --- a/sample/28-sse/package.json +++ b/sample/28-sse/package.json @@ -31,7 +31,7 @@ "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", "@types/dotenv": "8.2.3", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/29-file-upload/package.json b/sample/29-file-upload/package.json index e399983a998..a5d9be1b914 100644 --- a/sample/29-file-upload/package.json +++ b/sample/29-file-upload/package.json @@ -32,7 +32,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/multer": "1.4.12", "@types/node": "22.10.2", diff --git a/sample/30-event-emitter/package.json b/sample/30-event-emitter/package.json index a038e11b2ab..2528ad80947 100644 --- a/sample/30-event-emitter/package.json +++ b/sample/30-event-emitter/package.json @@ -31,7 +31,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/31-graphql-federation-code-first/gateway/package.json b/sample/31-graphql-federation-code-first/gateway/package.json index d052540c3bd..835be0af763 100644 --- a/sample/31-graphql-federation-code-first/gateway/package.json +++ b/sample/31-graphql-federation-code-first/gateway/package.json @@ -37,7 +37,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/31-graphql-federation-code-first/posts-application/package.json b/sample/31-graphql-federation-code-first/posts-application/package.json index c40d79c1913..07ac63aed5d 100644 --- a/sample/31-graphql-federation-code-first/posts-application/package.json +++ b/sample/31-graphql-federation-code-first/posts-application/package.json @@ -39,7 +39,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/31-graphql-federation-code-first/users-application/package.json b/sample/31-graphql-federation-code-first/users-application/package.json index a867b1d34b2..98d6b0b7b14 100644 --- a/sample/31-graphql-federation-code-first/users-application/package.json +++ b/sample/31-graphql-federation-code-first/users-application/package.json @@ -38,7 +38,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/32-graphql-federation-schema-first/gateway/package.json b/sample/32-graphql-federation-schema-first/gateway/package.json index 9eac3895895..0d0238ca17d 100644 --- a/sample/32-graphql-federation-schema-first/gateway/package.json +++ b/sample/32-graphql-federation-schema-first/gateway/package.json @@ -39,7 +39,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/32-graphql-federation-schema-first/posts-application/package.json b/sample/32-graphql-federation-schema-first/posts-application/package.json index 7337a887617..bf4204fbd8b 100644 --- a/sample/32-graphql-federation-schema-first/posts-application/package.json +++ b/sample/32-graphql-federation-schema-first/posts-application/package.json @@ -40,7 +40,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/32-graphql-federation-schema-first/users-application/package.json b/sample/32-graphql-federation-schema-first/users-application/package.json index fe0ff956811..92334b8b78d 100644 --- a/sample/32-graphql-federation-schema-first/users-application/package.json +++ b/sample/32-graphql-federation-schema-first/users-application/package.json @@ -39,7 +39,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/jest": "29.5.14", "@types/node": "22.10.2", "@types/supertest": "6.0.2", diff --git a/sample/33-graphql-mercurius/package.json b/sample/33-graphql-mercurius/package.json index 906c3a04307..496ee80814a 100644 --- a/sample/33-graphql-mercurius/package.json +++ b/sample/33-graphql-mercurius/package.json @@ -35,7 +35,7 @@ "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.15", - "@types/express": "4.17.21", + "@types/express": "5.0.0", "@types/node": "22.10.2", "@types/supertest": "6.0.2", "jest": "29.7.0", diff --git a/sample/34-using-esm-packages/package.json b/sample/34-using-esm-packages/package.json index fb4fd85a066..d9f89445e5a 100644 --- a/sample/34-using-esm-packages/package.json +++ b/sample/34-using-esm-packages/package.json @@ -36,7 +36,7 @@ "@nestjs/cli": "10.x", "@nestjs/schematics": "10.x", "@nestjs/testing": "10.x", - "@types/express": "4.x", + "@types/express": "5.x", "@types/jest": "29.x", "@types/node": "22.x", "@types/supertest": "6.x", diff --git a/sample/35-use-esm-package-after-node22/package.json b/sample/35-use-esm-package-after-node22/package.json index b45ea5ff9a5..d3aa565c917 100644 --- a/sample/35-use-esm-package-after-node22/package.json +++ b/sample/35-use-esm-package-after-node22/package.json @@ -30,7 +30,7 @@ "@nestjs/cli": "10.x", "@nestjs/schematics": "10.x", "@nestjs/testing": "10.x", - "@types/express": "4.x", + "@types/express": "5.x", "@types/node": "22.x", "@types/supertest": "6.x", "@typescript-eslint/eslint-plugin": "8.x",