This would allow us to archieve a better implementation of node:vm
At the moment node:vm still has its fair shares of memory vunerability issues etc.
Libraries so far have not been able to solve this issue.
Currently in TC 39 there is a proposal on Stage 2.7. I would wish for an early Implementation in Bun so that we can safely execute user scripts. Perhaps even go so far to add additional supports of feature activations like network, fs etc.
The proposal is here: https://github.com/tc39/proposal-shadowrealm
What is the feature you are proposing to solve the problem?
What is the problem this feature would solve?
This would allow us to archieve a better implementation of node:vm At the moment node:vm still has its fair shares of memory vunerability issues etc. Libraries so far have not been able to solve this issue.
Currently in TC 39 there is a proposal on Stage 2.7. I would wish for an early Implementation in Bun so that we can safely execute user scripts. Perhaps even go so far to add additional supports of feature activations like network, fs etc. The proposal is here: https://github.com/tc39/proposal-shadowrealm
What is the feature you are proposing to solve the problem?
early implementation of https://github.com/tc39/proposal-shadowrealm.
What alternatives have you considered?
https://www.npmjs.com/package/isolated-vm#frequently-asked-question