felixge / node-sandboxed-module

A sandboxed node.js module loader that lets you inject dependencies into your modules.
MIT License
342 stars 42 forks source link

Add a recursive reference to the global object #57

Closed svi3c closed 10 months ago

svi3c commented 8 years ago

I would like to sandbox a module without mocking rxjs out. The problem is that it looks on the global object whether it has a recursive property pointing to itself: https://github.com/ReactiveX/rxjs/blob/5.0.0-beta.3/src/util/root.ts#L28