Skip to content

Polyfill doesn't check if TextDecoder is missing #21

Description

@davidliu

Been using this on react-native, but as of 0.74.0, the underlying hermes engine now includes TextEncoder, but doesn't have TextDecoder. Since the polyfill only checks if TextEncoder exists or not (making the assumption that they'd always exist/not exist together), the polyfill fails to fill in TextDecoder.

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