Commit Graph

493 Commits

Author SHA1 Message Date
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
SWC Bot
c8bb70f97e chore: Publish crates 2022-09-10 05:48:09 +00:00
SWC Bot
575940e770 chore: Publish crates 2022-09-09 08:09:53 +00:00
SWC Bot
54b108dc51 chore: Publish crates 2022-09-09 05:55:06 +00:00
SWC Bot
701fa74631 chore: Publish crates 2022-09-09 05:05:59 +00:00
SWC Bot
d2188eac3f chore: Publish crates 2022-09-08 04:28:01 +00:00
SWC Bot
bad9811ea8 chore: Publish crates 2022-09-07 06:16:59 +00:00
SWC Bot
4507b10219 chore: Publish crates 2022-09-07 05:32:06 +00:00
SWC Bot
e654741336 chore: Publish crates 2022-09-06 12:41:54 +00:00
OJ Kwon
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version (#5686) 2022-09-03 14:29:02 +09:00
SWC Bot
3a0b749f1e chore: Publish crates 2022-09-01 04:39:40 +00:00
Donny/강동윤
1085667049
perf(es/minifier): Enable parallel processing (#5705) 2022-09-01 13:36:30 +09:00
OJ Kwon
7686faece5
fix(swc_core): Bump versions (#5706) 2022-09-01 13:08:04 +09:00
SWC Bot
d6204761f3 chore: Publish crates 2022-08-30 13:16:02 +00:00
Donny/강동윤
edef5f868b
fix(es/compat): Don't move variables from object-rest pass (#5673) 2022-08-30 13:12:11 +00:00
Donny/강동윤
1ae539aac5
test(es/compat): Add a test for a fixed issue (#5672) 2022-08-30 11:09:58 +00:00
SWC Bot
1fa9cacad6 chore: Publish crates 2022-08-30 09:58:58 +00:00
Donny/강동윤
4820f0cbcc
fix(es/compat): Handle yield in block scoping pass (#5668) 2022-08-30 09:55:18 +00:00
SWC Bot
e951aa6996 chore: Publish crates 2022-08-29 10:14:19 +00:00
SWC Bot
d538b72002 chore: Publish crates 2022-08-26 04:07:25 +00:00
magic-akari
d18ee54aef
fix(es/compat): Fix evaluation order of computed class keys (#5621) 2022-08-26 04:03:39 +00:00
SWC Bot
1dd17ffd23 chore: Publish crates 2022-08-25 16:14:21 +00:00
Donny/강동윤
83fec33359
feat(es/generator): Use new generator implementation (#5627) 2022-08-25 16:10:47 +00:00
SWC Bot
e5926186ee chore: Publish crates 2022-08-25 09:01:43 +00:00
Donny/강동윤
927ae7e8d3
fix(es/compat): Revert generator reimplementation (#5624) 2022-08-25 17:58:37 +09:00
SWC Bot
3ea433bd0a chore: Publish crates 2022-08-25 04:53:03 +00:00
Donny/강동윤
2aa009018f
feat(es/generator): Replace generator implementation with one from tsc (#5173) 2022-08-25 04:50:00 +00:00
SWC Bot
77ae3cfa74 chore: Publish crates 2022-08-24 15:23:21 +00:00
magic-akari
35d3558535
fix(es/compat): Handle super in a private method (#5613) 2022-08-25 00:19:41 +09:00
SWC Bot
8d44b71b6c chore: Publish crates 2022-08-24 08:46:23 +00:00
magic-akari
1181d0ffe2
fix(es/compat): Ignore invalid class method names (#5612) 2022-08-24 08:42:57 +00:00
OJ Kwon
1769191f9a
chore(swc_core): Update dependency version (#5595) 2022-08-23 10:10:30 +09:00
OJ Kwon
9bc40e3d08
build(swc_core): Fix dependency version (#5593) 2022-08-23 00:21:29 +00:00
magic-akari
86452511e7
fix(es/compat): Fix destructuring assignments and updates of super properties in async method (#5580) 2022-08-22 13:36:02 +00:00
SWC Bot
1d235e0d06 chore: Publish crates 2022-08-22 00:45:24 +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
SWC Bot
2c35990a07 chore: Publish crates 2022-08-21 08:33:31 +00:00
SWC Bot
4e9e64f6dd chore: Publish crates 2022-08-19 13:04:31 +00:00
Austaras
b717a68199
fix(es/compat): Use separate SyntaxContext for class names (#5566) 2022-08-19 13:01:50 +00:00
SWC Bot
34d366ee1a chore: Publish crates 2022-08-19 06:52:14 +00:00
magic-akari
f2c1164026
fix(es/compat): Handle async in class method parameters (#5560) 2022-08-19 06:49:34 +00:00
Donny/강동윤
f7b34e70e9 chore: Publish crates 2022-08-17 14:28:18 +09:00
SWC Bot
67f0479b8e chore: Publish crates 2022-08-16 13:10:23 +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
76797b1fc1
build(bindings): Bump up swc_core (#5484) 2022-08-14 07:48:15 +00:00
Donny/강동윤
b655bf473a
fix(es/helpers): Fix for await (#5458) 2022-08-14 05:46:07 +00:00
Donny/강동윤
925839adc6 chore: Publish crates 2022-08-13 19:11:26 +09:00
Donny/강동윤
1b089be611 chore: Publish crates 2022-08-13 14:09:52 +09:00
SWC Bot
62303e7cd5 chore: Publish crates 2022-08-13 02:40:33 +00:00
OJ Kwon
4a3b4b27e2
refactor(es/compat): Respect MSRV (#5473) 2022-08-13 02:38:23 +00:00
Donny/강동윤
d2f2a1315b chore: Publish crates 2022-08-13 00:49:08 +09:00
SWC Bot
415c495505 chore: Publish crates 2022-08-12 13:42:01 +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
Donny/강동윤
033e05677a chore: Publish crates 2022-08-12 15:18:06 +09:00
OJ Kwon
072eb13bf1
build(es): Bump up packages (#5451) 2022-08-11 23:58:00 +00:00
OJ Kwon
e25b37d579
build(atoms): Bump swc_atoms (#5442) 2022-08-11 18:52:44 +09:00
SWC Bot
cdb9bbd707 chore: Publish crates 2022-08-08 03:00:13 +00:00
OJ Kwon
5c9ea16b2a
build(cargo): Update packages (#5331) 2022-07-29 08:30:41 +09:00
SWC Bot
129a886e13 chore: Publish crates 2022-07-27 04:18:47 +00:00
SWC Bot
b4e2aded26 chore: Publish crates 2022-07-25 03:36:13 +00:00
Austaras
b423d6f936
fix(es/compat): Fix capturing of block scoping pass (#5279) 2022-07-25 03:34:18 +00:00
Donny/강동윤
a37fdca969 chore: Publish crates 2022-07-22 21:06:43 +09:00
Donny/강동윤
037a53d5d1
perf(es/ast): Use Atom in some places (#5271) 2022-07-22 20:09:25 +09:00
SWC Bot
6cca12d119 chore: Publish crates 2022-07-20 06:59:57 +00:00
magic-akari
2010409bac
fix(es/compat): Preserve orders of imports and exports (#5249) 2022-07-20 06:57:43 +00:00
SWC Bot
fe74b7067c chore: Publish crates 2022-07-20 04:10:58 +00:00
OJ Kwon
0d91741eb9
build(cargo): Align dependency versions (#5248) 2022-07-20 03:42:04 +00:00
Donny/강동윤
54982d4d72 chore: Publish crates 2022-07-19 11:38:23 +09:00
Donny/강동윤
d3b0996617 chore: Publish crates 2022-07-16 23:30:15 +09:00
Austaras
375774d31e
fix(es): Check the syntax context of arguments (#5174) 2022-07-13 10:29:03 +00:00
Donny/강동윤
b433b69263 chore: Publish crates 2022-07-12 23:58:30 +09:00
SWC Bot
2bd5b4413a chore: Publish crates 2022-07-09 10:17:04 +00:00
SWC Bot
8b62d47eb1 chore: Publish crates 2022-07-08 06:29:34 +00:00
Austaras
cd8d65b9a7
fix(es/compat): Remove extra this/arguments capture in arrows (#5152) 2022-07-08 06:27:15 +00:00
SWC Bot
d4c9e70e39 chore: Publish crates 2022-07-08 00:57:00 +00:00
magic-akari
93513031b5
fix(es/compat): Optimize for-of loops for array literals (#5141) 2022-07-08 00:54:53 +00:00
SWC Bot
297228a690 chore: Publish crates 2022-07-07 07:48:49 +00:00
SWC Bot
40dabaddfd chore: Publish crates 2022-07-07 04:38:01 +00:00
Edwin Coronado
2d94797975
feat(es/parser): Support d in regex flag for es2022 (#5127) 2022-07-07 04:35:49 +00:00
SWC Bot
43744c9eed chore: Publish crates 2022-07-06 05:20:40 +00:00
magic-akari
dd39a798ae
fix(es/compat): Preserve more class names (#5106) 2022-07-06 05:18:40 +00:00
SWC Bot
9385103649 chore: Publish crates 2022-07-06 04:44:10 +00:00
SWC Bot
a27c14357c chore: Publish crates 2022-07-04 14:39:41 +00:00
Austaras
adbb0bf8d8
fix(es/compat): Preserve class names (#5104) 2022-07-04 14:37:03 +00:00
SWC Bot
f5447cd1b1 chore: Publish crates 2022-07-02 03:53:10 +00:00
magic-akari
de66b64aed
fix(es/compat): Preserve spans in object_rest_spread (#5082) 2022-07-02 03:50:30 +00:00
Donny/강동윤
c2c923e205 chore: Publish crates 2022-07-01 11:50:45 +09:00
SWC Bot
73874486b2 chore: Publish crates 2022-06-29 11:05:08 +00:00
SWC Bot
4a2b1764c4 chore: Publish crates 2022-06-29 04:05:59 +00:00
Austaras
18ea2b5770
fix(es/compat): Preserve this in function with block scoped vars (#5056) 2022-06-29 04:03:00 +00:00
SWC Bot
5576c3c601 chore: Publish crates 2022-06-29 03:37:57 +00:00
SWC Bot
47628512f3 chore: Publish crates 2022-06-28 05:39:19 +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
Donny/강동윤
8b042745c6 chore: Publish crates 2022-06-27 21:36:54 +09:00
SWC Bot
4883fe8011 chore: Publish crates 2022-06-25 05:06:17 +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
SWC Bot
2d1fbe8dcd chore: Publish crates 2022-06-13 18:44:15 +00:00
Donny/강동윤
bfede71e6c chore: Publish crates 2022-06-11 16:47:29 +09:00