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

@@ -6,6 +6,7 @@
"use strict";
const Dependency = require("../Dependency");
const InitFragment = require("../InitFragment");
const Template = require("../Template");
const {
getDependencyUsedByExportsCondition
@@ -72,10 +73,15 @@ class HarmonyImportSpecifierDependency extends HarmonyImportDependency {
this.range = range;
this.idRanges = idRanges;
this.exportPresenceMode = exportPresenceMode;
/** @type {undefined | boolean} */
this.namespaceObjectAsContext = false;
/** @type {undefined | boolean} */
this.call = undefined;
/** @type {undefined | boolean} */
this.directImport = undefined;
/** @type {undefined | boolean | string} */
this.shorthand = undefined;
/** @type {undefined | boolean} */
this.asiSafe = undefined;
/** @type {UsedByExports | undefined} */
this.usedByExports = undefined;
@@ -336,10 +342,22 @@ HarmonyImportSpecifierDependency.Template = class HarmonyImportSpecifierDependen
*/
apply(dependency, source, templateContext) {
const dep = /** @type {HarmonyImportSpecifierDependency} */ (dependency);
const { moduleGraph, runtime } = templateContext;
const { moduleGraph, runtime, initFragments } = templateContext;
const connection = moduleGraph.getConnection(dep);
// Skip rendering depending when dependency is conditional
if (connection && !connection.isTargetActive(runtime)) return;
// Only render declaration for import specifier when the dependency is conditional
if (connection && !connection.isTargetActive(runtime)) {
initFragments.push(
new InitFragment(
`/* unused harmony import specifier */ var ${dep.name};\n`,
InitFragment.STAGE_HARMONY_IMPORTS,
0,
`unused import specifier ${dep.name}`
)
);
return;
}
const ids = dep.getIds(moduleGraph);
const {
@@ -431,6 +449,7 @@ HarmonyImportSpecifierDependency.Template = class HarmonyImportSpecifierDependen
const { moduleGraph, module, runtime, concatenationScope } =
templateContext;
const connection = moduleGraph.getConnection(dep);
/** @type {string} */
let exportExpr;
if (
connection &&