browserslist.dev icon indicating copy to clipboard operation
browserslist.dev copied to clipboard

Adding "Firefox ESR" to query results in 0%

Open defx opened this issue 2 years ago • 4 comments

Steps to repro:

  1. try query like last 2 versions and > 0.5% and not dead and see coverage as expected (~76%)
  2. append "and Firefox ESR" and see coverage drop to 0%

defx avatar Mar 02 '22 12:03 defx

Can confirm this broke my query

Lagicrus avatar Mar 31 '22 23:03 Lagicrus

What is the expected output here?

If I run npx browserslist "last 2 versions and > 0.5% and not dead and Firefox ESR", I do not get any browser. Am I missing something?

ritz078 avatar Apr 06 '22 06:04 ritz078

Looks expected to me. This works fine: last 100 versions and > 0% and not dead and Firefox ESR First issue is that Firefox 91 is at 0.1%, which is less than 0.5%. Second issue is that Firefox 91 is not in the last 2 versions of Firefox.

Maybe Firefox ESR should be considered separate from Firefox, so that last 2 versions will still pick up the current ESR releases, but that'd be an issue for https://github.com/browserslist/browserslist

Dreamsorcerer avatar Apr 06 '22 16:04 Dreamsorcerer

What is the expected output here?

If I run npx browserslist "last 2 versions and > 0.5% and not dead and Firefox ESR", I do not get any browser. Am I missing something?

You probably want to use last 2 versions and > 0.5% and not dead, Firefox ESR as in:

  • find browsers that match
    • being two last versions
    • have market share of >0.5%
    • are not dead
  • also, add Firefox ESR

marek-saji avatar Aug 11 '22 15:08 marek-saji

Working as expected, closing.

miguelcalderon avatar May 05 '23 10:05 miguelcalderon