A typescript package to execute JavaScript and TypeScript code in a webassembly quickjs sandbox
I think it would be ideal to have a preset babel config that does following: - Convert's any .then() etc into promises, setTimeOut() etc... (to ensure all code is awaited) - Loop protection (add breaks if loop is detected). - Convert require to import. Some things that might be useful - [tripwire](https://github.com/tjanczuk/tripwire) - breaks EVENT LOOP in C - useful... https://www.npmjs.com/package/loop-breaker?activeTab=readme https://codepen.io/jcubic/pen/yLKGWLa https://meta.stackoverflow.com/a/361084 https://github.com/mattdesl/babel-plugin-import-to-require https://www.npmjs.com/package/vite-plugin-require-transform?activeTab=code As well tons of existing babel plugins. Possibly a flag option would be suitable for this, or a plugin?
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by MarketingPip and has received 6 comments.