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:
7
node_modules/webpack/lib/library/UmdLibraryPlugin.js
generated
vendored
7
node_modules/webpack/lib/library/UmdLibraryPlugin.js
generated
vendored
@@ -83,12 +83,13 @@ class UmdLibraryPlugin extends AbstractLibraryPlugin {
|
||||
type: options.type
|
||||
});
|
||||
|
||||
/** @type {UmdLibraryPluginOptions["optionalAmdExternalAsGlobal"]} */
|
||||
this.optionalAmdExternalAsGlobal = options.optionalAmdExternalAsGlobal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {LibraryOptions} library normalized library option
|
||||
* @returns {T | false} preprocess as needed by overriding
|
||||
* @returns {T} preprocess as needed by overriding
|
||||
*/
|
||||
parseOptions(library) {
|
||||
/** @type {LibraryName | undefined} */
|
||||
@@ -207,7 +208,6 @@ class UmdLibraryPlugin extends AbstractLibraryPlugin {
|
||||
replaceKeys(
|
||||
externals
|
||||
.map((m) => {
|
||||
let expr;
|
||||
let request = m.request;
|
||||
if (typeof request === "object") {
|
||||
request =
|
||||
@@ -219,7 +219,7 @@ class UmdLibraryPlugin extends AbstractLibraryPlugin {
|
||||
`Missing external configuration for type:${type}`
|
||||
);
|
||||
}
|
||||
expr = Array.isArray(request)
|
||||
let expr = Array.isArray(request)
|
||||
? `require(${JSON.stringify(
|
||||
request[0]
|
||||
)})${accessorToObjectAccess(request.slice(1))}`
|
||||
@@ -258,6 +258,7 @@ class UmdLibraryPlugin extends AbstractLibraryPlugin {
|
||||
)
|
||||
);
|
||||
|
||||
/** @type {string} */
|
||||
let amdFactory;
|
||||
if (optionalExternals.length > 0) {
|
||||
const wrapperArguments = externalsArguments(requiredExternals);
|
||||
|
||||
Reference in New Issue
Block a user