fix: find whitespace from operator position to start#5584
fix: find whitespace from operator position to start#5584lukastaegert merged 1 commit intomasterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#fix-5583Notice: Ensure you have installed the latest stable Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust. or load it into the REPL: |
Performance report!Rough benchmark
Internal benchmark
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5584 +/- ##
=======================================
Coverage 99.05% 99.05%
=======================================
Files 241 241
Lines 9273 9280 +7
Branches 2444 2446 +2
=======================================
+ Hits 9185 9192 +7
Misses 58 58
Partials 30 30 ☔ View full report in Codecov by Sentry. |
lukastaegert
left a comment
There was a problem hiding this comment.
Thanks so much for the fix! This makes me wonder if we should not consider including ParenthesizedExpression nodes at some point, even if they are non-standard. But maybe they would cause more problems in other areas...
|
This PR has been released as part of rollup@4.19.1. You can test it via |
|
The SWC AST include |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
resolves #5583
Description