commenthol
commenthol
Unfortunately I'm having troubles to correctly attribute the "references" within the Map. With objects the path naming conventions are clear using dots or brackets. With Map there is no such...
Maybe that's related to the environment you're using. Try to use var instead of let or const.
Thanks for your contribution. I really honor your efforts. Nonetheless a breakout from the VM is still possible. The only limitation is that child_process is somehow prevented to be required....
There might be multiple options for you to choose from: - eval() / Function() - module.exports (see companion module [serialize-to-module](https://www.npmjs.com/package/serialize-to-module)) - [safer-eval](https://www.npmjs.com/package/safer-eval) (which I personally can't recommend) - [vm2](https://www.npmjs.com/package/vm2) (node...