SWC Bot
4a097adbf7
chore: Publish crates
2022-04-11 18:48:43 +00:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting ( #4304 )
2022-04-11 18:45:58 +00:00
OJ Kwon
fad652f879
chore(plugin): Align version of swc_common
to include dummy comment api ( #4270 )
2022-04-07 07:21:37 +00:00
SWC Bot
5eb3d8315a
chore: Publish crates
2022-04-05 12:49:22 +00:00
Alexander Akait
f39d3aca4d
feat(es/ast): Add raw
to Num
( #4245 )
2022-04-05 12:46:35 +00:00
OJ Kwon
4093814895
chore(build): Dedup swc_common
( #4247 )
2022-04-05 14:28:07 +09:00
Donny/강동윤
1f466e1d2f
chore(ci): Fix benchmark action ( #4242 )
2022-04-04 20:12:03 +09:00
Donny/강동윤
7eea95be7a
fix(es/preset-env): Change order of passes
2022-04-02 06:57:17 +00:00
SWC Bot
3337777f8c
chore: Publish crates
2022-04-02 06:06:39 +00:00
Alexander Akait
e91f271873
feat(es/ast): Add raw
to BigInt
( #4218 )
2022-04-02 06:04:14 +00:00
SWC Bot
1068561800
chore: Publish crates
2022-04-01 04:29:08 +00:00
magic-akari
b793aa0200
feat(es/compat): Support more regex expressions ( #4205 )
2022-04-01 04:26:30 +00:00
SWC Bot
d19c8a8aa3
chore: Publish crates
2022-03-31 13:03:06 +00:00
magic-akari
6a27a0ce88
fix(es/compat): Hoist env in function params ( #4210 )
2022-03-31 13:00:19 +00:00
SWC Bot
cfed024514
chore: Publish crates
2022-03-30 21:19:05 +00:00
Austaras
c946236fcc
fix(es/compat): Fix label handling of block_scoping
( #4198 )
2022-03-30 21:16:34 +00:00
SWC Bot
b67c104877
chore: Publish crates
2022-03-30 12:07:14 +00:00
Austaras
3426dda4f7
fix(es/compat): Handle new.target
in getter/setter properties ( #4194 )
2022-03-30 12:04:27 +00:00
SWC Bot
40b3381ae8
chore: Publish crates
2022-03-30 10:32:51 +00:00
magic-akari
4f5c5cf842
fix(es/compat): Handle spreads of string literials ( #4191 )
2022-03-30 19:30:06 +09:00
SWC Bot
6125de9808
chore: Publish crates
2022-03-28 12:20:51 +00:00
Donny/강동윤
e6088408bf
chore: Publish crates
2022-03-24 12:05:47 +09:00
SWC Bot
8d322ef575
chore: Publish crates
2022-03-22 10:46:03 +00:00
Donny/강동윤
154d443c88
fix(es/compat): Fix regression of es2015
( #4119 )
2022-03-22 10:42:05 +00:00
SWC Bot
77722c4943
chore: Publish crates
2022-03-22 08:03:01 +00:00
Alexander Akait
634d732803
feat(es/ast): Add raw
to Str
( #4071 )
2022-03-22 07:54:08 +00:00
SWC Bot
165c752606
chore: Publish crates
2022-03-19 14:14:02 +00:00
Austaras
f5b9600b2b
fix(es/compat): Visit non-method properties in a nested object literal ( #4094 )
2022-03-19 14:11:54 +00:00
SWC Bot
51e2dfd7e7
chore: Publish crates
2022-03-19 11:28:06 +00:00
Donny/강동윤
0d6bd813b2
fix(es/compat): Revert wrong fix of arrow
( #4093 )
2022-03-19 11:25:52 +00:00
SWC Bot
f75ec3dd66
chore: Publish crates
2022-03-19 10:29:08 +00:00
Donny/강동윤
cb0881cc3d
fix(es/compat): Visit generated codes from arrow
( #4090 )
2022-03-19 10:26:58 +00:00
SWC Bot
a74d4ca679
chore: Publish crates
2022-03-17 10:29:25 +00:00
SWC Bot
4d6d766cf8
chore: Publish crates
2022-03-17 05:36:01 +00:00
Austaras
bbe8f3d8fe
fix(es/ast): Revert removal of definite
in PrivateProp
( #4051 )
2022-03-17 05:33:37 +00:00
LongYinan
db9b988845
feat(node-swc): Add libc
field in Linux platform packages ( #4046 )
2022-03-16 18:58:24 +09:00
SWC Bot
cc2aa361fa
chore: Publish crates
2022-03-15 14:19:50 +00:00
Donny/강동윤
e19a60aad4
fix(es/compat): Change pass ordering of es2015
( #4029 )
...
**Description:**
We should apply `regenerator` after `block_scoping` because `regenerator` does not know how to handle `const`s.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/3006
2022-03-15 14:17:03 +00:00
Donny/강동윤
dac84b98e3
doc(api/rust): Add examples ( #4002 )
2022-03-13 22:07:34 +00:00
Donny/강동윤
38c0c0faa6
chore: Publish crates
2022-03-14 04:11:07 +09:00
Donny/강동윤
ddfa490899
chore: Publish crates
2022-03-12 10:00:23 +09:00
LongYinan
1206c84e19
feat(*): Update dependencies ( #3964 )
2022-03-11 23:00:55 +09:00
OJ Kwon
ca071fb705
fix(es): Adjust tracing span level ( #3911 )
2022-03-10 16:59:51 +00:00
SWC Bot
199dfbdd8e
chore: Publish crates
2022-03-10 13:54:58 +00:00
Austaras
de8a7116cd
fix(es/compat): Refer this in constructor when super_is_callable_constructor
is set ( #3944 )
2022-03-10 13:52:54 +00:00
SWC Bot
666f55e01c
chore: Publish crates
2022-03-10 07:48:19 +00:00
Austaras
112f428734
feat(es/compat): Add pure comments for class fields keys ( #3939 )
2022-03-10 07:13:58 +00:00
OJ Kwon
86ea23785d
perf(*): Update tracing
to improve performance of disabled spans ( #3932 )
2022-03-10 03:15:49 +00:00
SWC Bot
8f4e10e44c
chore: Publish crates
2022-03-09 06:53:48 +00:00
Austaras
12b8606c99
fix(es/compat/es2015): Fix span handling of arrow
and classes
( #3921 )
2022-03-09 06:51:48 +00:00
Donny/강동윤
3d43a9b69d
feat(es/testing): Print comments in test_fixture
( #3920 )
2022-03-09 02:54:27 +00:00
SWC Bot
bf9e8d716c
chore: Publish crates
2022-03-07 19:20:40 +00:00
OJ Kwon
bd0a9214c3
feat(es/compat): Add tracing support to remaining compat transforms ( #3904 )
2022-03-07 19:18:48 +00:00
Austaras
9dd0105c5b
feat(es/fixer): Remove extra parens around iife in expression position ( #3887 )
2022-03-07 03:51:57 +00:00
SWC Bot
fd453b9170
chore: Publish crates
2022-03-05 19:34:45 +00:00
magic-akari
c7f2bdb813
feat(es/compat): Implement loose mode for async_to_generator
( #3870 )
2022-03-05 19:32:59 +00:00
SWC Bot
2fdc5f625d
chore: Publish crates
2022-03-05 14:52:49 +00:00
Austaras
26abc6ba7e
refactor(es/ast): Remove useless fields in private property ( #3868 )
2022-03-05 23:51:04 +09:00
SWC Bot
add86a7e6a
chore: Publish crates
2022-03-05 06:48:00 +00:00
Austaras
6f076e4927
feat(es/transform): Unify logic for handling class properties ( #3766 )
2022-03-05 06:46:09 +00:00
SWC Bot
bf33aa56d6
chore: Publish crates
2022-03-05 04:37:58 +00:00
OJ Kwon
cd8bb0fb2c
perf(es/compat): Add tracing support for es2015 transforms ( #3857 )
2022-03-05 04:36:19 +00:00
SWC Bot
08a4bb7454
chore: Publish crates
2022-03-04 07:30:58 +00:00
OJ Kwon
a933db5a1a
perf(es/compat): Add tracing support to transforms for from es2017 to es2019 ( #3844 )
2022-03-04 07:28:58 +00:00
SWC Bot
068b9da9b7
chore: Publish crates
2022-03-03 11:00:23 +00:00
Donny/강동윤
406b8eaeaf
fix(es/compat): Fix block scoping of variables ( #3826 )
2022-03-03 10:51:45 +00:00
Donny/강동윤
814dcc09d6
test(es/compat): Organize tests ( #3825 )
2022-03-03 05:51:09 +00:00
SWC Bot
d25ac78865
chore: Publish crates
2022-03-01 10:25:03 +00:00
OJ Kwon
8f41d7a10e
feat(es/compat): Add tracing support for es2020 transforms ( #3798 )
2022-03-01 10:22:53 +00:00
SWC Bot
761fb9c244
chore: Publish crates
2022-03-01 07:12:48 +00:00
Austaras
5b6beca1af
feat(es/compat): Use sequence expressions instead of iife in classes
pass ( #3773 )
2022-03-01 16:10:57 +09:00
SWC Bot
1ef8f3749b
chore: Publish crates
2022-03-01 06:30:55 +00:00
OJ Kwon
4d7048291f
feat(es/compat): Add tracing support for es2022
transforms ( #3785 )
2022-03-01 06:24:13 +00:00
SWC Bot
34836ff052
chore: Publish crates
2022-02-27 16:19:14 +00:00
Austaras
11bf29f44b
fix(es/compat): Initialize class fields as a last step ( #3767 )
2022-02-27 16:17:14 +00:00
SWC Bot
a41aa33b05
chore: Publish crates
2022-02-27 09:40:33 +00:00
magic-akari
8ed4d2fcac
feat(es/compat): Optimize handling of literals in computed property names ( #3756 )
2022-02-27 18:38:26 +09:00
SWC Bot
4fe874dd77
chore: Publish crates
2022-02-26 15:11:21 +00:00
Austaras
14155eb0e7
feat(es/compat): Implement loose mode for class_properties
( #3722 )
2022-02-27 00:09:02 +09:00
OJ Kwon
5c29f15640
feat(plugin): Support tracing plugin execution ( #3744 )
2022-02-25 20:28:17 +00:00
SWC Bot
94bc8a634b
chore: Publish crates
2022-02-25 14:03:50 +00:00
Donny/강동윤
b4830b61dc
feat(macros): Add #[swc_trace]
( #3738 )
2022-02-25 14:01:33 +00:00
Donny/강동윤
fd223793e8
refactor(es/transforms): Use recommended ast apis ( #3735 )
2022-02-25 06:50:19 +00:00
SWC Bot
8f1aef47d4
chore: Publish crates
2022-02-25 06:10:45 +00:00
Austaras
05de029cfa
fix(es/compat): Fix handling of private getters and setters ( #3695 )
2022-02-25 06:08:35 +00:00
SWC Bot
25b54ae7a8
chore: Publish crates
2022-02-25 04:08:59 +00:00
OJ Kwon
a454996314
feat(node-swc): Add experimental trace support in @swc/core
( #3731 )
2022-02-25 04:06:45 +00:00
Bryan Lee
72c9e6ca2b
fix(es/helpers): Cast the result of the instanceof
helper to boolean ( #3728 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-25 03:22:40 +00:00
SWC Bot
78b997bd90
chore: Publish crates
2022-02-23 07:05:42 +00:00
Austaras
b6434e52e7
fix(es/compat): Throw an error if a private property is initialized multiple times ( #3665 )
2022-02-23 07:03:13 +00:00
Donny/강동윤
e35d73adf4
chore(clippy): Improve config ( #3691 )
2022-02-23 06:07:42 +00:00
Donny/강동윤
135acf3b42
refactor(es): Improve ast apis ( #3690 )
2022-02-23 05:37:07 +00:00
SWC Bot
e4c674b9cb
chore: Publish crates
2022-02-21 13:10:43 +00:00
Donny/강동윤
68a155165b
fix(es/ast): Fix definition of Expr::TsInstantiation
( #3657 )
2022-02-21 13:03:11 +00:00
SWC Bot
e08a2c2c17
chore: Publish crates
2022-02-21 07:15:09 +00:00
Austaras
2cb66ae075
refactor(es/ast): Change definition of optional chaining expressions ( #3645 )
2022-02-21 07:12:09 +00:00
SWC Bot
264f1cf8d6
chore: Publish crates
2022-02-20 15:53:48 +00:00
Pig Fang
61e711c912
feat(es/ast): Support TypeScript Instantiation Expression ( #3642 )
2022-02-20 15:51:31 +00:00
SWC Bot
de6f75dc95
chore: Publish crates
2022-02-18 07:32:39 +00:00
Austaras
5c03551341
feat(es/compat): Check for duplicate private names and undefined private names ( #3613 )
2022-02-18 07:23:18 +00:00