Commit Graph

8604 Commits

Author SHA1 Message Date
Austaras
a7a32c4b6c
fix(es/utils): Preserve optional chain effect (#8850)
**Related issue:**

 - Closes #8844
2024-04-12 08:33:01 +00:00
SWC Bot
6bc4de6536 chore: Bump crates 2024-04-12 08:07:12 +00:00
Hana
62c4f5efb8
fix(es/plugin): Create tokio runtime only if necessary (#8845)
**Description:**

Create tokio runtime if it's not in an async context.

**Related issue:**

 - https://github.com/web-infra-dev/rspack/issues/6209

This maybe related to this issue, since creating new tokio runtime consumes a lot of system resource.
2024-04-12 08:05:34 +00:00
강동윤 (Donny)
187ceb199a chore: Format helpers 2024-04-12 16:22:56 +09:00
강동윤 (Donny)
86c22f3ffa chore: Publish @swc/helpers@0.5.9 2024-04-12 16:22:30 +09:00
sschen86
67bfcf41f5
fix(es/helpers): Add missing helpers (#8843) 2024-04-12 16:21:32 +09:00
SWC Bot
586ab9a4a4 chore: Bump crates 2024-04-12 04:48:39 +00:00
magic-akari
c0d901eac6
doc(swc_core): Resolve build issue with --all-features flag (#8848)
**Related issue:**

- Closes #8829
2024-04-12 04:47:08 +00:00
SWC Bot
cfe7029d2e chore: Bump crates 2024-04-12 04:01:13 +00:00
LongYinan
b0df6e5341
chore(ci): Add miri tests (#8847)
It can help to find some UB in swc
2024-04-12 03:59:25 +00:00
SWC Bot
a5d1e579cb chore: Bump crates 2024-04-11 07:24:41 +00:00
Donny/강동윤
ea5d9cc524
test(es): Update conformance test suite from tsc (#8834) 2024-04-11 07:22:56 +00:00
SWC Bot
b103184832 chore: Bump crates 2024-04-11 01:05:09 +00:00
David Sherret
e8c63447f6
refactor(es/decorator): Remove unsafe code (#8839) 2024-04-11 01:03:29 +00:00
SWC Bot
62cd932f32 chore: Bump crates 2024-04-11 00:37:21 +00:00
magic-akari
5cc585b8f3
fix(es/compat): Handle class fields correctly (#8835)
**Related issue:**

- Closes #8830
2024-04-11 00:35:27 +00:00
SWC Bot
ea830aabbe chore: Publish 1.4.14-nightly-20240411.1 2024-04-11 00:07:51 +00:00
SWC Bot
645a5e4492 chore: Bump crates 2024-04-10 23:44:44 +00:00
David Sherret
3a51140dd7
refactor(es): Make the code compile with miri (#8836) 2024-04-10 23:43:07 +00:00
SWC Bot
c90c199479 chore: Bump crates 2024-04-10 23:01:59 +00:00
David Sherret
b1973d490a
refactor(visit): Simplify Vec::move_map (#8838) 2024-04-10 23:00:14 +00:00
강동윤 (Donny)
67ec5e09b9 chore: Update changelog 2024-04-09 15:25:53 +09:00
강동윤 (Donny)
1a5b2f729d chore: Publish 1.4.13 with swc_core v0.90.30 2024-04-09 15:25:51 +09:00
SWC Bot
487992d9fa chore: Bump crates 2024-04-09 06:24:27 +00:00
Donny/강동윤
ebb68db24d
fix(es/minifier): Abort IIFE invoker in function parameters (#8828)
**Related issue:**

 - Closes #8826
2024-04-09 15:22:38 +09:00
SWC Bot
7fcfc74d15 chore: Publish 1.4.13-nightly-20240409.1 2024-04-09 04:08:01 +00:00
SWC Bot
bc9c90332f chore: Bump crates 2024-04-09 01:53:14 +00:00
David Sherret
9ed93c17cd
fix(es/decorators): Fix capacity overflow with decorators (#8818) 2024-04-09 01:51:21 +00:00
SWC Bot
8f9aadde38 chore: Bump crates 2024-04-09 01:22:59 +00:00
David Sherret
dc046572de
fix(visit): Improve Map implementation for Box (#8819)
**Related issue (if exists):**

 - Closes #8817
2024-04-09 01:21:03 +00:00
강동윤 (Donny)
aa4ed06fe5 chore: Allow gist.github.com for repros 2024-04-09 09:54:52 +09:00
SWC Bot
e63b39bbcd chore: Bump crates 2024-04-08 16:06:33 +00:00
Donny/강동윤
e1f770463d
fix(es/module): Respect module.resolveFully in more cases (#8820)
**Related issue:**

 - Closes #8742
2024-04-08 16:04:15 +00:00
SWC Bot
b511cea273 chore: Bump crates 2024-04-08 15:21:09 +00:00
Donny/강동윤
089f61bc37
fix(plugin/runner): Pin version of virtual-fs (#8827) 2024-04-08 15:19:28 +00:00
SWC Bot
2d4eb96843 chore: Publish 1.4.13-nightly-20240406.1 2024-04-06 00:08:53 +00:00
SWC Bot
1871a76534 chore: Bump crates 2024-04-05 00:04:37 +00:00
Donny/강동윤
811308c352
fix(es/minifier): Respect top_retain for top-level functions (#8814) 2024-04-05 00:02:51 +00:00
SWC Bot
2a7a6e9522 chore: Bump crates 2024-04-04 23:19:09 +00:00
David Sherret
974f5c759c
fix(es/transforms): Fix capacity overflow with decorators (#8815)
**Description:**

Fixes an incorrect capacity (found while investigating a segfault).

More details: https://github.com/denoland/deno/pull/23187#issuecomment-2036266885
2024-04-05 08:17:28 +09:00
강동윤 (Donny)
c7f14ec446 chore: Update changelog 2024-04-04 17:42:54 +09:00
강동윤 (Donny)
0a76e16f6d chore: Publish 1.4.12 with swc_core v0.90.27 2024-04-04 17:42:52 +09:00
SWC Bot
c3b750dc85 chore: Publish 1.4.12-nightly-20240404.1 2024-04-04 08:41:32 +00:00
SWC Bot
dc25df1b56 chore: Bump crates 2024-04-04 06:58:05 +00:00
Donny/강동윤
47714c52ce
feat(es/minifier): Evaluate spread of arrays (#8811)
**Related issue:**

 - Closes #8808
2024-04-04 06:56:29 +00:00
SWC Bot
ff5f69f7e0 chore: Bump crates 2024-04-04 06:26:02 +00:00
Donny/강동윤
730ded2a26
fix(es/minifier): Abort fn inliner if there's a spread arg (#8809)
**Description:**


**Related issue:**

 - Closes #8806
2024-04-04 15:24:31 +09:00
SWC Bot
d1eb7b8136 chore: Bump crates 2024-04-04 06:12:30 +00:00
Donny/강동윤
207582ff25
chore(deps): Update dependencies (#8810) 2024-04-04 15:07:49 +09:00
SWC Bot
9e28254282 chore: Bump crates 2024-04-03 03:03:01 +00:00