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:
6
node_modules/enhanced-resolve/lib/forEachBail.js
generated
vendored
6
node_modules/enhanced-resolve/lib/forEachBail.js
generated
vendored
@@ -12,7 +12,7 @@
|
||||
* @template Z
|
||||
* @callback Iterator
|
||||
* @param {T} item item
|
||||
* @param {(err?: null|Error, result?: null|Z) => void} callback callback
|
||||
* @param {(err?: null | Error, result?: null | Z) => void} callback callback
|
||||
* @param {number} i index
|
||||
* @returns {void}
|
||||
*/
|
||||
@@ -22,7 +22,7 @@
|
||||
* @template Z
|
||||
* @param {T[]} array array
|
||||
* @param {Iterator<T, Z>} iterator iterator
|
||||
* @param {(err?: null|Error, result?: null|Z, i?: number) => void} callback callback after all items are iterated
|
||||
* @param {(err?: null | Error, result?: null | Z, i?: number) => void} callback callback after all items are iterated
|
||||
* @returns {void}
|
||||
*/
|
||||
module.exports = function forEachBail(array, iterator, callback) {
|
||||
@@ -30,7 +30,7 @@ module.exports = function forEachBail(array, iterator, callback) {
|
||||
|
||||
let i = 0;
|
||||
const next = () => {
|
||||
/** @type {boolean|undefined} */
|
||||
/** @type {boolean | undefined} */
|
||||
let loop;
|
||||
iterator(
|
||||
array[i++],
|
||||
|
||||
Reference in New Issue
Block a user