Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
systemRegisties.forEach(item => {
global[item.name] = item.default
item.aliasName.forEach(name => {
global[name] = item.default
})
System.registry.set(
System.resolveSync(item.name),
System.newModule(item.default)
)
})