Open chge opened 7 years ago
Some modules use undocumented property module.paths, but it seems that Module instance, that is used by sandboxed-module, lacks of that property.
module.paths
Module
sandboxed-module
I think the property (and maybe some others) could be simply monkeypatched to make sandbox look closer to the native environment.
Some modules use undocumented property
module.paths
, but it seems thatModule
instance, that is used bysandboxed-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.