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:
9
node_modules/webpack/lib/FlagDependencyExportsPlugin.js
generated
vendored
9
node_modules/webpack/lib/FlagDependencyExportsPlugin.js
generated
vendored
@@ -14,6 +14,7 @@ const Queue = require("./util/Queue");
|
||||
/** @typedef {import("./Dependency").ExportSpec} ExportSpec */
|
||||
/** @typedef {import("./Dependency").ExportsSpec} ExportsSpec */
|
||||
/** @typedef {import("./ExportsInfo")} ExportsInfo */
|
||||
/** @typedef {import("./ExportsInfo").ExportInfoName} ExportInfoName */
|
||||
/** @typedef {import("./ExportsInfo").RestoreProvidedData} RestoreProvidedData */
|
||||
/** @typedef {import("./Module")} Module */
|
||||
/** @typedef {import("./Module").BuildInfo} BuildInfo */
|
||||
@@ -50,7 +51,9 @@ class FlagDependencyExportsPlugin {
|
||||
// Step 1: Try to restore cached provided export info from cache
|
||||
logger.time("restore cached provided exports");
|
||||
asyncLib.each(
|
||||
modules,
|
||||
/** @type {import("neo-async").IterableCollection<Module>} */ (
|
||||
/** @type {unknown} */ (modules)
|
||||
),
|
||||
(module, callback) => {
|
||||
const exportsInfo = moduleGraph.getExportsInfo(module);
|
||||
// If the module doesn't have an exportsType, it's a module
|
||||
@@ -188,11 +191,14 @@ class FlagDependencyExportsPlugin {
|
||||
*/
|
||||
const mergeExports = (exportsInfo, exports) => {
|
||||
for (const exportNameOrSpec of exports) {
|
||||
/** @type {ExportInfoName} */
|
||||
let name;
|
||||
let canMangle = globalCanMangle;
|
||||
let terminalBinding = globalTerminalBinding;
|
||||
/** @type {ExportSpec["exports"]} */
|
||||
let exports;
|
||||
let from = globalFrom;
|
||||
/** @type {ExportSpec["export"]} */
|
||||
let fromExport;
|
||||
let priority = globalPriority;
|
||||
let hidden = false;
|
||||
@@ -270,6 +276,7 @@ class FlagDependencyExportsPlugin {
|
||||
|
||||
// Recalculate target exportsInfo
|
||||
const target = exportInfo.getTarget(moduleGraph);
|
||||
/** @type {undefined | ExportsInfo} */
|
||||
let targetExportsInfo;
|
||||
if (target) {
|
||||
const targetModuleExportsInfo =
|
||||
|
||||
Reference in New Issue
Block a user