@types/webpack-dev-middleware
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -27,3 +27,3 @@ // Type definitions for webpack-dev-middleware 5.0 | ||
*/ | ||
mimeTypes?: MimeTypeMap; | ||
mimeTypes?: MimeTypeMap | undefined; | ||
/** | ||
@@ -33,3 +33,3 @@ * If true, the option will instruct the module to write files to the configured location on disk as specified in your webpack config file | ||
*/ | ||
writeToDisk?: boolean | ((filename: string) => boolean); | ||
writeToDisk?: boolean | ((filename: string) => boolean) | undefined; | ||
/** | ||
@@ -39,15 +39,15 @@ * This property allows a user to pass the list of HTTP request methods accepted by the server. | ||
*/ | ||
methods?: string[]; | ||
methods?: string[] | undefined; | ||
/** This property allows a user to pass custom HTTP headers on each request. eg. { "X-Custom-Header": "yes" } */ | ||
headers?: Record<string, string> | HeadersHandle; | ||
headers?: Record<string, string> | HeadersHandle | undefined; | ||
/** The public path that the middleware is bound to */ | ||
publicPath?: string; | ||
publicPath?: string | undefined; | ||
/** Instructs the module to enable or disable the server-side rendering mode */ | ||
serverSideRender?: boolean; | ||
serverSideRender?: boolean | undefined; | ||
/** Stats options object or preset name. */ | ||
stats?: webpack.Configuration['stats']; | ||
stats?: webpack.Configuration['stats'] | undefined; | ||
/** | ||
* Set the default file system which will be used by webpack as primary destination of generated files | ||
*/ | ||
outputFileSystem?: webpack.Compiler['outputFileSystem']; | ||
outputFileSystem?: webpack.Compiler['outputFileSystem'] | undefined; | ||
/** | ||
@@ -57,3 +57,3 @@ * The index path for web server, defaults to "index.html". | ||
*/ | ||
index?: string | boolean; | ||
index?: string | boolean | undefined; | ||
} | ||
@@ -60,0 +60,0 @@ |
{ | ||
"name": "@types/webpack-dev-middleware", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "TypeScript definitions for webpack-dev-middleware", | ||
@@ -47,4 +47,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-dev-middleware", | ||
}, | ||
"typesPublisherContentHash": "874bda2e0d686dbb1865279f5a60b48716fc1c6449511d6cf32ddeda5eb7101b", | ||
"typesPublisherContentHash": "d52700013bb0c84931a86db90ad235363def401cf78d79f9db8522b0efcd897f", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 03 Jun 2021 14:01:36 GMT | ||
* Last updated: Fri, 02 Jul 2021 18:05:27 GMT | ||
* Dependencies: [@types/webpack](https://npmjs.com/package/@types/webpack), [@types/connect](https://npmjs.com/package/@types/connect) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
7442