Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/webpack-hot-middleware

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/webpack-hot-middleware - npm Package Compare versions

Comparing version 2.25.2 to 2.25.3

60

webpack-hot-middleware/index.d.ts

@@ -17,37 +17,37 @@ // Type definitions for webpack-hot-middleware 2.25

declare function WebpackHotMiddleware(
compiler: webpack.ICompiler,
options?: WebpackHotMiddleware.MiddlewareOptions
compiler: webpack.ICompiler,
options?: WebpackHotMiddleware.MiddlewareOptions
): NextHandleFunction & WebpackHotMiddleware.EventStream;
declare namespace WebpackHotMiddleware {
interface ClientOptions {
path?: string;
reload?: boolean;
name?: string;
timeout?: number;
overlay?: boolean;
noInfo?: boolean;
quiet?: boolean;
dynamicPublicPath?: boolean;
autoConnect?: boolean;
ansiColors?: {
[key: string]: any
};
overlayStyles?: {
[key: string]: any
};
overlayWarnings?: boolean;
}
interface MiddlewareOptions {
log?: false | Logger;
path?: string;
heartbeat?: number;
}
interface ClientOptions {
path?: string;
reload?: boolean;
name?: string;
timeout?: number;
overlay?: boolean;
noInfo?: boolean;
quiet?: boolean;
dynamicPublicPath?: boolean;
autoConnect?: boolean;
ansiColors?: {
[key: string]: any
};
overlayStyles?: {
[key: string]: any
};
overlayWarnings?: boolean;
}
interface MiddlewareOptions {
log?: false | Logger;
path?: string;
heartbeat?: number;
}
type Logger = (message?: any, ...optionalParams: any[]) => void;
type Logger = (message?: any, ...optionalParams: any[]) => void;
interface EventStream {
publish(payload: any): void;
close(): void;
}
interface EventStream {
publish(payload: any): void;
close(): void;
}
}
{
"name": "@types/webpack-hot-middleware",
"version": "2.25.2",
"version": "2.25.3",
"description": "TypeScript definitions for webpack-hot-middleware",

@@ -45,4 +45,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "0c51494371d0b603e21cbbbb27e8e168de7be49dbb5e81956e9bd5d6182248b6",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "d81a8a460209345e8599ff34db744ca24504d78872d507f85403ae47eb2ad344",
"typeScriptVersion": "3.0"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 17 Apr 2020 21:28:59 GMT
* Last updated: Fri, 15 May 2020 13:12:58 GMT
* Dependencies: [@types/connect](https://npmjs.com/package/@types/connect), [@types/webpack](https://npmjs.com/package/@types/webpack)

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc