(module, references)
| 2877 | * @returns {boolean} true, when the references differ |
| 2878 | */ |
| 2879 | const compareReferences = (module, references) => { |
| 2880 | if (references === undefined) return true; |
| 2881 | for (const connection of moduleGraph.getOutgoingConnections(module)) { |
| 2882 | const d = connection.dependency; |
| 2883 | if (!d) continue; |
| 2884 | const entry = references.get(d); |
| 2885 | if (entry === undefined) continue; |
| 2886 | if (entry !== connection.module) return false; |
| 2887 | } |
| 2888 | return true; |
| 2889 | }; |
| 2890 | |
| 2891 | const modulesWithoutCache = new Set(modules); |
| 2892 | for (const [module, cachedMemCache] of moduleMemCacheCache) { |
nothing calls this directly
no test coverage detected