Update to Babel 8#21475
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #21475 +/- ##
==========================================
+ Coverage 89.80% 89.82% +0.01%
==========================================
Files 261 261
Lines 66346 66346
==========================================
+ Hits 59581 59592 +11
+ Misses 6765 6754 -11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Does that testing include the |
timvandermeij
left a comment
There was a problem hiding this comment.
Looks good to me, with the question above addressed. Thank you for helping out with this!
|
Just checked the two legacy builds, and the changes are the same as what described in the PR description. Note that the core-js changes are not in what is actually polyfilled, but just that now we call |
timvandermeij
left a comment
There was a problem hiding this comment.
r=me, with passing browser tests. Thank you!
|
/botio browsertest |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @timvandermeij received. Current queue size: 0 Live output at: http://54.193.163.58:8877/cadf627c878fa9f/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/cdd40e91b61e190/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/cdd40e91b61e190/output.txt Total script time: 18.11 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/cadf627c878fa9f/output.txt Total script time: 26.26 mins
Image differences available at: http://54.193.163.58:8877/cadf627c878fa9f/reftest-analyzer.html#web=eq.log |
|
/botio browsertest-windows |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @nicolo-ribaudo received. Current queue size: 0 Live output at: http://54.193.163.58:8877/67bbc5d509c42a2/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @nicolo-ribaudo received. Current queue size: 0 Live output at: http://54.241.84.105:8877/4bd101b6afd453e/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/4bd101b6afd453e/output.txt Total script time: 18.43 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/67bbc5d509c42a2/output.txt Total script time: 25.97 mins
|
I diffed the Babel 7 and Babel 8 builds for generic, mozcentral, and lib. They are almost identical.
mozcentralgenericandlib, when we inline the.ftlstrings inpdf.js/web/genericl10n.js
Lines 135 to 141 in 7e7ed1b
’, while Babel 7 converts it to\u2019).I had to inline the Babel plugin that injects the header comment in the
libbuild, as it didn't support Babel 7. I opened a PR (Shopify/babel-plugin-add-header-comment#9), but it's so simple that it's probably not worth waiting.The inlined plugin also keeps the copyright notice, which I believe should be there while it wasn't there before: