1
1
mirror of https://github.com/primer/css.git synced 2024-09-11 16:36:07 +03:00

Adding deprecation warning for browserslist update

This commit is contained in:
Jon Rohan 2021-04-01 11:04:14 -07:00
parent b503647c42
commit 63b125cd05
No known key found for this signature in database
GPG Key ID: B0BBE304A9A0AECB
2 changed files with 12 additions and 10 deletions

View File

@ -1,10 +1,6 @@
# Supported Browsers: https://help.github.com/articles/supported-browsers/
# File used by ESLint
last 10 Chrome versions
last 4 Firefox versions
last 3 Safari versions
not Safari 12
last 4 Edge versions
not Edge <= 18
Firefox ESR
> 5%
last 2 firefox versions
last 2 chrome versions
last 2 safari versions
last 2 edge versions
ie 11

View File

@ -4,6 +4,12 @@
* array and a "message" string.
*/
const versionDeprecations = {
'17.0.0': [
{
selectors: [':-ms-input-placeholder'],
message: 'Browserslist update to match github has removed the need for this pseudoselector'
}
],
'16.0.0': [
{
selectors: [