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/container/HoistContainerReferencesPlugin.js
generated
vendored
6
node_modules/webpack/lib/container/HoistContainerReferencesPlugin.js
generated
vendored
@@ -34,7 +34,9 @@ class HoistContainerReferences {
|
||||
compiler.hooks.thisCompilation.tap(PLUGIN_NAME, (compilation) => {
|
||||
const hooks =
|
||||
getModuleFederationPlugin().getCompilationHooks(compilation);
|
||||
/** @type {Set<Dependency>} */
|
||||
const depsToTrace = new Set();
|
||||
/** @type {Set<Dependency>} */
|
||||
const entryExternalsToHoist = new Set();
|
||||
hooks.addContainerEntryDependency.tap(PLUGIN_NAME, (dep) => {
|
||||
depsToTrace.add(dep);
|
||||
@@ -89,6 +91,7 @@ class HoistContainerReferences {
|
||||
);
|
||||
|
||||
const containerRuntimes = chunkGraph.getModuleRuntimes(entryModule);
|
||||
/** @type {Set<string>} */
|
||||
const runtimes = new Set();
|
||||
|
||||
for (const runtimeSpec of containerRuntimes) {
|
||||
@@ -136,6 +139,7 @@ class HoistContainerReferences {
|
||||
|
||||
const containerRuntimes =
|
||||
chunkGraph.getModuleRuntimes(containerEntryModule);
|
||||
/** @type {Set<string>} */
|
||||
const runtimes = new Set();
|
||||
|
||||
for (const runtimeSpec of containerRuntimes) {
|
||||
@@ -198,7 +202,9 @@ class HoistContainerReferences {
|
||||
*/
|
||||
function getAllReferencedModules(compilation, module, type, includeInitial) {
|
||||
const collectedModules = new Set(includeInitial ? [module] : []);
|
||||
/** @type {WeakSet<Module>} */
|
||||
const visitedModules = new WeakSet([module]);
|
||||
/** @type {Module[]} */
|
||||
const stack = [module];
|
||||
|
||||
while (stack.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user