2.1.0 • Published 2 years ago
version-conflict-demo v2.1.0
About
This is small and simple package to provoke version conflicts while using Module Federation
1.x
Version 1.x exports this simple function
export function getCurrentDate(): number {
return Date.now();
}
2.x
Version 2.x removes getCurrentDate()
and exports this simple function
export function getRandomName(): string {
const names = ['Timo', 'Elke', 'Stefan', 'Shalini', 'Frank', 'Melanie', 'Phil'];
return names[Math.floor(Math.random() * names.length)];
}