webpack-dev-server
Advanced tools
Comparing version
@@ -167,3 +167,3 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
} | ||
enabledFeatures.Overlay = true; | ||
enabledFeatures.Overlay = options.overlay !== false; | ||
} | ||
@@ -170,0 +170,0 @@ if (parsedResourceQuery.logging) { |
@@ -146,4 +146,4 @@ /******/ (function() { // webpackBootstrap | ||
/** | ||
* @param {function(LogTypeEnum, EXPECTED_ANY[]=): void} log log function | ||
* @param {function(string | function(): string): WebpackLogger} getChildLogger function to create child logger | ||
* @param {(type: LogTypeEnum, args?: EXPECTED_ANY[]) => void} log log function | ||
* @param {(name: string | (() => string)) => WebpackLogger} getChildLogger function to create child logger | ||
*/ | ||
@@ -476,9 +476,9 @@ function WebpackLogger(log, getChildLogger) { | ||
/** @typedef {function(string): boolean} FilterFunction */ | ||
/** @typedef {function(string, LogTypeEnum, EXPECTED_ANY[]=): void} LoggingFunction */ | ||
/** @typedef {(item: string) => boolean} FilterFunction */ | ||
/** @typedef {(value: string, type: LogTypeEnum, args?: EXPECTED_ANY[]) => void} LoggingFunction */ | ||
/** | ||
* @typedef {object} LoggerConsole | ||
* @property {function(): void} clear | ||
* @property {function(): void} trace | ||
* @property {() => void} clear | ||
* @property {() => void} trace | ||
* @property {(...args: EXPECTED_ANY[]) => void} info | ||
@@ -560,3 +560,2 @@ * @property {(...args: EXPECTED_ANY[]) => void} log | ||
}] : /** @type {FilterItemTypes[]} */[].concat(debug).map(filterToFunction); | ||
/** @type {number} */ | ||
var loglevel = LogLevel["".concat(level)] || 0; | ||
@@ -563,0 +562,0 @@ |
@@ -601,4 +601,5 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } | ||
} | ||
// if error stack indicates a React error boundary caught the error, do not show overlay. | ||
if (error.stack && error.stack.includes("invokeGuardedCallbackDev")) { | ||
if (error && error.stack && error.stack.includes("invokeGuardedCallbackDev")) { | ||
return; | ||
@@ -605,0 +606,0 @@ } |
{ | ||
"name": "webpack-dev-server", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"description": "Serves a webpack app. Updates the browser on changes.", | ||
@@ -65,3 +65,3 @@ "bin": "bin/webpack-dev-server.js", | ||
"graceful-fs": "^4.2.6", | ||
"http-proxy-middleware": "^2.0.7", | ||
"http-proxy-middleware": "^2.0.9", | ||
"ipaddr.js": "^2.1.0", | ||
@@ -97,3 +97,3 @@ "launch-editor": "^2.6.1", | ||
"babel-jest": "^29.5.0", | ||
"babel-loader": "^9.2.1", | ||
"babel-loader": "^10.0.0", | ||
"body-parser": "^1.19.2", | ||
@@ -123,3 +123,3 @@ "connect": "^3.7.0", | ||
"prettier": "^3.2.4", | ||
"puppeteer": "^23.6.1", | ||
"puppeteer": "^24.10.0", | ||
"readable-stream": "^4.5.2", | ||
@@ -126,0 +126,0 @@ "require-from-string": "^2.0.2", |
@@ -1360,2 +1360,3 @@ export = Server; | ||
* @param {string} headerToCheck | ||
* @param {boolean} validateHost | ||
* @returns {boolean} | ||
@@ -1362,0 +1363,0 @@ */ |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
548807
0.02%Updated