Skip to content

[Packager] Haste dependency regex is over-eager #88

Closed
@ide

Description

@ide

If you have method named require on an object and call it with something that looks like a path, Haste parses it and puts it in the module map. Instead it should look for object-less require calls and maybe explicitly allow global.require and window.require.

Repro: X.require('./hello')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueInterested in collaborating? Take a stab at fixing one of these issues.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions