💻
How are you using Babel?
Programmatic API (babel.transform, babel.parse)
Input code
After moving everything over to the WeakMap system, I forgot to remove the declaration, so the latest release of Babel includes an undefined index property: https://github.com/babel/babel/blob/main/packages/babel-parser/src/util/location.js#L13
Apologies! Should I just do a commit removing it?
Configuration file name
No response
Configuration
No response
Current and expected behavior
Expected: Shouldn't have an index property
Current: Has an index property.
Environment
Possible solution
No response
Additional context
No response
💻
How are you using Babel?
Programmatic API (
babel.transform,babel.parse)Input code
After moving everything over to the
WeakMapsystem, I forgot to remove the declaration, so the latest release of Babel includes anundefinedindex property: https://github.com/babel/babel/blob/main/packages/babel-parser/src/util/location.js#L13Apologies! Should I just do a commit removing it?
Configuration file name
No response
Configuration
No response
Current and expected behavior
Expected: Shouldn't have an index property
Current: Has an index property.
Environment
Possible solution
No response
Additional context
No response