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 3.1.5 to 3.1.6

22

webpack-dev-server/index.d.ts

@@ -9,2 +9,3 @@ // Type definitions for webpack-dev-server 3.1

// Dave Cardwell <https://github.com/davecardwell>
// Katsuya Hino <https://github.com/dobogo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -19,3 +20,3 @@ // TypeScript Version: 2.3

import * as http from 'http';
import { Url } from "url";
import * as connectHistoryApiFallback from 'connect-history-api-fallback';

@@ -38,19 +39,2 @@ declare namespace WebpackDevServer {

interface Context {
match: RegExpMatchArray;
parsedUrl: Url;
}
type RewriteTo = (context: Context) => string;
interface Rewrite {
from: RegExp;
to: string | RegExp | RewriteTo;
}
interface HistoryApiFallbackConfig {
disableDotRule?: boolean;
rewrites?: Rewrite[];
}
interface Configuration {

@@ -93,3 +77,3 @@ /** Provides the ability to execute custom middleware after all other middleware internally within the server. */

/** When using the HTML5 History API, the index.html page will likely have to be served in place of any 404 responses. */
historyApiFallback?: boolean | HistoryApiFallbackConfig;
historyApiFallback?: boolean | connectHistoryApiFallback.Options;
/** Specify a host to use. By default this is localhost. */

@@ -96,0 +80,0 @@ host?: string;

10

webpack-dev-server/package.json
{
"name": "@types/webpack-dev-server",
"version": "3.1.5",
"version": "3.1.6",
"description": "TypeScript definitions for webpack-dev-server",

@@ -36,2 +36,7 @@ "license": "MIT",

"githubUsername": "davecardwell"
},
{
"name": "Katsuya Hino",
"url": "https://github.com/dobogo",
"githubUsername": "dobogo"
}

@@ -48,2 +53,3 @@ ],

"dependencies": {
"@types/connect-history-api-fallback": "*",
"@types/express": "*",

@@ -54,4 +60,4 @@ "@types/http-proxy-middleware": "*",

},
"typesPublisherContentHash": "cd5999ac649a5683fba54fef11fdae2ce102552b6d5d67c0f7298013ffb6c7a3",
"typesPublisherContentHash": "9bce9f41303d90e13266a572b78c486c8c837041c9d326ff6a48c68678ceb60d",
"typeScriptVersion": "2.3"
}

@@ -11,7 +11,7 @@ # Installation

Additional Details
* Last updated: Mon, 01 Apr 2019 19:57:43 GMT
* Dependencies: @types/webpack, @types/http-proxy-middleware, @types/express, @types/serve-static
* Last updated: Fri, 24 May 2019 17:01:27 GMT
* Dependencies: @types/webpack, @types/http-proxy-middleware, @types/express, @types/serve-static, @types/connect-history-api-fallback
* Global values: none
# Credits
These definitions were written by maestroh <https://github.com/maestroh>, Dave Parslow <https://github.com/daveparslow>, Zheyang Song <https://github.com/ZheyangSong>, Alan Agius <https://github.com/alan-agius4>, Artur Androsovych <https://github.com/arturovt>, Dave Cardwell <https://github.com/davecardwell>.
These definitions were written by maestroh <https://github.com/maestroh>, Dave Parslow <https://github.com/daveparslow>, Zheyang Song <https://github.com/ZheyangSong>, Alan Agius <https://github.com/alan-agius4>, Artur Androsovych <https://github.com/arturovt>, Dave Cardwell <https://github.com/davecardwell>, Katsuya Hino <https://github.com/dobogo>.
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