Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Count782342 opened this issue Jan 16, 2025 · 0 comments
Labels
question Further information is requested

Comments

@Count782342
Copy link

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.

@Count782342 Count782342 added the question Further information is requested label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant