Skip to content

Several fucntions not flagged when using "last 7 years" #656

@KieranP

Description

@KieranP

I have my browserlist set to "last 7 years", so anything introduced after June 2018 shouldn't be usable without a polyfill.

I commented out my settings.polyfill and expected a bunch of alerts. Instead I only get a couple (for structuredClone and AbortController).

The following were introduced after June 2018, but aren't being flagged at all:

  • Array.flatMap (introduced late 2018)
  • Object.fromEntries (introduced early 2019)
  • String.replaceAll (introduced mid 2020)

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