constructor(modulesMap, currentModule) {
		this._currentModule = currentModule;
		if (Array.isArray(modulesMap)) {
			const map = new Map();
			for (const info of modulesMap) {
				map.set(info.module, info);
			}
			modulesMap = map;
		}
		this._modulesMap = modulesMap;
	}
@param {ModuleInfo[] | Map<Module, ModuleInfo>} modulesMap all module info by module
@param {ConcatenatedModuleInfo} currentModule the current module info