We’re currently in the process of upgrading from 0.17.x to 0.18.x and it seems that as part of the build process change, the ES target has somehow changed.
I’ve checked the tsconfig.json files across the repos and weirdly they were all targeting ES2020 even before the buildhelper change. However, in 0.18.0 using the old building method, ES2020 nullish coalescing (??
) was polyfilled, while 0.18.1 they were kept in the code.
((goalColumn !== null && goalColumn !== void 0 ? goalColumn : 33554431 /* NoGoalColumn */) << 5 /* GoalColumnOffset */));
((goalColumn ?? 33554431 /* NoGoalColumn */) << 5 /* GoalColumnOffset */));
Not sure if this was intentional - I’d prefer not to have to run the code through babel just to downgrade this because we still target devices in the 2017-2019 ranges.