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

@@ -54,6 +54,7 @@ const {
/** @typedef {import("./dependencies/ModuleDependency")} ModuleDependency */
/** @typedef {import("./javascript/JavascriptParser").ImportAttributes} ImportAttributes */
/** @typedef {import("./rules/RuleSetCompiler").RuleSetRules} RuleSetRules */
/** @typedef {import("./rules/RuleSetCompiler").RuleSet} RuleSet */
/** @typedef {import("./util/fs").InputFileSystem} InputFileSystem */
/** @typedef {import("./util/identifier").AssociatedObjectForCache} AssociatedObjectForCache */
@@ -104,7 +105,7 @@ const {
/**
* @typedef {object} ParsedLoaderRequest
* @property {string} loader loader
* @property {string|undefined} options options
* @property {string | undefined} options options
*/
/** @typedef {import("./ModuleTypeConstants").JAVASCRIPT_MODULE_TYPE_AUTO} JAVASCRIPT_MODULE_TYPE_AUTO */
@@ -195,6 +196,7 @@ const needCalls = (times, callback) => (err) => {
*/
const mergeGlobalOptions = (globalOptions, type, localOptions) => {
const parts = type.split("/");
/** @type {undefined | T} */
let result;
let current = "";
for (const part of parts) {
@@ -302,6 +304,7 @@ const ruleSetCompiler = new RuleSetCompiler([
/** @typedef {import("../declarations/WebpackOptions").CssGeneratorOptions} CssGeneratorOptions */
/** @typedef {import("../declarations/WebpackOptions").CssModuleGeneratorOptions} CssModuleGeneratorOptions */
/* eslint-disable jsdoc/type-formatting */
/**
* @typedef {[
* [JAVASCRIPT_MODULE_TYPE_AUTO, JavascriptParser, JavascriptParserOptions, JavascriptGenerator, EmptyGeneratorOptions],
@@ -322,6 +325,7 @@ const ruleSetCompiler = new RuleSetCompiler([
* [string, Parser, ParserOptions, Generator, GeneratorOptions],
* ]} ParsersAndGeneratorsByTypes
*/
/* eslint-enable jsdoc/type-formatting */
/**
* @template {unknown[]} T
@@ -391,7 +395,9 @@ class NormalModuleFactory extends ModuleFactory {
() => new SyncBailHook(["createData", "resolveData"])
)
});
/** @type {ResolverFactory} */
this.resolverFactory = resolverFactory;
/** @type {RuleSet} */
this.ruleSet = ruleSetCompiler.compile([
{
rules: /** @type {RuleSetRules} */ (options.defaultRules)
@@ -400,7 +406,9 @@ class NormalModuleFactory extends ModuleFactory {
rules: /** @type {RuleSetRules} */ (options.rules)
}
]);
/** @type {string} */
this.context = context || "";
/** @type {InputFileSystem} */
this.fs = fs;
this._globalParserOptions = options.parser;
this._globalGeneratorOptions = options.generator;
@@ -662,7 +670,9 @@ class NormalModuleFactory extends ModuleFactory {
const useLoadersPre = [];
// handle .webpack[] suffix
/** @type {string} */
let resource;
/** @type {RegExpExecArray | null} */
let match;
if (
matchResourceData &&
@@ -853,7 +863,7 @@ class NormalModuleFactory extends ModuleFactory {
* @param {string} context context
*/
const defaultResolve = (context) => {
if (/^($|\?)/.test(unresolvedResource)) {
if (/^(?:$|\?)/.test(unresolvedResource)) {
resourceData = {
...cacheParseResource(unresolvedResource),
resource: unresolvedResource,
@@ -969,8 +979,11 @@ class NormalModuleFactory extends ModuleFactory {
(dependency).attributes;
const dependencyType = dependency.category || "";
const contextInfo = data.contextInfo;
/** @type {FileSystemDependencies} */
const fileDependencies = new LazySet();
/** @type {FileSystemDependencies} */
const missingDependencies = new LazySet();
/** @type {FileSystemDependencies} */
const contextDependencies = new LazySet();
/** @type {ResolveData} */
const resolveData = {
@@ -1185,7 +1198,7 @@ Add the extension to the request.`
(err, resolvedResource) => {
if (!err && resolvedResource) {
let hint = "";
const match = /(\.[^.]+)(\?|$)/.exec(unresolvedResource);
const match = /\.[^.]+(?:\?|$)/.exec(unresolvedResource);
if (match) {
const fixedRequest = unresolvedResource.replace(
/(\.[^.]+)(\?|$)/,
@@ -1335,7 +1348,10 @@ If changing the source code is not an option there is also a resolve options cal
);
},
(err, value) => {
callback(err, /** @type {(LoaderItem)[]} */ (value));
callback(
/** @type {Error | null} */ (err),
/** @type {(LoaderItem)[]} */ (value)
);
}
);
}