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:
8
node_modules/webpack/lib/url/URLParserPlugin.js
generated
vendored
8
node_modules/webpack/lib/url/URLParserPlugin.js
generated
vendored
@@ -54,9 +54,7 @@ const isMetaUrl = (parser, arg) => {
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
* @type {WeakMap<NewExpressionNode, BasicEvaluatedExpression | undefined>}
|
||||
*/
|
||||
/** @type {WeakMap<NewExpressionNode, BasicEvaluatedExpression | undefined>} */
|
||||
const getEvaluatedExprCache = new WeakMap();
|
||||
|
||||
/**
|
||||
@@ -95,6 +93,7 @@ class URLParserPlugin {
|
||||
* @param {JavascriptParserOptions} options options
|
||||
*/
|
||||
constructor(options) {
|
||||
/** @type {JavascriptParserOptions} */
|
||||
this.options = options;
|
||||
}
|
||||
|
||||
@@ -167,6 +166,7 @@ class URLParserPlugin {
|
||||
const evaluatedExpr = getEvaluatedExpr(expr, parser);
|
||||
if (!evaluatedExpr) return;
|
||||
|
||||
/** @type {string | undefined} */
|
||||
let request;
|
||||
|
||||
// static URL
|
||||
@@ -190,7 +190,9 @@ class URLParserPlugin {
|
||||
if (this.options.dynamicUrl === false) return;
|
||||
|
||||
// context URL
|
||||
/** @type {undefined | RegExp} */
|
||||
let include;
|
||||
/** @type {undefined | RegExp} */
|
||||
let exclude;
|
||||
|
||||
if (importOptions) {
|
||||
|
||||
Reference in New Issue
Block a user