Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
bf7ae1f
transform discard binding
JLHwung Apr 30, 2025
2524782
refactor extract functions to utils.ts
JLHwung Apr 30, 2025
cbd6c81
expand scope integrity check to all binding identifiers
JLHwung Apr 30, 2025
6afa04c
update incomplete comment
JLHwung Apr 30, 2025
c2ba0eb
update test output fixtures
JLHwung Apr 30, 2025
90a1f2f
remove forXStatement skip
JLHwung May 1, 2025
71ab6f6
add more test cases
JLHwung May 1, 2025
344b8ed
feat: remove trailing void patterns on ignoreFunctionLength assumption
JLHwung May 2, 2025
1568180
make node 6 happy
JLHwung May 2, 2025
590d1d3
add more test cases
JLHwung May 2, 2025
6224ab7
skip some exec tests for Node < 12
JLHwung May 2, 2025
22dcd27
update tsconfig.json
JLHwung May 2, 2025
15b8881
update test fixtures
JLHwung May 5, 2025
d835e22
fix: handle integration issues
JLHwung May 5, 2025
58f76f7
run basic exec test on Node.js >= 16
JLHwung May 5, 2025
d663174
update test case
JLHwung May 5, 2025
a22cc8b
feat: pass syntaxType from plugin option
JLHwung May 5, 2025
f634080
skip basic test for Node.js 6
JLHwung May 5, 2025
50f72b6
add more test cases
JLHwung May 6, 2025
c79a32f
add new multiple-void test case
JLHwung May 27, 2025
ae6f845
fix: disable named evaluation for parenthesized rhs
JLHwung May 27, 2025
68c6d03
fix: handle using named evaluation
JLHwung May 27, 2025
bd03809
Revert "fix: disable named evaluation for parenthesized rhs"
JLHwung May 27, 2025
6777933
prefix anonymous function with 0,
JLHwung May 27, 2025
b203c7a
improve takeVoidPatternComments
JLHwung May 28, 2025
2bc97e3
use NodePath#splitExportDeclaration
JLHwung Jun 16, 2025
57d218e
update test fixtures
JLHwung Jun 16, 2025
61db5b3
update test options
JLHwung Jun 16, 2025
3e5cf7e
update test fixtures due to regenerator runtime changes
JLHwung Jun 16, 2025
effcb90
fix: remove VoidPattern from LVal
JLHwung Jun 25, 2025
e4e395c
fix: improve destructuring transform detection
JLHwung Jun 25, 2025
e6fabdf
fix incorrect typings
JLHwung Jun 25, 2025
9ac2065
update isAnonymousFunctionDefinition
JLHwung Jun 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: disable named evaluation for parenthesized rhs
  • Loading branch information
JLHwung committed Jun 27, 2025
commit ae6f845a12eb4cbee53ecdd644adcbc2c38a9ddc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const enum USING_KIND {
function isAnonymousFunctionDefinition(
node: t.Node,
): node is t.ClassExpression {
return t.isClassExpression(node) && !node.id;
return t.isClassExpression(node) && !node.id && !node.extra?.parenthesized;
}

function emitSetFunctionNameCall(
Expand Down