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:
8
node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js
generated
vendored
8
node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js
generated
vendored
@@ -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;
|
||||
|
||||
8
node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js
generated
vendored
8
node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js
generated
vendored
@@ -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;
|
||||
|
||||
1
node_modules/webpack/lib/performance/NoAsyncChunksWarning.js
generated
vendored
1
node_modules/webpack/lib/performance/NoAsyncChunksWarning.js
generated
vendored
@@ -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";
|
||||
}
|
||||
};
|
||||
|
||||
12
node_modules/webpack/lib/performance/SizeLimitsPlugin.js
generated
vendored
12
node_modules/webpack/lib/performance/SizeLimitsPlugin.js
generated
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user