Skip to content

expose JS_GetModuleNamespace (or rebase on upstream) #259

@justjake

Description

@justjake

Upstream decided to expose JS_GetModuleNamespace as an API to get the exports of a ESModule, see here:

https://github.com/bellard/quickjs/blob/2c793e50979e64a51178c1048071c97722eb1bf1/quickjs.h#L879

My library supports both upstream and quickjs-ng, so currently I need to patch in JS_GetModuleNamespace in my vendored copy of quickjs-ng

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