webpack-dev-server 4.11.0 → 4.11.1
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/client/index.js +2 -2
- package/package.json +3 -2
package/client/index.js
CHANGED
|
@@ -98,12 +98,11 @@ if (parsedResourceQuery.logging) {
|
|
|
98
98
|
if (typeof parsedResourceQuery.reconnect !== "undefined") {
|
|
99
99
|
options.reconnect = Number(parsedResourceQuery.reconnect);
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
logEnabledFeatures(enabledFeatures);
|
|
103
101
|
/**
|
|
104
102
|
* @param {string} level
|
|
105
103
|
*/
|
|
106
104
|
|
|
105
|
+
|
|
107
106
|
function setAllLogLevel(level) {
|
|
108
107
|
// This is needed because the HMR logger operate separately from dev server logger
|
|
109
108
|
webpackHotLog.setLogLevel(level === "verbose" || level === "log" ? "info" : level);
|
|
@@ -114,6 +113,7 @@ if (options.logging) {
|
|
|
114
113
|
setAllLogLevel(options.logging);
|
|
115
114
|
}
|
|
116
115
|
|
|
116
|
+
logEnabledFeatures(enabledFeatures);
|
|
117
117
|
self.addEventListener("beforeunload", function () {
|
|
118
118
|
status.isUnloading = true;
|
|
119
119
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webpack-dev-server",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.1",
|
|
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",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"p-retry": "^4.5.0",
|
|
68
68
|
"rimraf": "^3.0.2",
|
|
69
69
|
"schema-utils": "^4.0.0",
|
|
70
|
-
"selfsigned": "^2.
|
|
70
|
+
"selfsigned": "^2.1.1",
|
|
71
71
|
"serve-index": "^1.9.1",
|
|
72
72
|
"sockjs": "^0.3.24",
|
|
73
73
|
"spdy": "^4.0.2",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"@commitlint/config-conventional": "^16.2.1",
|
|
87
87
|
"@types/compression": "^1.7.2",
|
|
88
88
|
"@types/default-gateway": "^3.0.1",
|
|
89
|
+
"@types/node-forge": "^1.0.4",
|
|
89
90
|
"@types/rimraf": "^3.0.2",
|
|
90
91
|
"@types/sockjs-client": "^1.5.1",
|
|
91
92
|
"@types/trusted-types": "^2.0.2",
|