Skip to content

module.paths is undefined inside sandbox #60

@chge

Description

@chge

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions