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

@@ -37,14 +37,18 @@ const TIMERS_SYMBOL = Symbol("webpack logger times");
const TIMERS_AGGREGATES_SYMBOL = Symbol("webpack logger aggregated times");
/** @typedef {EXPECTED_ANY[]} Args */
/** @typedef {(type: LogTypeEnum, args?: Args) => void} LogFn */
/** @typedef {(name: string | (() => string)) => WebpackLogger} GetChildLogger */
class WebpackLogger {
/**
* @param {(type: LogTypeEnum, args?: Args) => void} log log function
* @param {(name: string | (() => string)) => WebpackLogger} getChildLogger function to create child logger
* @param {LogFn} log log function
* @param {GetChildLogger} getChildLogger function to create child logger
*/
constructor(log, getChildLogger) {
/** @type {LogFn} */
this[LOG_SYMBOL] = log;
/** @type {GetChildLogger} */
this.getChildLogger = getChildLogger;
}
@@ -84,11 +88,11 @@ class WebpackLogger {
}
/**
* @param {EXPECTED_ANY} assertion assertion
* @param {boolean=} condition condition
* @param {Args} args args
*/
assert(assertion, ...args) {
if (!assertion) {
assert(condition, ...args) {
if (!condition) {
this[LOG_SYMBOL](LogType.error, args);
}
}

View File

@@ -99,6 +99,10 @@ module.exports = ({ level = "info", debug = false, console }) => {
* @returns {void}
*/
const logger = (name, type, args) => {
/**
* @template T
* @returns {[string?, ...T[]]} labeled args
*/
const labeledArgs = () => {
if (Array.isArray(args)) {
if (args.length > 0 && typeof args[0] === "string") {

View File

@@ -16,7 +16,7 @@ const arraySum = (array) => {
};
/**
* @param {EXPECTED_ANY[]} args items to be truncated
* @param {string[]} args items to be truncated
* @param {number} maxLength maximum length of args including spaces between
* @returns {string[]} truncated args
*/