-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of #374 but non-breaking The express 5 beta 3 is fully operational and tested by community, but its release is delayed. The current issue is that it's also outdated comparing to v4.18.2, having nested dependencies of older versions. latest tracking issue: ``` expressjs/discussions#233 ``` previous one: ``` expressjs/express#5205 ``` Latest proposal: ``` expressjs/discussions#160 ``` Probably it will be ready in march 🤞🏽 (no, it's not) ``` expressjs/express#5111 (comment) ```
- Loading branch information
Showing
9 changed files
with
252 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: Example API | ||
version: 20.9.2 | ||
version: 20.10.0-beta.1 | ||
paths: | ||
/v1/user/retrieve: | ||
get: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/node_modules/@types/express-serve-static-core/index.d.ts b/node_modules/@types/express-serve-static-core/index.d.ts | ||
index aee3041..69755e5 100644 | ||
--- a/node_modules/@types/express-serve-static-core/index.d.ts | ||
+++ b/node_modules/@types/express-serve-static-core/index.d.ts | ||
@@ -61,7 +61,7 @@ export interface RequestHandler< | ||
req: Request<P, ResBody, ReqBody, ReqQuery, LocalsObj>, | ||
res: Response<ResBody, LocalsObj>, | ||
next: NextFunction, | ||
- ): void; | ||
+ ): void | Promise<void>; | ||
} | ||
|
||
export type ErrorRequestHandler< | ||
@@ -75,7 +75,7 @@ export type ErrorRequestHandler< | ||
req: Request<P, ResBody, ReqBody, ReqQuery, LocalsObj>, | ||
res: Response<ResBody, LocalsObj>, | ||
next: NextFunction, | ||
-) => void; | ||
+) => void | Promise<void>; | ||
|
||
export type PathParams = string | RegExp | Array<string | RegExp>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.