replace @babel packages that have moved from "proposed" to "official"

Description

Summary: Use official plugin names for syntax extensions that moved from "proposed" to "official", e.g. plugin-proposal-private-methods is now plugin-tranform-private-methods

Details: we reference several libraries in webpack/babel-options.js that previously were provided by @babel/preset-env. Technically, we should always have included them in our package.json as direct dependencies, but since @babel/preset-env also depended on them we never noticed they were missing. Recently, however, babel replaced many of instances of @babel/plugin-proposal-foo with @babel/plugin-transform-foo, causing STRWEB-86. We added these missing dependencies to correct this omission, but the Even More Correct fix is to update both babel-options.js and package.json to use the new, official transforms instead of the old, proposed transforms.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 31, 2023 at 2:40 PM
Updated October 4, 2023 at 1:34 PM
Resolved June 15, 2023 at 8:14 AM
TestRail: Cases
TestRail: Runs

Flag notifications