Browserslist: Unable to exclude `op_mini` from queries

Created on 13 Jul 2016  ·  8Comments  ·  Source: browserslist/browserslist

Running: browserslist ">1%, not op_mini <= all" results in op_mini all not being excluded:

and_chr 51
and_uc 9.9
android 4.4
chrome 51
chrome 50
chrome 49
chrome 29
edge 13
firefox 47
firefox 46
ie 11
ios_saf 9.3
ios_saf 9.0-9.2
op_mini all
safari 9.1
samsung 4

Testing other browsers works as expected:
• Running: browserslist ">1%, not samsung <= 5" correctly excludes samsung 4
• Running browserslist ">1%, not chrome >= 50" correctly excludes chrome 51, chrome 50 but does include chrome 49 and chrome 29 which is correct.

I also tried browserslist ">1%, not op_mini" as the only value for op_mini is all

Have I missed something for non-numeric version numbers or is this a bug?

Most helpful comment

Released in 1.3.5

All 8 comments

There is no all version 😉.

@ai In the code block above:

...
ios_saf 9.3
ios_saf 9.0-9.2
op_mini all           <----- How do I exclude this?
safari 9.1
samsung 4
...

Seems like some new thing from Can I Use. Use not op_mini all.

$ browserslist ">1%, not op_mini all"
browserslist: Unknown browser query `op_mini all`

Ouh :(. Wait a second

Fixed 36a93e04f0fff55ad9f1eca7a100dd5b0a24

Released in 1.3.5

Thanks 👍

Was this page helpful?
0 / 5 - 0 ratings