Commit Graph

574 Commits

Author SHA1 Message Date
SWC Bot
4e860c988d chore: Publish crates 2024-01-04 04:49:50 +00:00
David Sherret
e0bdc0f7c2
fix(es/codegen): Emit ? for an optional computed property (#8481)
**Description:**

Emits optional `?` for a computed property.
2024-01-04 04:48:07 +00:00
SWC Bot
8997ed1547 chore: Publish crates 2024-01-04 04:25:54 +00:00
SWC Bot
f2ede40e38 chore: Publish crates 2024-01-03 06:58:23 +00:00
David Sherret
d98a28290b
fix(es/codegen): Emit implements clause with commas (#8477) 2024-01-03 06:56:46 +00:00
SWC Bot
cddb0165bb chore: Publish crates 2024-01-03 05:41:28 +00:00
David Sherret
2076ef8f35
fix(es/codegen): Emit declare keyword for class properties (#8478) 2024-01-03 14:40:01 +09:00
SWC Bot
a4e91af934 chore: Publish crates 2024-01-03 04:45:13 +00:00
David Sherret
a12eaae0e5
fix(es/codegen): Emit abstract keyword (#8479) 2024-01-03 04:43:45 +00:00
SWC Bot
4229e7b99b chore: Publish crates 2023-12-29 08:49:51 +00:00
SWC Bot
d6dd1f9240 chore: Publish crates 2023-12-24 01:32:20 +00:00
David Sherret
0dd96f85e2
fix(es/codegen): Emit override keyword (#8449)
**Description:**

Emits the `override` keyword.
2023-12-24 10:30:46 +09:00
SWC Bot
611d7175d4 chore: Publish crates 2023-12-22 03:27:18 +00:00
David Sherret
65dec905c0
fix(es/codegen): Fix codegen of type-only export declarations (#8447)
**Description:**

This fixes the emit for `export type { } from "..."` and `export { type A } from "..."`.
2023-12-22 12:25:52 +09:00
SWC Bot
45f62f7886 chore: Publish crates 2023-12-17 06:48:43 +00:00
David Sherret
7566ddf0b7
fix(es/codegen): Fix codegen of ts specific syntax in class props (#8426)
**Description:**

This fixes the codegen of private properties with `is_optional` or `definite` and class properties with `definite`.
2023-12-17 06:47:20 +00:00
SWC Bot
f736c3c2df chore: Publish crates 2023-12-12 05:55:01 +00:00
Austaras
dce369336d
fix(es/codegen): Emit extra paren emitting AssignExpr (#8413)
**Related issue:**

 - Closes #8412
2023-12-12 05:53:32 +00:00
SWC Bot
f202a2839f chore: Publish crates 2023-12-12 04:39:47 +00:00
SWC Bot
595f13c019 chore: Publish crates 2023-12-08 07:18:16 +00:00
SWC Bot
0bde652b5c chore: Publish crates 2023-12-08 01:58:57 +00:00
SWC Bot
6ef6cf6f35 chore: Publish crates 2023-12-07 16:22:39 +00:00
SWC Bot
c6e64148b0 chore: Publish crates 2023-12-03 01:14:41 +00:00
SWC Bot
c77f987b9b chore: Publish crates 2023-12-02 11:43:08 +00:00
Redfire
c2d1a6c9fe
chore(deps): Update base64 to v0.21 (#8369) 2023-12-02 11:40:56 +00:00
SWC Bot
98c47df37a chore: Publish crates 2023-12-01 20:08:13 +00:00
SWC Bot
0845693536 chore: Publish crates 2023-11-29 14:11:49 +00:00
bohan
2cdea3fbea
fix(es/codegen): Wrap quote for length greater than one (#8351) 2023-11-29 14:09:44 +00:00
SWC Bot
ddddd20559 chore: Publish crates 2023-11-27 01:56:46 +00:00
Donny/강동윤
1891afa2ad
fix(es/codegen): Fix panic due to \\ud (#8346)
**Related issue:**

 - Closes #8345
2023-11-27 01:54:45 +00:00
SWC Bot
e158c0e5a0 chore: Publish crates 2023-11-26 11:37:59 +00:00
SWC Bot
14cd8dda29 chore: Publish crates 2023-11-22 23:25:21 +00:00
SWC Bot
7cec0ac1a0 chore: Publish crates 2023-11-20 22:51:17 +00:00
SWC Bot
38c489c26c chore: Publish crates 2023-11-20 21:59:52 +00:00
SWC Bot
5fa2ed4bfd chore: Publish crates 2023-11-20 06:22:03 +00:00
SWC Bot
2a2b5ee5b1 chore: Publish crates 2023-11-16 08:52:11 +00:00
Donny/강동윤
07c8935904
fix(es/codegen): Fix get_ascii_only_ident (#8287)
**Related issue:**

 - Closes #8260
2023-11-16 08:50:12 +00:00
SWC Bot
9e8fe38d31 chore: Publish crates 2023-11-16 02:03:19 +00:00
David Sherret
369fb21e22
fix(es/codegen): Fix codegen of type args of an import type and a type query (#8296) 2023-11-16 02:01:15 +00:00
SWC Bot
c03f84e54e chore: Publish crates 2023-11-15 22:45:18 +00:00
Zak
7d1836de3f
perf(es/minifier): Improve format.inline_script (#8292) 2023-11-15 22:02:29 +00:00
SWC Bot
f86c12b0b4 chore: Publish crates 2023-11-14 21:39:03 +00:00
bohan
f059270348
feat(es/minifier): Support format.inline_script (#8252) 2023-11-14 21:37:05 +00:00
SWC Bot
9c438692c6 chore: Publish crates 2023-11-13 10:03:57 +00:00
SWC Bot
07cc635489 chore: Publish crates 2023-11-11 19:12:50 +00:00
Donny/강동윤
9a0572b968
refactor(swc_node_base): Rename to swc_malloc (#8272)
**Description:**

This is quite convinient.
2023-11-11 19:10:56 +00:00
SWC Bot
2ef3de0021 chore: Publish crates 2023-11-10 13:10:36 +00:00
SWC Bot
6383ac443d chore: Publish crates 2023-11-10 12:34:31 +00:00
SWC Bot
ac80d7a93c chore: Publish crates 2023-11-10 00:33:30 +00:00
Donny/강동윤
0faa2c4a01
fix(es/codegen): Check for trailing comments while emitting an arrow (#8257)
**Description:**

This PR also **fixes** the `Default` implementation of `JsMinifyFormatOptions`. It didn't matched the default value when it's used with `serde::Deserialize`.


**Related issue:**

 - Closes #8251
2023-11-10 00:30:28 +00:00