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/webpack/lib/util/compileBooleanMatcher.js
generated
vendored
6
node_modules/webpack/lib/util/compileBooleanMatcher.js
generated
vendored
@@ -252,10 +252,10 @@ const itemsToRegexp = (itemsArr) => {
|
||||
|
||||
// special case for 2 items with common suffix
|
||||
if (finishedItems.length === 0 && items.size === 2) {
|
||||
/** @type {Iterator<string>} */
|
||||
/** @type {SetIterator<string>} */
|
||||
const it = items[Symbol.iterator]();
|
||||
const a = it.next().value;
|
||||
const b = it.next().value;
|
||||
const a = /** @type {string} */ (it.next().value);
|
||||
const b = /** @type {string} */ (it.next().value);
|
||||
if (a.length > 0 && b.length > 0 && a.slice(-1) === b.slice(-1)) {
|
||||
return `${itemsToRegexp([a.slice(0, -1), b.slice(0, -1)])}${quoteMeta(
|
||||
a.slice(-1)
|
||||
|
||||
Reference in New Issue
Block a user