Repository navigation
lib: replace acorn with amaro - #66902
avivkeller wants to merge 1 commit into
Conversation
Signed-off-by: avivkeller <me@aviv.sh>
|
Review requested:
|
|
the amaro update should be in a separate commit from the automation |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #66902 +/- ##
==========================================
+ Coverage 90.57% 90.61% +0.03%
==========================================
Files 797 797
Lines 278502 278094 -408
Branches 53540 53483 -57
==========================================
- Hits 252247 251985 -262
+ Misses 16592 16438 -154
- Partials 9663 9671 +8
🚀 New features to boost your workflow:
|
|
Will rebase this PR once the automated PR (#66144) lands |
| // startColumn; the source line may be incomplete JavaScript, so it is not | ||
| // parsed as a whole. | ||
| getFirstExpression ??= | ||
| require('internal/deps/amaro/dist/internal').getFirstExpression; |
There was a problem hiding this comment.
is there a performance impact of replacing this? can you ensure we don't regress via benchmarks? if we don't please resolve this comment.
There was a problem hiding this comment.
Yes, there is... it's faster than Acorn :-), I'll provide benchmarks
There was a problem hiding this comment.
Can you attach it to pr description
Replaces the Acorn library with our own Amaro library