Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module.paths is undefined inside sandbox #60

Open
chge opened this issue Sep 26, 2016 · 0 comments
Open

module.paths is undefined inside sandbox #60

chge opened this issue Sep 26, 2016 · 0 comments

Comments

@chge
Copy link

chge commented Sep 26, 2016

Some modules use undocumented property module.paths, but it seems that Module instance, that is used by sandboxed-module, lacks of that property.

I think the property (and maybe some others) could be simply monkeypatched to make sandbox look closer to the native environment.

chge pushed a commit to chge/tasty-sandbox that referenced this issue Sep 26, 2016
chge added a commit to chge/tasty-sandbox that referenced this issue Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant