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

@@ -15,7 +15,7 @@ const BULK_SIZE = 3;
// We are using an object instead of a Map as this will stay static during the runtime
// so access to it can be optimized by v8
/** @type {{[key: string]: Map<string, string>}} */
/** @type {{ [key: string]: Map<string, string> }} */
const digestCaches = {};
class BulkUpdateHash extends Hash {
@@ -25,14 +25,20 @@ class BulkUpdateHash extends Hash {
*/
constructor(hashOrFactory, hashKey) {
super();
/** @type {undefined | string} */
this.hashKey = hashKey;
if (typeof hashOrFactory === "function") {
/** @type {undefined | HashFactory} */
this.hashFactory = hashOrFactory;
/** @type {undefined | Hash} */
this.hash = undefined;
} else {
/** @type {undefined | HashFactory} */
this.hashFactory = undefined;
/** @type {undefined | Hash} */
this.hash = hashOrFactory;
}
/** @type {string} */
this.buffer = "";
}
@@ -103,6 +109,7 @@ class BulkUpdateHash extends Hash {
* @returns {string | Buffer} digest
*/
digest(encoding) {
/** @type {undefined | Map<string, string | Buffer>} */
let digestCache;
const buffer = this.buffer;
if (this.hash === undefined) {