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/library/AssignLibraryPlugin.js
generated
vendored
8
node_modules/webpack/lib/library/AssignLibraryPlugin.js
generated
vendored
@@ -33,7 +33,7 @@ const AbstractLibraryPlugin = require("./AbstractLibraryPlugin");
|
||||
*/
|
||||
|
||||
const KEYWORD_REGEX =
|
||||
/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;
|
||||
/^(?:await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;
|
||||
const IDENTIFIER_REGEX =
|
||||
/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;
|
||||
|
||||
@@ -128,15 +128,19 @@ class AssignLibraryPlugin extends AbstractLibraryPlugin {
|
||||
pluginName: "AssignLibraryPlugin",
|
||||
type: options.type
|
||||
});
|
||||
/** @type {AssignLibraryPluginOptions["prefix"]} */
|
||||
this.prefix = options.prefix;
|
||||
/** @type {AssignLibraryPluginOptions["declare"]} */
|
||||
this.declare = options.declare;
|
||||
/** @type {AssignLibraryPluginOptions["unnamed"]} */
|
||||
this.unnamed = options.unnamed;
|
||||
/** @type {AssignLibraryPluginOptions["named"]} */
|
||||
this.named = options.named || "assign";
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {LibraryOptions} library normalized library option
|
||||
* @returns {T | false} preprocess as needed by overriding
|
||||
* @returns {T} preprocess as needed by overriding
|
||||
*/
|
||||
parseOptions(library) {
|
||||
const { name } = library;
|
||||
|
||||
Reference in New Issue
Block a user