Donny/강동윤
54982d4d72
chore: Publish crates
2022-07-19 11:38:23 +09:00
SWC Bot
1fd154f5f0
chore: Publish crates
2022-07-18 03:29:05 +00:00
Austaras
3f0856db2e
feat(es/codegen): Optimize number and bigint literal ( #5223 )
2022-07-18 03:27:03 +00:00
SWC Bot
696165a374
chore: Publish crates
2022-07-14 10:18:17 +00:00
Donny/강동윤
387d5e41db
fix(es/codegen): Mark bigint as an item starting with number ( #5207 )
2022-07-14 10:16:05 +00:00
magic-akari
ec9378370d
fix(es/parser): Fix parsing of export specifiers ( #5190 )
2022-07-13 10:55:55 +00:00
SWC Bot
d5d1ff6417
chore: Publish crates
2022-07-12 15:25:48 +00:00
HeYunfei
1ef541eec4
feat(es/codegen): Emit comments in emit_module
( #5132 )
2022-07-12 15:23:24 +00:00
Donny/강동윤
b433b69263
chore: Publish crates
2022-07-12 23:58:30 +09:00
Alexander Akait
dada2d7d55
feat(html/minifier): Allow specifying options for other tools ( #5125 )
2022-07-11 13:08:40 +00:00
SWC Bot
2bd5b4413a
chore: Publish crates
2022-07-09 10:17:04 +00:00
David Sherret
bbbe0b6e94
fix(sourcemap): Handle multi-byte characters correctly ( #5153 )
2022-07-09 03:47:52 +00:00
SWC Bot
297228a690
chore: Publish crates
2022-07-07 07:48:49 +00:00
SWC Bot
9385103649
chore: Publish crates
2022-07-06 04:44:10 +00:00
SWC Bot
ce3186d6e0
chore: Publish crates
2022-07-05 10:25:08 +00:00
Donny/강동윤
b76b4999cc
fix(es/codegen): Fix codegen of some non-ascii characters ( #5108 )
2022-07-05 10:22:25 +00:00
SWC Bot
04c4af8475
chore: Publish crates
2022-07-04 03:52:29 +00:00
magic-akari
8df6e047cc
fix(es/codegen): Emit numeric value for Binary and Octal literals ( #5083 )
2022-07-04 03:49:52 +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
5576c3c601
chore: Publish crates
2022-06-29 03:37:57 +00:00
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows ( #4970 )
2022-06-14 15:58:10 +00:00
Austaras
47bdc6a6b1
feat(es/minifier): Turn Array
/Object
calls into literals ( #4947 )
2022-06-12 02:36:49 +00:00
Donny/강동윤
3812fb2eb0
chore: Publish crates
2022-06-06 05:22:39 +09: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/강동윤
f847709787
chore(common): Update rustc ( #4828 )
2022-05-28 07:07:58 +00:00
SWC Bot
c4a6e8e4b5
chore: Publish crates
2022-05-27 05:59:56 +00:00
Sander Mathijs van Veen
1db71cc3b3
fix(es/codegen): Handle comments in binary expressions ( #4817 )
2022-05-27 05:57:24 +00:00
Donny/강동윤
ae39b02df3
chore: Publish crates
2022-05-24 03:13:24 +09: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
SWC Bot
286e654c95
chore: Publish crates
2022-05-21 14:17:08 +00:00
magic-akari
ea46eb41e0
fix(es/codegen): Fix numeric literals ( #4733 )
2022-05-21 14:14:33 +00:00
SWC Bot
7357f72cb9
chore: Publish crates
2022-05-21 11:37:46 +00:00
Donny/강동윤
f1baff4114
fix(es/codegen): Fix numeric literals ( #4731 )
2022-05-21 20:31:19 +09:00
SWC Bot
4d2f4a826a
chore: Publish crates
2022-05-19 07:15:15 +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/강동윤
da49f810db
feat(es): Add check for BytePos::DUMMY
( #4675 )
2022-05-16 03:29:24 +00:00
SWC Bot
a09bfc22f8
chore: Publish crates
2022-05-15 10:43:11 +00:00
Donny/강동윤
bfb6be7075
doc(es/codegen): Document ascii_only
( #4669 )
2022-05-15 10:40:41 +00:00
SWC Bot
ead25ee153
chore: Publish crates
2022-05-15 05:09:48 +00:00
Donny/강동윤
eb8508f88c
feat(es/codegen): Implement ascii-only ( #4660 )
2022-05-15 05:07:21 +00:00
SWC Bot
97808349a2
chore: Publish crates
2022-05-11 16:17:07 +00:00
Donny/강동윤
67942d5731
feat(common): Reserve BytePos(0)
for dummy spans ( #4616 )
2022-05-11 16:14:42 +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
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
ee959ee2f6
chore: Publish crates
2022-04-21 13:12:02 +00:00
Donny/강동윤
139ac24c46
fix(es/codegen): Allow non-ascii character in more places ( #4394 )
2022-04-21 13:09:05 +00:00
OJ Kwon
8419b60430
fix(plugin): Align deps to fix build ( #4377 )
2022-04-20 08:05:02 +00:00
Donny/강동윤
8309440008
chore(es): Rename benchmarks ( #4355 )
2022-04-17 18:36:15 +00:00
SWC Bot
29ff9cb29f
chore: Publish crates
2022-04-17 12:08:09 +00:00
Donny/강동윤
4953ce466f
fix(es/codegen): Emit decorators before export ( #4349 )
2022-04-17 12:05:47 +00:00
SWC Bot
4f9b9666d3
chore: Publish crates
2022-04-15 08:02:32 +00:00
Dion
4c9973010a
fix(es/codegen): Fix codegen of arrow expressions ( #4306 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-04-15 08:00:04 +00:00
SWC Bot
995b4367cc
chore: Publish crates
2022-04-15 07:39:50 +00:00
Donny/강동윤
7599fe7431
fix(es/parser): Enable static blocks by default ( #4334 )
2022-04-15 07:31:41 +00:00
SWC Bot
279145022d
chore: Publish crates
2022-04-13 10:19:53 +00:00
Donny/강동윤
0245e26af5
fix(es/codegen): Fix overflow of numeric literals ( #4321 )
2022-04-13 10:16:51 +00: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
那里好脏不可以
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
Alexander Akait
1f0039f2c3
test(es/parser): Add a test for a fixed issue ( #4255 )
2022-04-06 00:21:13 +09: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
SWC Bot
8c4ad410f8
chore: Publish crates
2022-04-05 11:49:50 +00:00
Donny/강동윤
ccd3188c8b
fix(es/codegen): Handle comments on the argument of throw
( #4254 )
2022-04-05 11:47:18 +00:00
SWC Bot
bef40f8443
chore: Publish crates
2022-04-05 09:14:49 +00:00
Donny/강동윤
8cd903b3b0
fix(es/codegen): Commit ;
before a template literal ( #4252 )
2022-04-05 09:12:23 +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/강동윤
06d0891e7c
chore(bench): Migrate to criterion ( #4237 )
2022-04-04 00:56:29 +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
SWC Bot
6125de9808
chore: Publish crates
2022-03-28 12:20:51 +00:00
Alexander Akait
fcf67c4570
fix(es): Consume surrogate pairs ( #4115 )
2022-03-28 12:18:06 +00:00
SWC Bot
4cdf4b96e3
chore: Publish crates
2022-03-27 05:34:40 +00:00
RiESAEX
ea0de90137
fix(es/codegen): Emit sourcemap of key-value properties correctly ( #4166 )
2022-03-27 14:26:53 +09:00
RiESAEX
7a1dcb1b93
fix(es): Make ErrorConfig.filename
default to true ( #4150 )
2022-03-25 05:06:15 +00:00
Donny/강동윤
e6088408bf
chore: Publish crates
2022-03-24 12:05:47 +09:00
SWC Bot
dbe21cab68
chore: Publish crates
2022-03-23 21:41:10 +00:00
Alexander Akait
48f3dc8cc4
feat(es/codegen): Compress \t
in string literals more ( #4131 )
2022-03-23 21:37:03 +00:00
magic-akari
bf1924d1a8
feat(es/typescript): Support optional variance annotations ( #4008 )
2022-03-23 14:36:37 +00:00
SWC Bot
3e32fdcdd2
chore: Publish crates
2022-03-23 12:42:30 +00:00
Alexander Akait
f5a5217506
fix(es/codegen): Fix codegen of template literals ( #4124 )
2022-03-23 12:39:47 +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
Donny/강동윤
c6f8742669
feat(es/minifier): Implement more evaluation rules ( #4030 )
2022-03-21 20:07:59 +09:00
SWC Bot
2e48c9fc24
chore: Publish crates
2022-03-21 05:16:53 +00:00
Donny/강동윤
61f1a37492
fix(es/codegen): Fix codes related to sourcemap ( #4106 )
2022-03-21 05:14:45 +00:00
Donny/강동윤
9b64a6960f
fix(es/codegen): Emit decorators on class methods ( #4103 )
2022-03-20 07:53:53 +00:00
SWC Bot
133bfb43d3
chore: Publish crates
2022-03-20 07:13:59 +00:00
Austaras
552f16dba6
fix(es/codegen): Support multiline comments in return stmt ( #4102 )
2022-03-20 07:11:23 +00:00
Donny/강동윤
f66229822c
fix(es/resolver): Fix handling of decorators ( #4084 )
2022-03-19 05:32:53 +00:00
SWC Bot
0087627910
chore: Publish crates
2022-03-18 08:29:12 +00:00
Donny/강동윤
22d005e224
fix(es/modules): Fix sourcemap, really ( #4074 )
2022-03-18 08:26:58 +00:00
SWC Bot
a74d4ca679
chore: Publish crates
2022-03-17 10:29:25 +00:00
Donny/강동윤
9310c39fe9
fix(es/codegen): Fix sourcemap ( #4062 )
2022-03-17 10:26:58 +00:00
SWC Bot
4d6d766cf8
chore: Publish crates
2022-03-17 05:36:01 +00:00