Closed dead-claudia closed 6 years ago
@isiahmeadows a PR would be much appreciated.
I'm not sure it's necessary, because as of Node 4, you could pretty much do
module.exports = vm.runInNewContext
directly. Before the new vm
API
(before Contextify was moved to core), this actually was very useful as a
boilerplate module.
On Fri, Nov 18, 2016, 03:01 Hage Yaapa notifications@github.com wrote:
@isiahmeadows https://github.com/isiahmeadows a PR would be much appreciated.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hacksparrow/safe-eval/issues/3#issuecomment-261471116, or mute the thread https://github.com/notifications/unsubscribe-auth/AERrBFyiQvXpYRUYFsfksVhD1Ke4mOvnks5q_VtJgaJpZM4K2H9s .
Keeping as is for backwards-compatibility.
This would make the module as simple as this: