webpack-dev-middleware
Advanced tools
Comparing version 5.3.2 to 5.3.3
{ | ||
"name": "webpack-dev-middleware", | ||
"version": "5.3.2", | ||
"version": "5.3.3", | ||
"description": "A development middleware for webpack", | ||
@@ -88,2 +88,3 @@ "license": "MIT", | ||
"supertest": "^6.1.3", | ||
"typescript": "4.5.5", | ||
"webpack": "^5.68.0" | ||
@@ -90,0 +91,0 @@ }, |
@@ -168,3 +168,3 @@ /// <reference types="node" /> | ||
methods?: string | undefined; | ||
headers?: Headers<Request, Response>; | ||
headers?: Headers<Request_1, Response_1>; | ||
publicPath?: NonNullable<Configuration["output"]>["publicPath"]; | ||
@@ -179,3 +179,4 @@ stats?: Configuration["stats"]; | ||
Response_1 extends ServerResponse | ||
> = Middleware<Request, Response> & AdditionalMethods<Request, Response>; | ||
> = Middleware<Request_1, Response_1> & | ||
AdditionalMethods<Request_1, Response_1>; | ||
type Schema = import("schema-utils/declarations/validate").Schema; | ||
@@ -220,3 +221,3 @@ type Configuration = import("webpack").Configuration; | ||
callbacks: Callback[]; | ||
options: Options<Request, Response>; | ||
options: Options<Request_1, Response_1>; | ||
compiler: Compiler | MultiCompiler; | ||
@@ -237,5 +238,5 @@ watching: Watching | MultiWatching; | ||
| (( | ||
req: Request, | ||
res: Response, | ||
context: Context<Request, Response> | ||
req: Request_1, | ||
res: Response_1, | ||
context: Context<Request_1, Response_1> | ||
) => void | undefined | Record<string, string | number>) | ||
@@ -246,3 +247,3 @@ | undefined; | ||
Response_1 extends ServerResponse | ||
> = (req: Request, res: Response, next: NextFunction) => Promise<void>; | ||
> = (req: Request_1, res: Response_1, next: NextFunction) => Promise<void>; | ||
type GetFilenameFromUrl = (url: string) => string | undefined; | ||
@@ -260,3 +261,3 @@ type WaitUntilValid = (callback: Callback) => any; | ||
close: Close; | ||
context: Context<Request, Response>; | ||
context: Context<Request_1, Response_1>; | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78782
1708
33