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:
root
2026-02-20 11:31:28 +00:00
parent d01a6179aa
commit b5eb27a827
1690 changed files with 47348 additions and 16848 deletions

View File

@@ -10,7 +10,7 @@ const WebpackError = require("../WebpackError");
/** @typedef {import("./SizeLimitsPlugin").AssetDetails} AssetDetails */
module.exports = class AssetsOverSizeLimitWarning extends WebpackError {
class AssetsOverSizeLimitWarning extends WebpackError {
/**
* @param {AssetDetails[]} assetsOverSizeLimit the assets
* @param {number} assetLimit the size limit
@@ -26,7 +26,11 @@ module.exports = class AssetsOverSizeLimitWarning extends WebpackError {
This can impact web performance.
Assets: ${assetLists}`);
/** @type {string} */
this.name = "AssetsOverSizeLimitWarning";
this.assets = assetsOverSizeLimit;
}
};
}
/** @type {typeof AssetsOverSizeLimitWarning} */
module.exports = AssetsOverSizeLimitWarning;

View File

@@ -10,7 +10,7 @@ const WebpackError = require("../WebpackError");
/** @typedef {import("./SizeLimitsPlugin").EntrypointDetails} EntrypointDetails */
module.exports = class EntrypointsOverSizeLimitWarning extends WebpackError {
class EntrypointsOverSizeLimitWarning extends WebpackError {
/**
* @param {EntrypointDetails[]} entrypoints the entrypoints
* @param {number} entrypointLimit the size limit
@@ -29,7 +29,11 @@ module.exports = class EntrypointsOverSizeLimitWarning extends WebpackError {
)}). This can impact web performance.
Entrypoints:${entrypointList}\n`);
/** @type {string} */
this.name = "EntrypointsOverSizeLimitWarning";
this.entrypoints = entrypoints;
}
};
}
/** @type {typeof EntrypointsOverSizeLimitWarning} */
module.exports = EntrypointsOverSizeLimitWarning;

View File

@@ -15,6 +15,7 @@ module.exports = class NoAsyncChunksWarning extends WebpackError {
"For more info visit https://webpack.js.org/guides/code-splitting/"
);
/** @type {string} */
this.name = "NoAsyncChunksWarning";
}
};

View File

@@ -34,12 +34,9 @@ const NoAsyncChunksWarning = require("./NoAsyncChunksWarning");
/** @type {WeakSet<Entrypoint | ChunkGroup | Source>} */
const isOverSizeLimitSet = new WeakSet();
/**
* @param {Asset["name"]} name the name
* @param {Asset["source"]} source the source
* @param {Asset["info"]} info the info
* @returns {boolean} result
*/
/** @typedef {(name: Asset["name"], source: Asset["source"], assetInfo: Asset["info"]) => boolean} AssetFilter */
/** @type {AssetFilter} */
const excludeSourceMap = (name, source, info) => !info.development;
const PLUGIN_NAME = "SizeLimitsPlugin";
@@ -50,8 +47,11 @@ module.exports = class SizeLimitsPlugin {
*/
constructor(options) {
this.hints = options.hints;
/** @type {number | undefined} */
this.maxAssetSize = options.maxAssetSize;
/** @type {number | undefined} */
this.maxEntrypointSize = options.maxEntrypointSize;
/** @type {AssetFilter | undefined} */
this.assetFilter = options.assetFilter;
}