Update npm packages (73 packages including @jqhtml 2.3.36)
Update npm registry domain from privatenpm.hanson.xyz to npm.internal.hanson.xyz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
node_modules/webpack/lib/ProgressPlugin.js
generated
vendored
4
node_modules/webpack/lib/ProgressPlugin.js
generated
vendored
@@ -235,6 +235,7 @@ class ProgressPlugin {
|
||||
let doneModules = 0;
|
||||
let doneDependencies = 0;
|
||||
let doneEntries = 0;
|
||||
/** @type {Set<string>} */
|
||||
const activeModules = new Set();
|
||||
let lastUpdate = 0;
|
||||
|
||||
@@ -254,6 +255,7 @@ class ProgressPlugin {
|
||||
const percentByDependencies =
|
||||
doneDependencies /
|
||||
Math.max(lastDependenciesCount || 1, dependenciesCount);
|
||||
/** @type {number} */
|
||||
let percentageFactor;
|
||||
|
||||
switch (this.percentBy) {
|
||||
@@ -285,6 +287,7 @@ class ProgressPlugin {
|
||||
)}`
|
||||
);
|
||||
} else {
|
||||
/** @type {string[]} */
|
||||
const statItems = [];
|
||||
if (showEntries) {
|
||||
statItems.push(`${doneEntries}/${entriesCount} entries`);
|
||||
@@ -480,6 +483,7 @@ class ProgressPlugin {
|
||||
|
||||
// @ts-expect-error avoid dynamic require if bundled with webpack
|
||||
if (typeof __webpack_require__ !== "function") {
|
||||
/** @type {Set<string>} */
|
||||
const requiredLoaders = new Set();
|
||||
NormalModule.getCompilationHooks(compilation).beforeLoaders.tap(
|
||||
PLUGIN_NAME,
|
||||
|
||||
Reference in New Issue
Block a user