webpack-dev-server 4.15.0 → 4.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/Server.js CHANGED
@@ -2955,7 +2955,9 @@ class Server {
2955
2955
 
2956
2956
  if (/** @type {NormalizedOpen[]} */ (this.options.open).length > 0) {
2957
2957
  const openTarget = prettyPrintURL(
2958
- !this.options.host || this.options.host === "0.0.0.0"
2958
+ !this.options.host ||
2959
+ this.options.host === "0.0.0.0" ||
2960
+ this.options.host === "::"
2959
2961
  ? "localhost"
2960
2962
  : this.options.host
2961
2963
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpack-dev-server",
3
- "version": "4.15.0",
3
+ "version": "4.15.2",
4
4
  "description": "Serves a webpack app. Updates the browser on changes.",
5
5
  "bin": "bin/webpack-dev-server.js",
6
6
  "main": "lib/Server.js",
@@ -50,7 +50,7 @@
50
50
  "@types/serve-index": "^1.9.1",
51
51
  "@types/serve-static": "^1.13.10",
52
52
  "@types/sockjs": "^0.3.33",
53
- "@types/ws": "^8.5.1",
53
+ "@types/ws": "^8.5.5",
54
54
  "ansi-html-community": "^0.0.8",
55
55
  "bonjour-service": "^1.0.11",
56
56
  "chokidar": "^3.5.3",
@@ -72,7 +72,7 @@
72
72
  "serve-index": "^1.9.1",
73
73
  "sockjs": "^0.3.24",
74
74
  "spdy": "^4.0.2",
75
- "webpack-dev-middleware": "^5.3.1",
75
+ "webpack-dev-middleware": "^5.3.4",
76
76
  "ws": "^8.13.0"
77
77
  },
78
78
  "devDependencies": {
@@ -1,7 +1,11 @@
1
+ /// <reference types="node" />
1
2
  export = WebsocketServer;
2
3
  declare class WebsocketServer extends BaseServer {
3
4
  static heartbeatInterval: number;
4
- implementation: WebSocket.Server<WebSocket.WebSocket>;
5
+ implementation: WebSocket.Server<
6
+ typeof WebSocket,
7
+ typeof import("http").IncomingMessage
8
+ >;
5
9
  }
6
10
  declare namespace WebsocketServer {
7
11
  export { WebSocketServerConfiguration, ClientConnection };