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

@@ -5,6 +5,7 @@
"use strict";
const { getFullModuleName } = require("../ids/IdHelpers");
const { compareRuntime } = require("./runtime");
/** @typedef {import("../Chunk")} Chunk */
@@ -13,6 +14,7 @@ const { compareRuntime } = require("./runtime");
/** @typedef {import("../ChunkGraph")} ChunkGraph */
/** @typedef {import("../ChunkGraph").ModuleId} ModuleId */
/** @typedef {import("../ChunkGroup")} ChunkGroup */
/** @typedef {import("../Compiler")} Compiler */
/** @typedef {import("../Dependency").DependencyLocation} DependencyLocation */
/** @typedef {import("../Dependency")} Dependency */
/** @typedef {import("../dependencies/HarmonyImportSideEffectDependency")} HarmonyImportSideEffectDependency */
@@ -316,6 +318,19 @@ const compareModulesByIdOrIdentifier = (chunkGraph, a, b) => {
return compareIds(a.identifier(), b.identifier());
};
/**
* Compare modules by their full name. This differs from comparing by identifier in that the values have been normalized to be relative to the compiler context.
* @param {{ context: string, root: object }} compiler the compiler, used for context and cache
* @param {Module} a module
* @param {Module} b module
* @returns {-1 | 0 | 1} compare result
*/
const compareModulesByFullName = (compiler, a, b) => {
const aName = getFullModuleName(a, compiler.context, compiler.root);
const bName = getFullModuleName(b, compiler.context, compiler.root);
return compareIds(aName, bName);
};
/**
* @param {ChunkGraph} chunkGraph the chunk graph
* @param {Chunk} a chunk
@@ -519,7 +534,7 @@ const sortWithSourceOrder = (
dependencySourceOrderMap,
onDependencyReSort
) => {
/** @type {{dep: Dependency, main: number, sub: number}[]} */
/** @type {{ dep: Dependency, main: number, sub: number }[]} */
const withSourceOrder = [];
/** @type {number[]} */
const positions = [];
@@ -590,6 +605,11 @@ module.exports.compareIterables = compareIterables;
module.exports.compareLocations = compareLocations;
/** @type {ParameterizedComparator<Compiler, Module>} */
module.exports.compareModulesByFullName = createCachedParameterizedComparator(
compareModulesByFullName
);
/** @type {ParameterizedComparator<ChunkGraph, Module>} */
module.exports.compareModulesById =
createCachedParameterizedComparator(compareModulesById);