Socket
Socket
Sign inDemoInstall

@types/webpack-dev-server

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/webpack-dev-server - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

88

webpack-dev-server/index.d.ts

@@ -1,54 +0,54 @@

// Type definitions for webpack-dev-server 2.4.5
// Type definitions for webpack-dev-server 2.4
// Project: https://github.com/webpack/webpack-dev-server
// Definitions by: maestroh <https://github.com/maestroh>
// Dave Parslow <https://github.com/daveparslow>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module "webpack-dev-server" {
import * as webpack from 'webpack';
import * as core from 'express-serve-static-core';
import * as serveStatic from 'serve-static';
import * as http from 'http';
import * as webpack from 'webpack';
import * as core from 'express-serve-static-core';
import * as serveStatic from 'serve-static';
import * as http from 'http';
namespace WebpackDevServer {
export interface Configuration {
contentBase?: string;
hot?: boolean;
https?: boolean;
historyApiFallback?: boolean;
compress?: boolean;
proxy?: any;
staticOptions?: any;
quiet?: boolean;
noInfo?: boolean;
lazy?: boolean;
filename?: string| RegExp;
watchOptions?: webpack.WatchOptions;
publicPath: string;
headers?: any;
stats?: webpack.compiler.StatsOptions| webpack.compiler.StatsToStringOptions;
public?: string;
disableHostCheck?: boolean;
declare namespace WebpackDevServer {
interface Configuration {
contentBase?: string;
hot?: boolean;
https?: boolean;
historyApiFallback?: boolean;
compress?: boolean;
proxy?: any;
staticOptions?: any;
quiet?: boolean;
noInfo?: boolean;
lazy?: boolean;
filename?: string| RegExp;
watchOptions?: webpack.WatchOptions;
publicPath: string;
headers?: any;
stats?: webpack.compiler.StatsOptions| webpack.compiler.StatsToStringOptions;
public?: string;
disableHostCheck?: boolean;
setup?(app: core.Express): void;
}
setup?(app: core.Express): void;
}
}
export interface WebpackDevServer {
new (
webpack: webpack.compiler.Compiler,
config: Configuration
):WebpackDevServer;
declare class WebpackDevServer {
constructor(
webpack: webpack.compiler.Compiler,
config: WebpackDevServer.Configuration
);
listen(port: number,
hostname: string,
callback?: Function
): http.Server;
listen(
port: number,
hostname: string,
callback?: (...args: any[]) => any
): http.Server;
listen(port: number,
callback?: Function
): http.Server;
}
}
var wds: WebpackDevServer.WebpackDevServer;
listen(
port: number,
callback?: (...args: any[]) => any
): http.Server;
}
export = wds;
}
export = WebpackDevServer;
{
"name": "@types/webpack-dev-server",
"version": "2.4.0",
"version": "2.4.1",
"description": "TypeScript definitions for webpack-dev-server",

@@ -10,2 +10,6 @@ "license": "MIT",

"url": "https://github.com/maestroh"
},
{
"name": "Dave Parslow",
"url": "https://github.com/daveparslow"
}

@@ -25,4 +29,4 @@ ],

"peerDependencies": {},
"typesPublisherContentHash": "836d61db16bc485aaf6d393af2217fff844e70c25ff8062a5929481f8827de97",
"typesPublisherContentHash": "3643b01c3f6c99b0993e0e373c63e018a4a1daf710fb7bebef36d330c92f36a0",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Fri, 19 May 2017 23:42:36 GMT
* Last updated: Mon, 24 Jul 2017 18:01:45 GMT
* Dependencies: webpack, express-serve-static-core, serve-static, http

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by maestroh <https://github.com/maestroh>.
These definitions were written by maestroh <https://github.com/maestroh>, Dave Parslow <https://github.com/daveparslow>.

Sorry, the diff of this file is not supported yet

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