Donny/강동윤
81a4bb304a
fix(es/compat): Fix span hygiene of function naming pass ( #6345 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6344 .
2022-11-14 06:03:09 +00:00
magic-akari
67286032b1
fix(es/compat): Improve destructuring
pass ( #6412 )
2022-11-13 23:52:34 +00:00
Austaras
574502a816
feat(es/utils): Use more unique names for aliases ( #6399 )
2022-11-11 01:57:49 +00:00
Daiki Nishikawa
f6faeb3bad
fix(es/parser): Fix parsing of TS satisfies
expressions ( #6354 )
2022-11-07 03:56:15 +00:00
Austaras
982012289f
fix(es/compat): Fix this
in computed class method names ( #6364 )
2022-11-06 00:20:21 +00:00
Austaras
2de45fb0f7
fix(es/compat): Handle a nullish coalescing in a switch case ( #6363 )
2022-11-05 18:31:02 +00:00
Austaras
6cc9e90ef4
fix(es/compat): Handle super access in a private static property ( #6361 )
2022-11-05 15:25:51 +00:00
Alexander Akait
3bea6f7248
fix(es/compat): Fix destructuring of an empty array ( #6314 )
2022-11-02 16:06:52 +09:00
Austaras
aa18612e62
fix(es/compat): Fix new.target
in a nested scope ( #6296 )
2022-10-31 02:29:55 +00:00
Austaras
aefc11b8a7
feat(es/compat): Support readonly and writeonly for private fields ( #6182 )
2022-10-18 05:38:36 +00:00
Donny/강동윤
7554482205
fix(es/compat): Fix handling of op-assignment in generator
( #6036 )
2022-10-04 15:17:50 +00:00
Donny/강동윤
0c67a3adba
fix(es/compat): Fix handling of deep array pattern of object rest pass ( #6035 )
2022-10-04 23:34:03 +09:00
Donny/강동윤
80da0981bd
feat(es/compat): Support iterator protocol on loose mode ( #6034 )
2022-10-04 21:42:39 +09:00
Finn Böger
1f892cd979
fix(es/compat): Fix unrolling of arrays in generator
( #5965 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5951 .
2022-09-27 13:53:51 +00:00
Donny/강동윤
5cddb4c734
feat(es/typescript): Support TS 4.9 ( #5938 )
...
**Description:**
This PR adds satisfaction expression to the AST and parser.
2022-09-23 16:41:56 +09:00
Donny/강동윤
1a182ef8d9
perf(es): Optimize memory layout of AST ( #5829 )
2022-09-20 12:47:21 +09:00
magic-akari
006c7fb56e
fix(es/compat): Fix handling of objects in generator ( #5861 )
2022-09-15 12:02:48 +09:00
Donny/강동윤
dfb01bde71
refactor: Refactor code using clippy ( #5863 )
...
**Description:**
I temporarily updated rustc to use newer version of `cargo clippy`.
2022-09-14 15:05:59 +00:00
magic-akari
aa8672e739
fix(es/compat): Fix generator
( #5796 )
...
**Description:**
- Merge `temp_vars` into `hoisted_vars`.
- Fix the context of the function call and new call.
**Related issue (if exists):**
- https://github.com/vercel/next.js/issues/40399
2022-09-10 15:01:43 +09:00
Donny/강동윤
1085667049
perf(es/minifier): Enable parallel processing ( #5705 )
2022-09-01 13:36:30 +09:00
Donny/강동윤
edef5f868b
fix(es/compat): Don't move variables from object-rest pass ( #5673 )
2022-08-30 13:12:11 +00:00
Donny/강동윤
4820f0cbcc
fix(es/compat): Handle yield
in block scoping pass ( #5668 )
2022-08-30 09:55:18 +00:00
magic-akari
d18ee54aef
fix(es/compat): Fix evaluation order of computed class keys ( #5621 )
2022-08-26 04:03:39 +00:00
Donny/강동윤
83fec33359
feat(es/generator): Use new generator implementation ( #5627 )
2022-08-25 16:10:47 +00:00
Donny/강동윤
927ae7e8d3
fix(es/compat): Revert generator reimplementation ( #5624 )
2022-08-25 17:58:37 +09:00
Donny/강동윤
2aa009018f
feat(es/generator): Replace generator implementation with one from tsc ( #5173 )
2022-08-25 04:50:00 +00:00
magic-akari
35d3558535
fix(es/compat): Handle super
in a private method ( #5613 )
2022-08-25 00:19:41 +09:00
magic-akari
1181d0ffe2
fix(es/compat): Ignore invalid class method names ( #5612 )
2022-08-24 08:42:57 +00:00
magic-akari
bee26a9abb
fix(es/compat): Fix destructuring assignments and updates of super properties ( #5576 )
2022-08-22 00:42:50 +00:00
Austaras
b717a68199
fix(es/compat): Use separate SyntaxContext
for class names ( #5566 )
2022-08-19 13:01:50 +00:00
magic-akari
f2c1164026
fix(es/compat): Handle async
in class method parameters ( #5560 )
2022-08-19 06:49:34 +00:00
Donny/강동윤
b9933b159a
feat(es/compat): Fix syntax context of transpiled class methods ( #5498 )
2022-08-16 13:07:27 +00:00
OJ Kwon
4a3b4b27e2
refactor(es/compat): Respect MSRV ( #5473 )
2022-08-13 02:38:23 +00:00
Austaras
5a06271116
feat(es/compat): Add pure comments for generator and async transform ( #5463 )
2022-08-12 13:39:26 +00:00
Donny/강동윤
3eb1f4b2b1
chore(ci): Fix lints ( #5462 )
2022-08-12 13:13:35 +00:00
Austaras
b423d6f936
fix(es/compat): Fix capturing of block scoping pass ( #5279 )
2022-07-25 03:34:18 +00:00
Donny/강동윤
037a53d5d1
perf(es/ast): Use Atom
in some places ( #5271 )
2022-07-22 20:09:25 +09:00
magic-akari
2010409bac
fix(es/compat): Preserve orders of import
s and export
s ( #5249 )
2022-07-20 06:57:43 +00:00
Austaras
375774d31e
fix(es): Check the syntax context of arguments
( #5174 )
2022-07-13 10:29:03 +00:00
Austaras
cd8d65b9a7
fix(es/compat): Remove extra this
/arguments
capture in arrows ( #5152 )
2022-07-08 06:27:15 +00:00
magic-akari
93513031b5
fix(es/compat): Optimize for-of
loops for array literals ( #5141 )
2022-07-08 00:54:53 +00:00
Edwin Coronado
2d94797975
feat(es/parser): Support d
in regex flag for es2022 ( #5127 )
2022-07-07 04:35:49 +00:00
magic-akari
dd39a798ae
fix(es/compat): Preserve more class names ( #5106 )
2022-07-06 05:18:40 +00:00
Austaras
adbb0bf8d8
fix(es/compat): Preserve class names ( #5104 )
2022-07-04 14:37:03 +00:00
magic-akari
de66b64aed
fix(es/compat): Preserve spans in object_rest_spread
( #5082 )
2022-07-02 03:50:30 +00:00
Austaras
18ea2b5770
fix(es/compat): Preserve this in function with block scoped vars ( #5056 )
2022-06-29 04:03:00 +00:00
Austaras
25bd520620
fix(es/compat): Handle classes with accessors and a method with the same name ( #5039 )
2022-06-28 05:36:22 +00:00
magic-akari
04fc1cb429
fix(es/compat): Fix name conflict of Array
( #5034 )
2022-06-25 04:55:59 +00:00
Donny/강동윤
36d960c7e9
perf(es/hygiene): Make hygiene
faster ( #4952 )
2022-06-15 14:36:57 +00:00
Donny/강동윤
35c93be60f
perf(es/transforms): Make transforms parallel ( #4939 )
2022-06-11 07:42:43 +00:00