Skip to content

No longer works in browser environment after 1.3.2 #70

@ghost

Description

It looks like with 3d7cb57 you switched from using a plain Function() constructor to using the Node "vm" module for evaluation. Since "vm" is not available in browser environments (such as Electron or plain browser-ified code) it will no longer work there.

There are vm polyfills for browsers like this, but not sure how those fit into your bigger plans. Is browser environment something you care about?

Thanks!

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