Skip to content

I'm not understanding why the generated Firefox regex matches EOL versions #1559

Open
@Count782342

Description

@Count782342

Describe your question

When I run the supportedBrowsers command to generate with option: allowHigherVersions, the generated Firefox regex matches with v115+. Without the allowHigherVersions, the regex generated matches against 115, 127, and 128

I've checked Firefox ESR and it's at 128 and 115 hit EOL months ago.

My browserlistrc file has the values:

0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11

And when i run npx browserslist, these are the firefox versions it shows:

firefox 133
firefox 132
firefox 128

So I don't get why it's giving me versions under 132 and 128

I also ran npx update-browserslist-db@latest and I still get the same regexp generated.

Is there something I need to change to have more updated versions only show up in the regex. Planning to have this run automatically as part of the build, so I'd rather not have to change it manually to exclude versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions