Austaras
47bdc6a6b1
feat(es/minifier): Turn Array
/Object
calls into literals ( #4947 )
2022-06-12 02:36:49 +00:00
Donny/강동윤
eb0acc3859
chore: Publish crates
2022-06-06 04:54:19 +09:00
OJ Kwon
6bc33cb042
feat(es/codegen): Support other source map implementations ( #4879 )
2022-06-05 14:40:55 +00:00
Donny/강동윤
b7a195a1cf
refactor(es/parser): Remove duplicate ( #4750 )
2022-05-23 09:42:29 +00:00
Donny/강동윤
98df64517e
perf(common): Add more methods to Spanned
( #4749 )
...
- Lots of code only needs `lo` or `hi`, but they call `span()`, which is inefficient in some cases.
- This PR only adds a trivial amount of optimization. I may add full optimization in future.
- This PR improves codegen performance of `ExprOrSpread` and `Option<ExprOrSpread>`.
2022-05-23 09:18:40 +00:00
Donny/강동윤
e272ae0201
chore: Publish crates
2022-05-18 19:51:57 +09:00
Donny/강동윤
07356a5bba
fix(es/ast): Fix EqIgnoreSpan
of Ident
( #4689 )
2022-05-17 10:21:01 +00:00
SWC Bot
97808349a2
chore: Publish crates
2022-05-11 16:17:07 +00:00
Donny/강동윤
2c861bd9e5
feat(es/ast): Improve Id
APIs ( #4614 )
...
# API Changes
- `Ident` now has `to_id()`. This method is added to allow removing an import.
2022-05-11 12:02:14 +09:00
SWC Bot
29811e28ee
chore: Publish crates
2022-05-08 16:04:48 +00:00
Donny/강동윤
55d0ee6cba
feat(es/ast): Add methods for parens ( #4576 )
2022-05-08 16:02:23 +00:00
SWC Bot
e4ce388632
chore: Publish crates
2022-05-06 04:10:39 +00:00
William Tetlow
e2fde1a9a7
fix(es/parser): Revert #4287 ( #4542 )
2022-05-06 04:07:00 +00:00
SWC Bot
242e53bfe5
chore: Publish crates
2022-05-05 02:28:41 +00:00
Austaras
2e74787870
fix(es/compat): Memorize computed props in logical assignment ( #4525 )
2022-05-05 02:25:37 +00:00
SWC Bot
4498d16c18
chore: Publish crates
2022-04-26 00:11:47 +00:00
overlookmotel
2813eaadcd
fix(es/ast): Fix tag of BigInt
( #4440 )
2022-04-26 00:09:14 +00:00
Donny/강동윤
971351fe93
chore: Publish crates
2022-04-22 10:50:25 +09:00
Austaras
8cf3ddda6c
feat(es/minifier): Improve handling of switches ( #4260 )
2022-04-21 10:00:25 +00:00
OJ Kwon
8419b60430
fix(plugin): Align deps to fix build ( #4377 )
2022-04-20 08:05:02 +00:00
OJ Kwon
f06c862a9f
feat(plugin): Support lookup_char_pos
of SourceMap
( #4364 )
2022-04-19 14:26:28 +09:00
SWC Bot
fa880634bd
chore: Publish crates
2022-04-11 20:05:28 +00:00
magic-akari
d0de5a63a0
feat(es): Support typeof
with private fields ( #4302 )
2022-04-11 20:02:51 +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
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
Donny/강동윤
ac2357ebd9
chore: Publish crates
2022-04-02 01:59:34 +09:00
magic-akari
b793aa0200
feat(es/compat): Support more regex expressions ( #4205 )
2022-04-01 04:26:30 +00:00
Donny/강동윤
e6088408bf
chore: Publish crates
2022-03-24 12:05:47 +09:00
magic-akari
bf1924d1a8
feat(es/typescript): Support optional variance annotations ( #4008 )
2022-03-23 14:36:37 +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
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
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
SWC Bot
34e6f6f7ac
chore: Publish crates
2022-03-06 09:22:43 +00:00
Philip Craig
3b04789a57
perf(es/ast): Implement Clone
without inline for some enums ( #3878 )
2022-03-06 09:12:23 +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
faf452dbfa
chore: Publish crates
2022-03-05 12:26:37 +00:00
Donny/강동윤
44262508c6
fix(es/parser): Use unicode id instead of xid ( #3867 )
2022-03-05 12:24:45 +00:00
SWC Bot
70034af7b9
chore: Publish crates
2022-02-25 06:52:15 +00:00
Donny/강동윤
fd223793e8
refactor(es/transforms): Use recommended ast apis ( #3735 )
2022-02-25 06:50:19 +00:00
SWC Bot
ba49a09deb
chore: Publish crates
2022-02-25 10:25:13 +09:00