diff --git a/package-lock.json b/package-lock.json index afdd4df51db..562943a12d2 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,40 +2950,6 @@ "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", @@ -2981,23 +2959,6 @@ "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", @@ -3008,60 +2969,6 @@ "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" - } - } - } } } }, @@ -6029,15 +5936,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": { @@ -24768,6 +24689,17 @@ "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", @@ -24836,6 +24768,15 @@ "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", @@ -26902,6 +26843,17 @@ "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 33538094fa3..b9aea2b402b 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 5e4a741ca3b..c655260c04a 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.0", "@types/supertest": "6.0.2", diff --git a/sample/02-gateways/package.json b/sample/02-gateways/package.json index c6d8e06c44f..23be85f38dd 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.0", "@types/supertest": "6.0.2", diff --git a/sample/03-microservices/package.json b/sample/03-microservices/package.json index b3b1fb3f5f8..3b8113ee4b7 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.0", "@types/supertest": "6.0.2", "jest": "29.7.0", diff --git a/sample/04-grpc/package.json b/sample/04-grpc/package.json index a49ac0fc5e5..9f4847dcc3c 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.0", "@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 46aeda86065..8ec69633d83 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": "20.17.10", "@types/supertest": "6.0.2", diff --git a/sample/06-mongoose/package.json b/sample/06-mongoose/package.json index 9e384f27ebc..b0677a5f342 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.0", "@types/supertest": "6.0.2", diff --git a/sample/07-sequelize/package.json b/sample/07-sequelize/package.json index fa721e30b9a..f0325fbee00 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": "20.17.10", "@types/supertest": "6.0.2", diff --git a/sample/10-fastify/package.json b/sample/10-fastify/package.json index bae4ff0ef79..72933b74754 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.0", "@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 a8aed4729a6..2fee902c351 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.0", "@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 1e0a76bb766..060c4e8ddca 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.0", "@types/supertest": "6.0.2", diff --git a/sample/13-mongo-typeorm/package.json b/sample/13-mongo-typeorm/package.json index f4e8f448f0e..cb6977f09b7 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": "20.17.10", "@types/supertest": "6.0.2", diff --git a/sample/14-mongoose-base/package.json b/sample/14-mongoose-base/package.json index d748a73cf22..3515cac1caf 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.0", "@types/supertest": "6.0.2", diff --git a/sample/15-mvc/package.json b/sample/15-mvc/package.json index 5d338a9a3b2..cc178547be8 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.0", "@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 e12bfffbe7c..6e3e6accb69 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.0", "@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 9a15e8261e4..42d0930a2cd 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.0", "@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 69aa59c5381..4cad3aa9105 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.0", "@types/supertest": "6.0.2", diff --git a/sample/20-cache/package.json b/sample/20-cache/package.json index 7c75f40abf9..7db1a1529cf 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": "20.17.10", "@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 1c82f165029..6c3edaab66b 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.0", "@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 ba4674a5446..ca17a82d03f 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.0", "@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 4fe6fb26c90..7993f873159 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.0", "@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 3cdc67820e9..dc88745daec 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.0", "@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 3532ea43562..6a8684a9819 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.0", "@types/supertest": "6.0.2", diff --git a/sample/26-queues/package.json b/sample/26-queues/package.json index 3ba7224b5b2..44285a7c1f5 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.0", "@types/supertest": "6.0.2", diff --git a/sample/27-scheduling/package.json b/sample/27-scheduling/package.json index 5cde4c0e068..e088d2dc82f 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": "20.17.10", "@types/supertest": "6.0.2", diff --git a/sample/28-sse/package.json b/sample/28-sse/package.json index e674780915f..7726d4c784d 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.0", "@types/supertest": "6.0.2", diff --git a/sample/29-file-upload/package.json b/sample/29-file-upload/package.json index 39896a1dd2d..acdb1bec5bc 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.0", diff --git a/sample/30-event-emitter/package.json b/sample/30-event-emitter/package.json index 67ef63c6175..8a7cf9b5a9b 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": "20.17.10", "@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 e3a41f6a8b0..1865b4860cc 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.0", "@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 b3bc9674b7b..dfa3f6ca2d5 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.0", "@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 53edf8f7da8..df762fcc015 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.0", "@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 b96315eb309..86e0847362e 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.0", "@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 5445c6b30dc..c067d798d87 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.0", "@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 41427fdd0c9..f019b1bf2cc 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.0", "@types/supertest": "6.0.2", diff --git a/sample/33-graphql-mercurius/package.json b/sample/33-graphql-mercurius/package.json index a4565b06d29..c2ca3485778 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.0", "@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",