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

@@ -13,6 +13,7 @@ const { forEachRuntime } = require("./util/runtime");
/** @typedef {import("./Dependency")} Dependency */
/** @typedef {import("./Dependency").RuntimeSpec} RuntimeSpec */
/** @typedef {import("./Dependency").ExportInfoName} ExportInfoName */
/** @typedef {import("./Dependency").ExportsSpecExcludeExports} ExportsSpecExcludeExports */
/** @typedef {import("./dependencies/HarmonyImportDependency")} HarmonyImportDependency */
/** @typedef {import("./Module")} Module */
@@ -25,8 +26,6 @@ const { forEachRuntime } = require("./util/runtime");
/** @typedef {typeof UsageState.OnlyPropertiesUsed | typeof UsageState.NoInfo | typeof UsageState.Unknown | typeof UsageState.Used} RuntimeUsageStateType */
/** @typedef {typeof UsageState.Unused | RuntimeUsageStateType} UsageStateType */
/** @typedef {string} ExportInfoName */
/** @typedef {Map<string, RuntimeUsageStateType>} UsedInRuntime */
/** @typedef {{ module: Module, export: ExportInfoName[], deferred: boolean }} TargetItemWithoutConnection */
/** @typedef {{ module: Module, connection: ModuleGraphConnection, export: ExportInfoName[] | undefined }} TargetItemWithConnection */
@@ -111,8 +110,11 @@ class ExportsInfo {
constructor() {
/** @type {Exports} */
this._exports = new Map();
/** @type {ExportInfo} */
this._otherExportsInfo = new ExportInfo(null);
/** @type {ExportInfo} */
this._sideEffectsOnlyInfo = new ExportInfo("*side effects only*");
/** @type {boolean} */
this._exportsAreOrdered = false;
/** @type {ExportsInfo=} */
this._redirectTo = undefined;
@@ -613,6 +615,7 @@ class ExportsInfo {
* @returns {ExportInfo[]} exports that are relevant (not unused and potential provided)
*/
getRelevantExports(runtime) {
/** @type {ExportInfo[]} */
const list = [];
for (const exportInfo of this._exports.values()) {
const used = exportInfo.getUsed(runtime);
@@ -655,6 +658,7 @@ class ExportsInfo {
* @returns {string} key representing the usage
*/
getUsageKey(runtime) {
/** @type {(string | number)[]} */
const key = [];
if (this._redirectTo !== undefined) {
key.push(this._redirectTo.getUsageKey(runtime));
@@ -916,7 +920,7 @@ class ExportInfo {
/** @type {Target | undefined} */
this._target = undefined;
if (initFrom && initFrom._target) {
this._target = new Map();
this._target = /** @type {Target} */ (new Map());
for (const [key, value] of initFrom._target) {
this._target.set(key, {
connection: value.connection,
@@ -1155,7 +1159,7 @@ class ExportInfo {
setTarget(key, connection, exportName, priority = 0) {
if (exportName) exportName = [...exportName];
if (!this._target) {
this._target = new Map();
this._target = /** @type {Target} */ (new Map());
this._target.set(key, {
connection,
export: /** @type {ExportInfoName[]} */ (exportName),