
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@types/webpack-hot-middleware
Advanced tools
TypeScript definitions for webpack-hot-middleware
npm install --save @types/webpack-hot-middleware
This package contains type definitions for webpack-hot-middleware (https://github.com/webpack-contrib/webpack-hot-middleware).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-hot-middleware.
import { NextHandleFunction } from "connect";
import webpack = require("webpack");
export = WebpackHotMiddleware;
declare function WebpackHotMiddleware(
compiler: webpack.Compiler | webpack.MultiCompiler,
options?: WebpackHotMiddleware.MiddlewareOptions,
): NextHandleFunction & WebpackHotMiddleware.EventStream;
declare namespace WebpackHotMiddleware {
interface ClientOptions {
path?: string | undefined;
reload?: boolean | undefined;
name?: string | undefined;
timeout?: number | undefined;
overlay?: boolean | undefined;
noInfo?: boolean | undefined;
quiet?: boolean | undefined;
dynamicPublicPath?: boolean | undefined;
autoConnect?: boolean | undefined;
ansiColors?: {
[key: string]: any;
} | undefined;
overlayStyles?: {
[key: string]: any;
} | undefined;
overlayWarnings?: boolean | undefined;
}
interface MiddlewareOptions {
log?: false | Logger | undefined;
path?: string | undefined;
heartbeat?: number | undefined;
statsOptions?: webpack.StatsOptions;
}
type Logger = (message?: any, ...optionalParams: any[]) => void;
interface EventStream {
publish(payload: any): void;
close(): void;
}
}
These definitions were written by Benjamin Lim, Ron Martinez, Chris Abrams, and Rodrigo Saboya.
FAQs
TypeScript definitions for webpack-hot-middleware
The npm package @types/webpack-hot-middleware receives a total of 202,695 weekly downloads. As such, @types/webpack-hot-middleware popularity was classified as popular.
We found that @types/webpack-hot-middleware demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.