From 56a2874028524afc8109b68ae4505cddd476142f Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 27 Oct 2021 15:39:58 -0400 Subject: [PATCH] Prebid 6.0 (#7606) * Update .babelrc.js https://github.com/babel/babel/issues/7789 * Update browsers.json * Update README.md * Update .babelrc.js * Update package.json * Update package.json * Update package.json * Update package.json * Update .babelrc.js * Update package.json * Update wdio.conf.js --- .babelrc.js | 9 +++------ README.md | 4 +++- browsers.json | 8 -------- wdio.conf.js | 2 +- 4 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.babelrc.js b/.babelrc.js index 74d26caf0fd..c733b8876b7 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -16,12 +16,9 @@ module.exports = { { "targets": { "browsers": [ - "chrome >= 75", - "safari >=10", - "edge >= 70", - "ff >= 70", - "ie >= 11", - "ios >= 11" + ">0.25%", + "not ie 11", + "not op_mini all" ] } } diff --git a/README.md b/README.md index be16e9e3547..11fce459e56 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,8 @@ module.exports = { loader: 'babel-loader', // presets and plugins for Prebid.js must be manually specified separate from your other babel rule. // this can be accomplished by requiring prebid's .babelrc.js file (requires Babel 7 and Node v8.9.0+) + // as of Prebid 6, babelrc.js only targets modern browsers. One can change the targets and build for + // older browsers if they prefer, but integration tests on ie11 were removed in Prebid.js 6.0 options: require('prebid.js/.babelrc.js') } } @@ -314,7 +316,7 @@ For instructions on writing tests for Prebid.js, see [Testing Prebid.js](http:// ### Supported Browsers -Prebid.js is supported on IE11 and modern browsers. +Prebid.js is supported on IE11 and modern browsers until 5.x. 6.x+ transpiles to target >0.25%; not Opera Mini; not IE11. ### Governance Review our governance model [here](https://github.com/prebid/Prebid.js/tree/master/governance.md). diff --git a/browsers.json b/browsers.json index aad51ca6383..dd3955c47ea 100644 --- a/browsers.json +++ b/browsers.json @@ -15,14 +15,6 @@ "device": null, "os": "Windows" }, - "bs_ie_11_windows_10": { - "base": "BrowserStack", - "os_version": "10", - "browser": "ie", - "browser_version": "11.0", - "device": null, - "os": "Windows" - }, "bs_chrome_90_windows_10": { "base": "BrowserStack", "os_version": "10", diff --git a/wdio.conf.js b/wdio.conf.js index c9aaa3f160d..4865c03f339 100644 --- a/wdio.conf.js +++ b/wdio.conf.js @@ -9,7 +9,7 @@ function getCapabilities() { return platformMap[os]; } - // only IE 11, Chrome 80 & Firefox 73 run as part of functional tests + // only Chrome 80 & Firefox 73 run as part of functional tests // rest of the browsers are discarded. delete browsers['bs_chrome_79_windows_10']; delete browsers['bs_firefox_72_windows_10'];