@ellx/framework
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "@ellx/framework", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Ellx full stack framework", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -32,3 +32,3 @@ export function bootstrap(modules, { conclureId, resolverId, mainPageId, entryPoint }) { | ||
if (source instanceof Promise) { | ||
source.then(code => node.source = code) | ||
node.source = source.then(code => node.source = code) | ||
.catch(error => node.source = error); | ||
@@ -55,3 +55,3 @@ } | ||
evaluated = new Function( | ||
'{module, exports, process, global, require}', | ||
'module, exports, global, require', | ||
`//# sourceURL=${url}\n${node.source}` | ||
@@ -69,8 +69,8 @@ ); | ||
try { | ||
evaluated({ | ||
evaluated( | ||
module, | ||
exports: module.exports, | ||
global: globalThis, | ||
require: id => requireModule(id, url) | ||
}); | ||
module.exports, | ||
globalThis, | ||
id => requireModule(id, url) | ||
); | ||
} | ||
@@ -77,0 +77,0 @@ catch (e) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36064