[wp-trac] [WordPress Trac] #52331: Consider using more precise browser versions for `browserslist`

WordPress Trac noreply at wordpress.org
Thu Jan 21 19:11:41 UTC 2021


#52331: Consider using more precise browser versions for `browserslist`
------------------------------+------------------------------
 Reporter:  desrosj           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  4.9
 Severity:  normal            |  Resolution:
 Keywords:  2nd-opinion       |     Focuses:
------------------------------+------------------------------

Comment (by desrosj):

 Was playing around with some of this today. It looks like the
 `browserlist` package does not recognize the "Spartan" releases of Edge
 listed
 [https://en.wikipedia.org/wiki/Microsoft_Edge#Spartan_release_history
 here]. The
 [https://en.wikipedia.org/wiki/Microsoft_Edge#Anaheim_release_history
 current version is within the "Anaheim" series], but this series was not
 released until 1/15/2020 (shortly after WordPress 5.3).

 Running `npx browserslist "Edge >= 1"` produces the following output
 (which does not include any Spartan releases):
 {{{
 edge 87
 edge 86
 edge 85
 edge 84
 edge 83
 edge 81
 edge 80
 edge 79
 edge 18
 edge 17
 edge 16
 edge 15
 edge 14
 edge 13
 edge 12
 }}}

 With this in mind, I'm not sure what the versions for `Edge` should be for
 branches <= 5.3, but these adjustments to the table above are needed:
 - 5.6: >= 85
 - 5.5: >= 83
 - 5.4: >= 79

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52331#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list