-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update polyfills to use core-js. #1142
Conversation
We currently run IE tests during release prep but are working on setting up Travis-ci and Browserstack integration for builds. The polyfills used previously are from MDN. As it happens I'm testing IE now and we're also breaking on Would you update this PR to |
We've had some nagging issues with unit tests not playing nicely in all IE versions so we've disabled IE tests with Travis-ci for now. but we want to get them added and working soon. |
I could only find one use of it: Prebid.js/src/adapters/widespace.js Line 48 in b33a229
|
@@ -828,7 +828,7 @@ babel-polyfill@^6.13.0: | |||
core-js "^2.4.0" | |||
regenerator-runtime "^0.10.0" | |||
|
|||
babel-preset-es2015@^6.5.0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you revert these changes? I don't think they relate to the polyfill
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, we'll look further at Symbol.iterator and for...of
issue.
…built * 'master' of https://github.com/prebid/Prebid.js: (23 commits) Prebid 0.22.2 Release Renderer test - use httpbin/post endpoint in place of domain alone AdKernal - comment out console.warn in test WideOrbit - remove test referencing url with redirect add karma-es5-shim again via yarn Widespace - fix lint error on build and test Fix Object.assign support for IE11 & < Widespace - use forEach in place of for...of Underdogmedia - use forEach in place of for...of PlusepointLite - comment out breaking tests Prebid 0.22.1 Release set babel plugins @6.22.0 lock down babel packages @6.24.1 PulsePointLite: comment out breaking adapter test Prebid 0.22.0 Release Update polyfills to use core-js. (prebid#1142) Mantis - comment out breaking test Add Trion Interactive adapter (prebid#1059) HuddledMasses header bidding adapter (prebid#1095) Add support for custom floor value in rubicon video and increased code coverage. (prebid#1102) ...
…20.0 to aolgithub-master * commit '80a37975d00dadcb5b3e995e26b6fe0a0435f873': (42 commits) Updated build status indicator. Added adapters in aolPartnersIds.json. Added changelog entry. Prebid 0.22.2 Release Renderer test - use httpbin/post endpoint in place of domain alone AdKernal - comment out console.warn in test WideOrbit - remove test referencing url with redirect add karma-es5-shim again via yarn Widespace - fix lint error on build and test Fix Object.assign support for IE11 & < Widespace - use forEach in place of for...of Underdogmedia - use forEach in place of for...of PlusepointLite - comment out breaking tests Prebid 0.22.1 Release set babel plugins @6.22.0 lock down babel packages @6.24.1 PulsePointLite: comment out breaking adapter test Prebid 0.22.0 Release Update polyfills to use core-js. (prebid#1142) Mantis - comment out breaking test ...
Type of change
Description of change
Reduces file size by 9K. Fixes #1125. From https://babeljs.io/docs/usage/polyfill/ which recommends https://github.com/zloirock/core-js#commonjs
I'd prefer to revert #962 over this to save an additional 6K, as I can't reproduce the IE error. I think they were basically the standard polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find
When do you run IE tests? Is travis-ci doing this on each PR? Is there coverage for this?