Skip to content

vm.SourceTextModule without the code parameter for code protection #35847

Closed

Description

@lacmuch

vm.SourceTextModule without code parameter for code protection like in https://github.com/OsamaAbbas/bytenode/blob/master/index.js for vm.Script on line near 187
pass only cachedData contains bytecode... now if we do it like in the code above, some random errors occur.

Activity

  1. devsnek commented on Oct 28, 2020

    @devsnek
    Member

    You'll have to ask for that functionality from V8 (https://bugs.chromium.org/p/v8/).

  2. lacmuch commented on Oct 28, 2020

    @lacmuch
    Author

    Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions