Commit Graph

10 Commits

Author SHA1 Message Date
magic-akari
3d485d2681
fix(es/fixer): Wrap expressions in the left of a binary expression (#5586) 2022-08-24 03:44:32 +00:00
Kevin Barabash
72fbf692a4
fix(es/codegen): Don't add a newline after an arrow body (#4711) 2022-05-19 07:12:37 +00:00
Donny/강동윤
a6d404a8c2
chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
Donny/강동윤
53610fdafc
feat(es/resolver): Use different syntax context for unresolved refs (#4436)
- We don't need a list of bindings to check if an identifier is unresolved.
 - Checking if an identifier is unresolved is now one CPU instruction.
   - Previously it was one hashmap operation.
 - This PR also improves performance, by removing the hashmaps mentioned above.
2022-04-26 07:38:50 +00:00
Donny/강동윤
6c9882ec68 fix(es/compat): Fix renaming bug of block_scoping (#4310) 2022-04-12 22:11:34 +09:00
Donny/강동윤
c32f42b374
test(es): Organize tests (#4251) 2022-04-05 08:21:19 +00:00
Donny/강동윤
2af5096e83
fix(es/resolver): Fix handling of for statements (#3446)
swc_ecma_transforms_base:
 - `resolver`: Visit the body of a for statement in a nested visitor.
2022-02-04 14:13:32 +09:00
Donny/강동윤
9a898951bc
fix(es/resolver): Ignore names of jsx attributes (#3289)
swc_ecma_transforms_base:
 - Ignore names of jsx attributes. (Closes #2854)
2022-01-17 16:18:07 +09:00
Austaras
38955c0c8d
refactor(es/ast): Change type or the key of ClassProp to PropName (#3038) 2021-12-15 16:21:30 +09:00
Donny/강동윤
2b2f6955f2
refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00