Replace babel/polyfill with core-js 3 (foundation-2021 branch)

Description

@babel/polyfill has been deprecated and replaced with core-js@3, this actually occurred back in 2020.

We also have a customer request to upgrade babel polyfill 7.12.1 due to security concerns, going back to foundation-2021 and Powered By 2021.

NMS-16474 fixed this in develop, this is to fix it in foundation-2021 which will update Meridian 2021 / Powered By 2021.


This only affects legacy Javascript, in core/web-assets, not anything using Vue and vite.

Acceptance / Success Criteria

None

Activity

Show:

Scott Theleman November 4, 2024 at 5:41 PM
Edited

This has been tested and merged to foundation-2021, and we have left a note on the support ticket. Any Horizon/Meridian version 2021 or later should now be fixed.

Scott Theleman October 16, 2024 at 2:26 PM

To do on this:

Set up a local environment that builds using Java 9. Build Horizon with this branch. Run it and go through a bunch of screens and confirm everything seems to work, both as far as the display and also try to edit some things. Check the Javascript console and make sure there aren’t any errors. Main concern is just whether polyfills are working, i.e. any ES6 language features are correctly translated to browser-compatible equivalents.

If testing is ok, we can merge it to foundation-2021.

Fixed

Details

Assignee

Reporter

Sprint

Affects versions

Priority

PagerDuty

Created August 5, 2024 at 6:31 PM
Updated November 12, 2024 at 2:04 PM
Resolved November 4, 2024 at 5:41 PM