Commit Graph

490 Commits

Author SHA1 Message Date
SWC Bot
2088dd4a84 chore: Publish crates 2022-11-11 22:50:50 +00:00
Donny/강동윤
6b876c4c4f
fix(es/resolver): Resolve interfaces correctly (#6387)
**Related issue:**

 - https://github.com/dudykr/stc/pull/245.
2022-11-09 06:28:58 +00:00
SWC Bot
9f685796c3 chore: Publish crates 2022-11-07 03:59:24 +00:00
Daiki Nishikawa
f6faeb3bad
fix(es/parser): Fix parsing of TS satisfies expressions (#6354) 2022-11-07 03:56:15 +00:00
SWC Bot
4293463bb6 chore: Publish crates 2022-11-03 04:55:30 +00:00
Donny/강동윤
0967e8f06d
chore(ci): Enforce clippy for all targets (#6299) 2022-10-31 16:59:29 +09:00
SWC Bot
a4546a4d22 chore: Publish crates 2022-10-28 01:27:37 +00:00
SWC Bot
09b296164c chore: Publish crates 2022-10-27 03:05:43 +00:00
Donny/강동윤
c3184463f1
fix(es/codegen): Preserve more parens (#6268)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6266.
2022-10-27 03:02:56 +00:00
SWC Bot
fd4b66ea8c chore: Publish crates 2022-10-27 01:25:04 +00:00
SWC Bot
51132f0636 chore: Publish crates 2022-10-27 00:19:24 +00:00
SWC Bot
2f05c3fd32 chore: Publish crates 2022-10-24 03:58:37 +00:00
SWC Bot
e2c1fcffd4 chore: Publish crates 2022-10-21 23:50:56 +00:00
SWC Bot
b79997ba02 chore: Publish crates 2022-10-21 09:11:29 +00:00
SWC Bot
3f648bdf0f chore: Publish crates 2022-10-20 08:59:26 +00:00
SWC Bot
0c23592d14 chore: Publish crates 2022-10-20 01:50:04 +00:00
SWC Bot
b48ec880fd chore: Publish crates 2022-10-19 04:00:51 +00:00
SWC Bot
a049ef058b chore: Publish crates 2022-10-18 14:51:39 +00:00
SWC Bot
fed888f822 chore: Publish crates 2022-10-17 08:33:49 +00:00
SWC Bot
c3ba51f48e chore: Publish crates 2022-10-15 23:59:27 +00:00
Kevin Barabash
083924c0e1
fix(es/codegen): Emit readonly for TsIndexSignature (#6172) 2022-10-16 08:56:56 +09:00
SWC Bot
1affcfe8e8 chore: Publish crates 2022-10-13 06:12:56 +00:00
SWC Bot
56da9981bb chore: Publish crates 2022-10-12 10:06:01 +00:00
SWC Bot
e37ced5bf4 chore: Publish crates 2022-10-12 01:55:47 +00:00
SWC Bot
dcb3a4371d chore: Publish crates 2022-10-11 23:55:24 +00:00
SWC Bot
5bf306565f chore: Publish crates 2022-10-11 11:23:16 +00:00
SWC Bot
018ca946e7 chore: Publish crates 2022-10-10 13:09:51 +00:00
SWC Bot
3171718e07 chore: Publish crates 2022-10-07 07:48:18 +00:00
IWANABETHATGUY
8003dc8563
feat(es/codegen): Remove the trailing comma of binding patterns (#6078) 2022-10-07 16:45:20 +09:00
SWC Bot
5f49ac012e chore: Publish crates 2022-10-06 11:38:55 +00:00
SWC Bot
d620ce60ff chore: Publish crates 2022-10-02 15:36:08 +00:00
Donny/강동윤
10fb645552
chore(ci): Merge CI scripts (#5999)
**Description:**

This PR merges CI scripts, and make integration tests use patched crates.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5540.
2022-09-30 16:57:15 +09:00
SWC Bot
2f626e95eb chore: Publish crates 2022-09-30 07:16:28 +00:00
Donny/강동윤
8b31b65059
fix(es/codegen): Improve performance of debug build (#6003) 2022-09-30 16:12:56 +09:00
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps (#5997) 2022-09-30 13:43:32 +09:00
SWC Bot
c499e2054d chore: Publish crates 2022-09-28 22:57:51 +00:00
SWC Bot
1c9870a744 chore: Publish crates 2022-09-28 13:44:08 +00:00
Donny/강동윤
bc2c0f4133
fix(es/codegen): Fix codegen of a negative number (#5980)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5912.
2022-09-28 13:40:07 +00:00
SWC Bot
d75addbdec chore: Publish crates 2022-09-28 10:37:40 +00:00
SWC Bot
e001226674 chore: Publish crates 2022-09-26 09:21:39 +00:00
Donny/강동윤
2ba88154fc
fix(es/codegen): Align sourcemap with terser (#5657) 2022-09-26 18:12:42 +09:00
SWC Bot
e1f421b6af chore: Publish crates 2022-09-25 01:36:48 +00:00
SWC Bot
e5ba9636ac chore: Publish crates 2022-09-24 03:36:47 +00:00
SWC Bot
8a5ed1e0ba chore: Publish crates 2022-09-23 07:50:26 +00:00
Donny/강동윤
5cddb4c734
feat(es/typescript): Support TS 4.9 (#5938)
**Description:**

This PR adds satisfaction expression to the AST and parser.
2022-09-23 16:41:56 +09:00
SWC Bot
4c3813dbcc chore: Publish crates 2022-09-22 03:16:22 +00:00
SWC Bot
5c2b1bb15d chore: Publish crates 2022-09-20 03:51:28 +00:00
Donny/강동윤
1a182ef8d9
perf(es): Optimize memory layout of AST (#5829) 2022-09-20 12:47:21 +09:00
IWANABETHATGUY
7d6d04b421
fix(es/codegen): Drop the last comma in an array literal (#5877)
**Description:**

Drop the last comma in an array literal.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5692.
2022-09-16 15:48:28 +09:00
Donny/강동윤
f0ca487848 chore: Publish crates 2022-09-16 15:46:25 +09:00
SWC Bot
1d633e8ba7 chore: Publish crates 2022-09-15 06:08:07 +00:00
SWC Bot
ec8bb432b9 chore: Publish crates 2022-09-15 05:23:46 +00:00
Donny/강동윤
dfb01bde71
refactor: Refactor code using clippy (#5863)
**Description:**

I temporarily updated rustc to use newer version of `cargo clippy`.
2022-09-14 15:05:59 +00:00
SWC Bot
d35792f424 chore: Publish crates 2022-09-14 07:56:20 +00:00
SWC Bot
8432c0a1ad chore: Publish crates 2022-09-14 07:19:24 +00:00
SWC Bot
0a56a2d5ab chore: Publish crates 2022-09-14 06:10:39 +00:00
magic-akari
2b2464271a
fix(es/codegen): Remove redundant ; after export default decl (#5851) 2022-09-14 06:07:15 +00:00
SWC Bot
d16fb9a8cf chore: Publish crates 2022-09-13 05:04:36 +00:00
SWC Bot
b2c0fbd7ba chore: Publish crates 2022-09-13 02:19:15 +00:00
SWC Bot
2df19176fb chore: Publish crates 2022-09-12 05:16:53 +00:00
SWC Bot
9f28c246dc chore: Publish crates 2022-09-12 04:34:08 +00:00
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
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
SWC Bot
fc7ea6afe0 chore: Publish crates 2022-03-16 14:28:00 +00:00
Alexander Akait
bd444c0ceb
fix(es/codegen): Fix codegen of string literals (#4037) 2022-03-16 14:25:26 +00:00
LongYinan
db9b988845
feat(node-swc): Add libc field in Linux platform packages (#4046) 2022-03-16 18:58:24 +09:00
Donny/강동윤
f650ca6bb9
doc(api/rust): Add an example for generating code and sourcemap (#4005) 2022-03-14 03:52:59 +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
SWC Bot
e55c2a9850 chore: Publish crates 2022-03-10 14:32:17 +00:00
Donny/강동윤
e8018c54d4
fix(es/codegen): Fix sourcemap issue caused by reserved BytePos values (#3948) 2022-03-10 14:30:03 +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
Austaras
12b8606c99
fix(es/compat/es2015): Fix span handling of arrow and classes (#3921) 2022-03-09 06:51:48 +00:00
SWC Bot
2fdc5f625d chore: Publish crates 2022-03-05 14:52:49 +00:00
SWC Bot
3152da285a chore: Publish crates 2022-03-01 10:58:04 +00:00
Austaras
e1b13eb21a
feat(es/codegen): Optimize output of new expressions without arguments (#3800) 2022-03-01 10:55:49 +00:00
William Tetlow
abc0572557
fix(es/parser) Throw a syntax error for const without initializer in strict mode (#3742)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-27 06:25:05 +00:00
SWC Bot
8b08499786 chore: Publish crates 2022-02-26 07:07:24 +00:00
Donny/강동윤
0fd4fd2422
feat(es/codegen): Add sourcemap entry for injected semicolons (#3750) 2022-02-26 07:05:31 +00:00
Donny/강동윤
3d944656bf
refactor(es): Make compilation faster (#3749) 2022-02-26 06:41:14 +00:00
SWC Bot
17e77da5c6 chore: Publish crates 2022-02-25 13:42:23 +00:00
William Tetlow
dba90eae87
fix(es/codegen): Fix escaping of unicodes in es5 (#3636) 2022-02-25 13:15:14 +00:00
OJ Kwon
a454996314
feat(node-swc): Add experimental trace support in @swc/core (#3731) 2022-02-25 04:06:45 +00:00
SWC Bot
0bda2513bd chore: Publish crates 2022-02-24 08:49:47 +00:00
Donny/강동윤
b8b0c920e4
fix(es/codegen): Fix sourcemap of comments (#3723) 2022-02-24 08:47:20 +00:00
Donny/강동윤
8b87bb4870
fix(es/parser): Don't attach comments to ; (#3720) 2022-02-24 07:23:53 +00:00
Donny/강동윤
e35d73adf4
chore(clippy): Improve config (#3691) 2022-02-23 06:07:42 +00:00
SWC Bot
8012056bd8 chore: Publish crates 2022-02-22 08:11:02 +00:00
Donny/강동윤
210f17af8c
build(swc): Remove unused dependencies (#3673) 2022-02-22 08:05:54 +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
OJ Kwon
ad6f24ad83
build(*): Dedupe once_cell (#3567) 2022-02-15 11:58:44 +09:00
Donny/강동윤
9b76783281
refactor(common): Cleanup & rustfmt (#3495)
swc_common:
 - Merge identical source codes.

swc_css_parser:
 - Deny `clippy::all`.
 - Fix lints.
2022-02-09 06:33:32 +00:00