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

@@ -120,10 +120,10 @@ class InnerGraphPlugin {
statement.type === "FunctionDeclaration"
) {
const name = statement.id ? statement.id.name : "*default*";
const fn =
const symbol =
/** @type {TopLevelSymbol} */
(InnerGraph.tagTopLevelSymbol(parser, name));
statementWithTopLevelSymbol.set(statement, fn);
statementWithTopLevelSymbol.set(statement, symbol);
return true;
}
});
@@ -140,15 +140,15 @@ class InnerGraphPlugin {
)
) {
const name = statement.id ? statement.id.name : "*default*";
const fn = /** @type {TopLevelSymbol} */ (
const symbol = /** @type {TopLevelSymbol} */ (
InnerGraph.tagTopLevelSymbol(parser, name)
);
classWithTopLevelSymbol.set(statement, fn);
classWithTopLevelSymbol.set(statement, symbol);
return true;
}
if (statement.type === "ExportDefaultDeclaration") {
const name = "*default*";
const fn =
const symbol =
/** @type {TopLevelSymbol} */
(InnerGraph.tagTopLevelSymbol(parser, name));
const decl = statement.declaration;
@@ -165,7 +165,7 @@ class InnerGraphPlugin {
classWithTopLevelSymbol.set(
/** @type {ClassExpression | ClassDeclaration} */
(decl),
fn
symbol
);
} else if (
parser.isPure(
@@ -175,7 +175,7 @@ class InnerGraphPlugin {
(statement.range)[0]
)
) {
statementWithTopLevelSymbol.set(statement, fn);
statementWithTopLevelSymbol.set(statement, symbol);
if (
!decl.type.endsWith("FunctionExpression") &&
!decl.type.endsWith("Declaration") &&
@@ -207,20 +207,20 @@ class InnerGraphPlugin {
/** @type {Range} */ (decl.id.range)[1]
)
) {
const fn =
const symbol =
/** @type {TopLevelSymbol} */
(InnerGraph.tagTopLevelSymbol(parser, name));
classWithTopLevelSymbol.set(decl.init, fn);
classWithTopLevelSymbol.set(decl.init, symbol);
} else if (
parser.isPure(
decl.init,
/** @type {Range} */ (decl.id.range)[1]
)
) {
const fn =
const symbol =
/** @type {TopLevelSymbol} */
(InnerGraph.tagTopLevelSymbol(parser, name));
declWithTopLevelSymbol.set(decl, fn);
declWithTopLevelSymbol.set(decl, symbol);
if (
!decl.init.type.endsWith("FunctionExpression") &&
decl.init.type !== "Literal"
@@ -252,9 +252,9 @@ class InnerGraphPlugin {
if (parser.scope.topLevelScope === true) {
InnerGraph.setTopLevelSymbol(parser.state, undefined);
const fn = statementWithTopLevelSymbol.get(statement);
if (fn) {
InnerGraph.setTopLevelSymbol(parser.state, fn);
const symbol = statementWithTopLevelSymbol.get(statement);
if (symbol) {
InnerGraph.setTopLevelSymbol(parser.state, symbol);
const purePart = statementPurePart.get(statement);
if (purePart) {
InnerGraph.onUsage(parser.state, (usedByExports) => {
@@ -285,9 +285,9 @@ class InnerGraphPlugin {
(expr, statement) => {
if (!InnerGraph.isEnabled(parser.state)) return;
if (parser.scope.topLevelScope === true) {
const fn = classWithTopLevelSymbol.get(statement);
const symbol = classWithTopLevelSymbol.get(statement);
if (
fn &&
symbol &&
parser.isPure(
expr,
statement.id
@@ -295,7 +295,7 @@ class InnerGraphPlugin {
: /** @type {Range} */ (statement.range)[0]
)
) {
InnerGraph.setTopLevelSymbol(parser.state, fn);
InnerGraph.setTopLevelSymbol(parser.state, symbol);
onUsageSuper(expr);
}
}
@@ -307,8 +307,8 @@ class InnerGraphPlugin {
(element, classDefinition) => {
if (!InnerGraph.isEnabled(parser.state)) return;
if (parser.scope.topLevelScope === true) {
const fn = classWithTopLevelSymbol.get(classDefinition);
if (fn) {
const symbol = classWithTopLevelSymbol.get(classDefinition);
if (symbol) {
InnerGraph.setTopLevelSymbol(parser.state, undefined);
}
}
@@ -320,8 +320,8 @@ class InnerGraphPlugin {
(expression, element, classDefinition) => {
if (!InnerGraph.isEnabled(parser.state)) return;
if (parser.scope.topLevelScope === true) {
const fn = classWithTopLevelSymbol.get(classDefinition);
if (fn) {
const symbol = classWithTopLevelSymbol.get(classDefinition);
if (symbol) {
if (
!element.static ||
parser.isPure(
@@ -331,7 +331,7 @@ class InnerGraphPlugin {
: /** @type {Range} */ (element.range)[0]
)
) {
InnerGraph.setTopLevelSymbol(parser.state, fn);
InnerGraph.setTopLevelSymbol(parser.state, symbol);
if (element.type !== "MethodDefinition" && element.static) {
InnerGraph.onUsage(parser.state, (usedByExports) => {
switch (usedByExports) {
@@ -362,10 +362,10 @@ class InnerGraphPlugin {
parser.hooks.declarator.tap(PLUGIN_NAME, (decl, _statement) => {
if (!InnerGraph.isEnabled(parser.state)) return;
const fn = declWithTopLevelSymbol.get(decl);
const symbol = declWithTopLevelSymbol.get(decl);
if (fn) {
InnerGraph.setTopLevelSymbol(parser.state, fn);
if (symbol) {
InnerGraph.setTopLevelSymbol(parser.state, symbol);
if (pureDeclarators.has(decl)) {
if (
/** @type {ClassExpression} */