[Bug]: Updating @babel/core from 7.17.8 to 7.17.9 caused code to be transpiled incorrectly.. #14520
Labels
i: needs triage
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
馃捇
How are you using Babel?
@babel/cli
Input code
I tried to reproduce this in the REPL, but 7.17.10 isn't an option there and that's the only version where I've seen this happen.
Configuration file name
babel.config.js
Configuration
No response
Current and expected behavior
I have this simple method that produces a
get
function that will be used to build an accessor. It' simple enough that up through 7.17.8 it came out of the transpiler with only whitespace changes:After updating
@babel/core
from7.17.8
to7.17.10
it's getting transpiled to this:Environment
@babel/core
-7.17.10
node v16.14.0
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: