SWC Bot
5fe032c01a
chore: Publish crates
2022-09-11 03:00:57 +00:00
RiESAEX
8adbe1675e
fix(es/parser): Keep comments of the RHS of a binary expression ( #5812 )
2022-09-11 02:58:06 +00:00
SWC Bot
961a9047c0
chore: Publish crates
2022-09-10 15:07:06 +00:00
SWC Bot
417b1f2a92
chore: Publish crates
2022-09-10 07:23:37 +00:00
SWC Bot
c8bb70f97e
chore: Publish crates
2022-09-10 05:48:09 +00:00
Donny/강동윤
49942ca773
perf(es/codegen): Skip useless operations if not required ( #5803 )
...
**Description:**
The column is used only for sourcemap, so we can skip `chars().count()` if we are not generating source maps.
2022-09-10 14:45:23 +09:00
SWC Bot
575940e770
chore: Publish crates
2022-09-09 08:09:53 +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
e654741336
chore: Publish crates
2022-09-06 12:41:54 +00:00
SWC Bot
912dd8f6a1
chore: Publish crates
2022-09-05 09:28:21 +00:00
Donny/강동윤
6e2002a148
perf(es/minifier): Improve codegen of name mangler ( #5751 )
2022-09-05 09:25:10 +00:00
OJ Kwon
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version ( #5686 )
2022-09-03 14:29:02 +09:00
OJ Kwon
7686faece5
fix(swc_core): Bump versions ( #5706 )
2022-09-01 13:08:04 +09:00
SWC Bot
e951aa6996
chore: Publish crates
2022-08-29 10:14:19 +00:00
Donny/강동윤
537449e53b
fix(es/codegen): Emit trailing semicolon ( #5659 )
2022-08-29 10:10:55 +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
SWC Bot
2c35990a07
chore: Publish crates
2022-08-21 08:33:31 +00:00
SWC Bot
8b61c90e88
chore: Publish crates
2022-08-20 07:56:23 +00:00
Donny/강동윤
288ae51fb1
fix(es/codgen): Fix sourcemap ofBlockStmt
( #5570 )
2022-08-20 07:53:51 +00:00
SWC Bot
ba70a54493
chore: Publish crates
2022-08-20 03:38:17 +00:00
Donny/강동윤
2f7e322214
fix(es): Improve sourcemap ( #5569 )
2022-08-20 12:35:49 +09:00
Donny/강동윤
f7b34e70e9
chore: Publish crates
2022-08-17 14:28:18 +09:00
OJ Kwon
76797b1fc1
build(bindings): Bump up swc_core ( #5484 )
2022-08-14 07:48:15 +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
Donny/강동윤
d2f2a1315b
chore: Publish crates
2022-08-13 00:49:08 +09: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
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
SWC Bot
306bb66f24
chore: Publish crates
2022-08-06 10:04:00 +00:00
Austaras
6dca81e368
fix(es/codegen): Emit extra dot if a float is too large ( #5407 )
2022-08-06 10:01:55 +00:00
SWC Bot
de40853046
chore: Publish crates
2022-08-04 07:54:50 +00:00
Austaras
e37b7e8caa
feat(es/codegen): Remove more whitespaces from BinExpr
( #5380 )
2022-08-04 16:52:06 +09:00
SWC Bot
6e8f9429a7
chore: Publish crates
2022-07-29 11:54:19 +00:00
magic-akari
42d8ad26ce
fix(es/codegen): Emit type parameters of class super expression ( #5338 )
2022-07-29 11:52:13 +00:00
OJ Kwon
5c9ea16b2a
build(cargo): Update packages ( #5331 )
2022-07-29 08:30:41 +09:00
Donny/강동윤
14894ed4c9
fix(atoms): Workaround a bug of rkyv
( #5323 )
2022-07-28 11:41:15 +09:00
SWC Bot
129a886e13
chore: Publish crates
2022-07-27 04:18:47 +00:00
Donny/강동윤
3100bf8c62
fix(es/codegen): Fix sourcemap of multiline comments ( #5299 )
2022-07-26 04:02:50 +00:00
SWC Bot
0ddeb749f6
chore: Publish crates
2022-07-26 03:38:02 +00:00
Austaras
0f254d5ce5
feat(es/codegen): Remove extra space before a private method ( #5295 )
2022-07-26 03:35:49 +00:00
SWC Bot
186b13933e
chore: Publish crates
2022-07-26 03:07:40 +00:00
magic-akari
daac26bcfb
fix(es/codegen): Add ;
for a generator function ( #5292 )
2022-07-26 03:05:42 +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
OJ Kwon
43eeeb35a5
feat(es/plugin): Pass experimental metadata from host ( #5261 )
2022-07-21 05:34:48 +00:00
SWC Bot
fe74b7067c
chore: Publish crates
2022-07-20 04:10:58 +00:00
OJ Kwon
b7c7e3afb0
test(es/plugin): Test plugins with different schema versions ( #5255 )
2022-07-20 04:08:48 +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
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