diff --git a/examples/express-composition/package.json b/examples/express-composition/package.json index 6a183d56f9d0..803ab75f5f79 100644 --- a/examples/express-composition/package.json +++ b/examples/express-composition/package.json @@ -60,7 +60,7 @@ "@loopback/build": "^11.0.8", "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/node": "^16.18.123", "eslint": "^8.57.0", "typescript": "~5.2.2" diff --git a/examples/passport-login/package.json b/examples/passport-login/package.json index d08215ea5b0b..3de5432bfac5 100644 --- a/examples/passport-login/package.json +++ b/examples/passport-login/package.json @@ -91,7 +91,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/http-caching-proxy": "^6.0.9", "@loopback/testlab": "^7.0.8", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", "axios": "^1.7.9", diff --git a/examples/rpc-server/package.json b/examples/rpc-server/package.json index ab77644f85f6..ccfb33b953ff 100644 --- a/examples/rpc-server/package.json +++ b/examples/rpc-server/package.json @@ -50,7 +50,7 @@ "@loopback/build": "^11.0.8", "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/node": "^16.18.123", "eslint": "^8.57.0", "typescript": "~5.2.2" diff --git a/extensions/metrics/package.json b/extensions/metrics/package.json index 0f25503e8a5e..de5b5e810f62 100644 --- a/extensions/metrics/package.json +++ b/extensions/metrics/package.json @@ -52,7 +52,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/rest": "^14.0.9", "@loopback/testlab": "^7.0.8", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/node": "^16.18.123", "express": "^4.21.2" } diff --git a/fixtures/mock-oauth2-provider/package.json b/fixtures/mock-oauth2-provider/package.json index 376df9f538ac..3c57345bcbf9 100644 --- a/fixtures/mock-oauth2-provider/package.json +++ b/fixtures/mock-oauth2-provider/package.json @@ -36,7 +36,7 @@ ], "dependencies": { "@types/body-parser": "^1.19.5", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jsonwebtoken": "^9.0.7", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", diff --git a/package-lock.json b/package-lock.json index 2d909cf26368..53b6734d2eac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -387,7 +387,7 @@ "@loopback/build": "^11.0.8", "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/node": "^16.18.123", "eslint": "^8.57.0", "typescript": "~5.2.2" @@ -751,7 +751,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/http-caching-proxy": "^6.0.9", "@loopback/testlab": "^7.0.8", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", "axios": "^1.7.9", @@ -855,7 +855,7 @@ "@loopback/build": "^11.0.8", "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/node": "^16.18.123", "eslint": "^8.57.0", "typescript": "~5.2.2" @@ -1456,7 +1456,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/rest": "^14.0.9", "@loopback/testlab": "^7.0.8", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/node": "^16.18.123", "express": "^4.21.2" }, @@ -1619,7 +1619,7 @@ "license": "MIT", "dependencies": { "@types/body-parser": "^1.19.5", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jsonwebtoken": "^9.0.7", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", @@ -8802,12 +8802,13 @@ "integrity": "sha512-Q5Vn3yjTDyCMV50TB6VRIbQNxSE4OmZR86VSbGaNpfUolm0iePBB4KdEEHmxoY5sT2+2DIvXW0rvMDP2nHZ4Mg==" }, "node_modules/@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==", + "license": "MIT", "dependencies": { "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.33", + "@types/express-serve-static-core": "^5.0.0", "@types/qs": "*", "@types/serve-static": "*" } @@ -8823,6 +8824,18 @@ "@types/send": "*" } }, + "node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.3.tgz", + "integrity": "sha512-JEhMNwUJt7bw728CydvYzntD0XJeTmDnvwLlbfbAhE7Tbslm/ax6bdIiUwTgeVlZTsJQPwZwKpAkyDtIjsvx3g==", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, "node_modules/@types/fs-extra": { "version": "11.0.4", "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-11.0.4.tgz", @@ -31878,6 +31891,18 @@ "node": ">=8" } }, + "node_modules/strong-remoting/node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, "node_modules/strong-remoting/node_modules/escape-string-regexp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", @@ -36813,7 +36838,7 @@ "license": "MIT", "dependencies": { "@loopback/security": "^0.11.9", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/lodash": "^4.17.14", "lodash": "^4.17.21", "tslib": "^2.8.1" @@ -36994,7 +37019,7 @@ "version": "6.0.9", "license": "MIT", "dependencies": { - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "debug": "^4.4.0", "loopback": "^3.28.0", "loopback-swagger": "^5.9.0", @@ -37410,7 +37435,7 @@ "dependencies": { "@loopback/http-server": "^6.0.9", "@types/body-parser": "^1.19.5", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/express-serve-static-core": "^4.17.37", "@types/http-errors": "^2.0.4", "body-parser": "^1.20.3", @@ -37911,7 +37936,7 @@ "@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0", "@types/body-parser": "^1.19.5", "@types/cors": "^2.8.17", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/express-serve-static-core": "^4.17.37", "@types/http-errors": "^2.0.4", "@types/on-finished": "^2.3.4", @@ -38011,7 +38036,7 @@ "@loopback/rest": "^14.0.9", "@loopback/testlab": "^7.0.8", "@types/ejs": "^3.1.5", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/node": "^16.18.123", "express": "^4.21.2" }, @@ -38101,7 +38126,7 @@ "license": "MIT", "dependencies": { "@hapi/shot": "^6.0.1", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/fs-extra": "^11.0.4", "@types/shot": "^4.0.5", "@types/sinon": "^17.0.3", diff --git a/packages/authentication/package.json b/packages/authentication/package.json index 9d18596e55cd..ff23126655cd 100644 --- a/packages/authentication/package.json +++ b/packages/authentication/package.json @@ -44,7 +44,7 @@ }, "dependencies": { "@loopback/security": "^0.11.9", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/lodash": "^4.17.14", "lodash": "^4.17.21", "tslib": "^2.8.1" diff --git a/packages/booter-lb3app/package.json b/packages/booter-lb3app/package.json index c2baeb4be78c..cb617d860ada 100644 --- a/packages/booter-lb3app/package.json +++ b/packages/booter-lb3app/package.json @@ -43,7 +43,7 @@ "@loopback/rest": "^14.0.0" }, "dependencies": { - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "debug": "^4.4.0", "loopback": "^3.28.0", "loopback-swagger": "^5.9.0", diff --git a/packages/express/package.json b/packages/express/package.json index 7192d2318ff8..e11796b1f3d7 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -42,7 +42,7 @@ "dependencies": { "@loopback/http-server": "^6.0.9", "@types/body-parser": "^1.19.5", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/express-serve-static-core": "^4.17.37", "@types/http-errors": "^2.0.4", "body-parser": "^1.20.3", diff --git a/packages/rest-explorer/package.json b/packages/rest-explorer/package.json index 35c68339ee4d..4eab37389af3 100644 --- a/packages/rest-explorer/package.json +++ b/packages/rest-explorer/package.json @@ -53,7 +53,7 @@ "@loopback/rest": "^14.0.9", "@loopback/testlab": "^7.0.8", "@types/ejs": "^3.1.5", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/node": "^16.18.123", "express": "^4.21.2" } diff --git a/packages/rest/package.json b/packages/rest/package.json index 911d9ede7f29..e0fe24106ea8 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -44,7 +44,7 @@ "@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0", "@types/body-parser": "^1.19.5", "@types/cors": "^2.8.17", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/express-serve-static-core": "^4.17.37", "@types/http-errors": "^2.0.4", "@types/on-finished": "^2.3.4", diff --git a/packages/testlab/package.json b/packages/testlab/package.json index 1b914cfa8d5f..e3c94f549cc4 100644 --- a/packages/testlab/package.json +++ b/packages/testlab/package.json @@ -35,7 +35,7 @@ ], "dependencies": { "@hapi/shot": "^6.0.1", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/fs-extra": "^11.0.4", "@types/shot": "^4.0.5", "@types/sinon": "^17.0.3",