Skip to content

Usage of import as method names #380

Closed
@martines3000

Description

@martines3000

Hi. We are developing a project that is running inside a hardened JavaScript environment called SES (Secure EcmaScript) and this library is one of our sub-dependencies. SES doesn't allow overriding “reserved” keywords like import and this causes many issues for us.

My question is if it would be possible to maybe rename methods like this:

import(stream) {

from import(stream) to something like _import(stream). This would solve our problems.

Thank you for the help.

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