Skip to content

Compatibility issues with iOS versions due to hasOwn in react-markdown and regex in mdast-util-gfm-autolink-literal #888

Closed as duplicate of#804
@guoshencheng

Description

@guoshencheng

Initial checklist

Affected package

mdast-util-gfm-autolink-literal

Steps to reproduce

Use react-markdown with the mdast-util-gfm-autolink-literal dependency.
Test the rendering of Markdown content on various versions of iOS (maybe iOS 14).
Observe the compatibility issues resulting from the use of hasOwn and the regular expression limitations.

Actual behavior

crash and get some js error

hasOwn is not a function

Regexp error

Expected behavior

render success

Runtime

No response

Package manager

No response

Operating system

iOS 14.5

Build and bundle tools

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions