Lint-Issues: xyz is not supported in IE 8 / outdated browsers
hbruch opened this issue · comments
Holger Bruch commented
Currently, lint returns > 700 warnings, ~50 of them xyz is not supported in IE 8
e.g.:
45:19 warning URL is not supported in IE 8 compat/compat
45:3 warning Blob is not supported in IE 8 compat/compat
62:3 warning URL.createObjectURL() is not supported in IE 8 compat/compat
204:15 warning document.createElementNS() is not supported in IE 8 compat/compat
227:5 warning XMLSerializer is not supported in IE 8 compat/compat
233:10 warning Promise is not supported in IE 8 compat/compat
348:10 warning Promise is not supported in IE 8 compat/compat
120:10 warning Promise.all() is not supported in IE 8 compat/compat
27:12 warning Promise.resolve() is not supported in IE 8 compat/compat
Currently, digitransit-ui aims to support the following browsers:
$ npx browserslist
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
and_chr 98
and_ff 96
chrome 97
chrome 96
chrome 95
chrome 94
chrome 93
chrome 87
chrome 80
chrome 79
chrome 72
chrome 70
chrome 69
chrome 64
edge 97
edge 96
firefox 96
firefox 95
firefox 91
firefox 78
ie 8
ios_saf 15.2-15.3
ios_saf 15.0-15.1
ios_saf 14.5-14.8
ios_saf 14.0-14.4
ios_saf 13.4-13.7
ios_saf 12.2-12.5
opera 82
safari 15.2-15.3
safari 15.1
safari 15
safari 14.1
safari 14
safari 13.1
samsung 16.0
samsung 15.0
samsung 7.2-7.4
package.json currently explicitly requires:
"browserslist": [
"> 0.2% in FI",
"not op_mini all",
"not IE 11"
],
IE8 (and others) should be excluded from the supported browsers,
Holger Bruch commented
Fixed via #4739