Skip to content

Commit

Permalink
AG-16039 update browsers compatibility
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 8b21f67982571b3855de83527456c6ea13100281
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu Oct 27 22:45:11 2022 +0300

    update browserstack config for safari

commit 4a8131c171494d1883dda2137d636fcba7aae61a
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu Oct 27 20:14:39 2022 +0300

    fix ie comment

commit 3b4cd0fcc00d05c53d1f938e3a4e975ad01246d6
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu Oct 27 20:13:00 2022 +0300

    specify edge, firefox, and opera in babel config

commit 0969f599371cacda693ac355e4cd1ee4c5079e6c
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu Oct 27 20:12:20 2022 +0300

    fix ie comment

commit 8e7f66a958ae59525edd5c91047f4a0b0178c6d1
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu Oct 27 20:12:01 2022 +0300

    support safari 11 or newer

commit 7a315fb5abcec14a6b97b2137d71799058212c25
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu Oct 27 20:11:28 2022 +0300

    do not support ie
  • Loading branch information
slavaleleka committed Oct 31, 2022
1 parent 7dd35ed commit fe3bad2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -819,5 +819,5 @@ ExtendedCss.query(selector);
| Firefox | ✅ 52 |
| Edge | ✅ 80 |
| Opera | ✅ 80 |
| Safari |10 |
| Safari |11 |
| Internet Explorer ||
11 changes: 7 additions & 4 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ module.exports = (api) => {
[
'@babel/env',
{
// we do not support ie 11,
// because it requires polyfills, which are modifying global scope
targets: [
'last 1 version',
'> 1%',
"chrome >= 55",
'safari >= 10',
// ie 11 is dead and no longer supported
'not dead',
'chrome >= 55',
'firefox >= 52',
'opera >= 80',
'edge >= 80',
'safari >= 11',
],
},
],
Expand Down
4 changes: 2 additions & 2 deletions test/browserstack/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ export const rawConfig = {
},
{
browser: 'Safari',
browser_version: '10',
browser_version: '11',
device: null,
os: 'OS X',
os_version: 'Sierra',
os_version: 'High Sierra',
},
],
};

0 comments on commit fe3bad2

Please sign in to comment.