Commit Graph

4361 Commits

Author SHA1 Message Date
Donny/강동윤
48902b60d3 chore: Publish crates 2023-01-06 16:41:16 +09:00
SWC Bot
1161360d54 chore: Publish crates 2023-01-06 03:49:20 +00:00
Donny/강동윤
26a0c13589
fix(common): Mark \r as a line ending (#6752)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6694.
2023-01-06 03:47:16 +00:00
SWC Bot
ec8497b42c chore: Publish crates 2023-01-06 03:16:51 +00:00
HeYunfei
a1ccc8afdf
feat(es/minifier): Make name mangler understand block scoping (#6670)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5090.
 - Closes https://github.com/swc-project/swc/issues/5766.
2023-01-06 03:14:10 +00:00
Donny/강동윤
e9f99c4fe7 chore: Publish crates 2023-01-06 10:41:41 +09:00
SWC Bot
e5ea18b62b chore: Publish crates 2023-01-05 23:46:00 +00:00
Donny/강동윤
f299101820 chore: Publish crates 2023-01-05 19:55:20 +09:00
SWC Bot
1f5c44ea70 chore: Publish crates 2023-01-05 10:09:49 +00:00
Donny/강동윤
b46815a684
fix(es): Fix wasm (#6755) 2023-01-05 10:07:45 +00:00
SWC Bot
3b034d597b chore: Publish crates 2023-01-05 05:18:09 +00:00
SWC Bot
918a01bf5c chore: Publish crates 2023-01-04 14:19:54 +00:00
HeYunfei
36b26d3496
fix(es/react): Force refresh if code contains @refresh reset (#6749) 2023-01-04 14:17:01 +00:00
SWC Bot
790c478a7a chore: Publish crates 2023-01-04 07:29:33 +00:00
Donny/강동윤
65a0d3a310
fix(es/parser): Fix priority of >>> (#6748)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6739.
2023-01-04 07:27:08 +00:00
SWC Bot
d7081cc8a6 chore: Publish crates 2023-01-04 05:17:53 +00:00
Donny/강동윤
72fb606eb2
feat(es/jest): Support chaining of jest function calls (#6747)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6540.
2023-01-04 05:15:21 +00:00
SWC Bot
1638105865 chore: Publish crates 2023-01-04 04:33:32 +00:00
Donny/강동윤
88d40e8ab8
fix(es/minifier): Fix usage counter to fix infinite loop (#6744)
**Description:**

We skip non-computed property names while checking if we can inline an expression.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6729.
2023-01-04 04:31:12 +00:00
Donny/강동윤
62c0d7291a chore: Publish crates 2023-01-04 12:13:55 +09:00
SWC Bot
9bdbe9dc9b chore: Publish crates 2023-01-03 10:24:43 +00:00
RiESAEX
79afcb5d81
doc(es): Fix example (#6743) 2023-01-03 10:22:44 +00:00
SWC Bot
30471796c9 chore: Publish crates 2023-01-03 09:47:06 +00:00
Donny/강동윤
206c0dbebe
fix(es/compat): Fix syntax context of async-to-generator (#6741)
**Description:**

Previously, the `async-to-generator` produced invalid AST, in the aspect of span hygiene.

[Playground](https://play.swc.rs/?version=1.3.24&code=H4sIAAAAAAAAAz1MbQqAIBT77yn2UyG6gNQJuoSZRCAa7xkk4d1TicZgH7C5%2B4yUYGPgBE7ZuyWazREmSIVpxiMAcumi0C3ANZxyvQ6%2Fqa8CehxjaGNpOAcLaWjn%2F6KhKN1dGaoULSpfHPTdxn8AAAA%3D&config=H4sIAAAAAAAAA0WOSwrDMAxE76K1F22hXfgE3fQQxlWCi39ICsQY3z12cMlOjObNTIUfW9AVsiFGGheXKGYHDVIysiWXBRQId2kxnrEpwF2QovFv9BmJQQtt2D2GVpROIj9u92enfEqMk1MQXHRLGR02hUzIfL1MXP3f2XpFSN9tCPWccWa%2BoF0Zk3P8mcYxoR3Kj7IYzwAAAA%3D%3D).
It generate two bindings for `args` so it's invalid.


**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6730.
2023-01-03 09:45:03 +00:00
SWC Bot
1602f66fe6 chore: Publish crates 2023-01-03 03:47:48 +00:00
RiESAEX
98da6444b6
perf(es/preset-env): Use VisitMut instead of Fold for polyfill (#6734) 2023-01-03 03:45:25 +00:00
SWC Bot
2e32faaa3c chore: Publish crates 2023-01-03 03:14:24 +00:00
HeYunfei
b5d31cc2da
fix(es/utils): Fix detection of hoisting (#6738) 2023-01-03 03:12:01 +00:00
SWC Bot
0a1e30a4f8 chore: Publish crates 2022-12-30 06:34:07 +00:00
SWC Bot
0a652096ae chore: Publish crates 2022-12-27 12:57:51 +00:00
Alexander Akait
1722428909
feat(css/prefixer): Support clamp (#6695) 2022-12-27 12:55:46 +00:00
SWC Bot
d72a31f990 chore: Publish crates 2022-12-27 12:24:41 +00:00
Alexander Akait
8af627d5c4
feat(css/parser): Normalize urange (#6704) 2022-12-27 12:22:46 +00:00
SWC Bot
35b72b59c8 chore: Publish crates 2022-12-27 07:43:30 +00:00
SWC Bot
bfb2ffee0c chore: Publish crates 2022-12-27 01:02:01 +00:00
realtimetodie
b451fa9e88
fix(es): Remove import statement canonicalization (#6716) 2022-12-27 00:59:54 +00:00
Donny/강동윤
d506c96805
fix(preset-env): Update data (#6719) 2022-12-26 04:46:08 +00:00
SWC Bot
22973cbbf2 chore: Publish crates 2022-12-23 05:07:21 +00:00
SWC Bot
7fcc978748 chore: Publish crates 2022-12-22 01:39:10 +00:00
Alexander Akait
ebebd60875
refactor(css/codegen): Do not use raw (#6674) 2022-12-22 01:36:36 +00:00
SWC Bot
ef1d966b57 chore: Publish crates 2022-12-21 14:03:20 +00:00
Alexander Akait
27a8b7e50b
feat(css/prefixer): Support page break (#6693) 2022-12-21 14:00:59 +00:00
SWC Bot
e89f7856f7 chore: Publish crates 2022-12-21 09:37:10 +00:00
Donny/강동윤
58700f2bec
fix(es): Preserve license comments by default (#6703)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6677.
2022-12-21 09:34:40 +00:00
SWC Bot
af8a3a6b9d chore: Publish crates 2022-12-21 07:40:45 +00:00
SWC Bot
61245739ea chore: Publish crates 2022-12-21 03:03:05 +00:00
Alexander Akait
1c7f003779
feat(css/prefixer): Support overflow (#6678) 2022-12-21 03:00:53 +00:00
SWC Bot
3922ef5539 chore: Publish crates 2022-12-20 12:46:10 +00:00
Alexander Akait
2571070148
feat(css/parser): Normalize and improve function name (#6667) 2022-12-20 12:43:58 +00:00
SWC Bot
65c2ab32ab chore: Publish crates 2022-12-20 12:12:05 +00:00