You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should we also apply the non-negative restriction to t.bigIntLiteral and t.decimalLiteral? Though the value accepts string only, but we can always check if it starts with -.
馃捇
How are you using Babel?
Programmatic API (
babel.transform
,babel.parse
)Input code
Configuration file name
No response
Configuration
none
Current and expected behavior
current
expected
Environment
System:
OS: macOS 12.3
Binaries:
Node: 20.2.0 - ~/Library/Caches/fnm_multishells/2251_1687933194251/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 9.6.6 - ~/Library/Caches/fnm_multishells/2251_1687933194251/bin/npm
pnpm: 7.27.1 - ~/Library/pnpm/pnpm
npmPackages:
@babel/core: ^7.22.9 => 7.22.9
Possible solution
wrap negative numbers in member expressions with parentheses
Additional context
No response
The text was updated successfully, but these errors were encountered: