Skip to content

Commit

Permalink
refactor!: drop support of IE11 (#4848)
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Mar 22, 2022
1 parent d7f6ea5 commit 70fe3ad
Show file tree
Hide file tree
Showing 13 changed files with 554 additions and 5,484 deletions.
1 change: 0 additions & 1 deletion .browserslistrc
Expand Up @@ -9,4 +9,3 @@ unreleased Edge versions
unreleased Firefox versions
unreleased Safari versions
unreleased Opera versions
IE 11
1 change: 0 additions & 1 deletion .eslintignore
@@ -1,7 +1,6 @@
coverage/
mocha.js
mocha.js.map
mocha-es2018.js
*.fixture.js
docs/_site
docs/api
Expand Down
1 change: 0 additions & 1 deletion .eslintrc.yml
Expand Up @@ -38,7 +38,6 @@ overrides:
- files:
- lib/nodejs/esm-utils.js
- rollup.config.js
- rollup_no-ie11.config.js
- scripts/pick-from-package-json.js
parserOptions:
ecmaVersion: 2018
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -5,7 +5,6 @@ docs/images/supporters
docs/api
mocha.js
mocha.js.map
mocha-es2018.js
.karma/
!lib/mocha.js

Expand Down
15 changes: 1 addition & 14 deletions karma.conf.js
Expand Up @@ -29,17 +29,11 @@ const BASE_BUNDLE_DIR_PATH = path.join(__dirname, '.karma');
const env = process.env;
const hostname = os.hostname();

if (fs.existsSync('./mocha.js') && fs.existsSync('./mocha-es5.js')) {
fs.renameSync('./mocha.js', './mocha-es2018.js');
fs.renameSync('./mocha-es5.js', './mocha.js');
}

const SAUCE_BROWSER_PLATFORM_MAP = {
'chrome@latest': 'Windows 10',
'MicrosoftEdge@latest': 'Windows 10',
'internet explorer@latest': 'Windows 10',
'firefox@latest': 'Windows 10',
'safari@latest': 'macOS 10.13'
'safari@latest': 'macOS 10.15'
};

const baseConfig = {
Expand Down Expand Up @@ -72,13 +66,6 @@ const baseConfig = {
mochaReporter: {
showDiff: true
},
customHeaders: [
{
match: '.*.html',
name: 'Content-Security-Policy',
value: "script-src https: 'self' 'unsafe-inline'"
}
],
customLaunchers: {
ChromeDebug: {
base: 'Chrome',
Expand Down
328 changes: 0 additions & 328 deletions karma_no-ie11.conf.js

This file was deleted.

0 comments on commit 70fe3ad

Please sign in to comment.