Commit Graph

7834 Commits

Author SHA1 Message Date
Donny/강동윤
0aafa75fef
feat(es/testing): Use __swc_snapshots__ for test! macro (#8191)
**Description:**

This implements something similar to `__snapshots__` of `jest`. Instead of storing the expected result as a string literal, we now store it in `$crate/tests/__swc_snapshots__/$path_to_test__$test_name.js`.

**Related issue:**

 - Closes #4509
2023-10-30 10:38:59 +09:00
SWC Bot
769bc5b725 chore: Publish 1.3.96-nightly-20231030.1 2023-10-30 00:06:53 +00:00
SWC Bot
595a6f78ea chore: Publish crates 2023-10-29 22:37:25 +00:00
Donny/강동윤
e446942e17
chore(ci): Remove benchmark action (#8192)
It's not used at the moment, while creating noticeable cost
2023-10-30 07:32:44 +09:00
SWC Bot
a78b486d76 chore: Publish crates 2023-10-29 22:28:09 +00:00
Donny/강동윤
e9606147fc
feat(es/testing): Support babel-like fixture testing officially (#8190) 2023-10-30 07:24:49 +09:00
SWC Bot
5ba6150088 chore: Publish 1.3.96-nightly-20231029.1 2023-10-29 00:07:44 +00:00
강동윤 (Donny)
b74ef5a807 chore: Publish crates 2023-10-27 22:23:14 -07:00
SWC Bot
257eefbbb1 chore: Publish 1.3.96-nightly-20231028.1 2023-10-28 00:07:03 +00:00
SWC Bot
352208548d chore: Publish crates 2023-10-27 18:18:40 +00:00
Austaras
bb02cdd26e
refactor(es/minifier): Simplify analyzer context (#8164) 2023-10-27 18:16:00 +00:00
SWC Bot
cb1fa02b99 chore: Publish 1.3.96-nightly-20231026.1 2023-10-26 00:06:58 +00:00
SWC Bot
67b0a7f258 chore: Publish crates 2023-10-25 23:01:44 +00:00
Donny/강동윤
7530e9051d
perf(es/minifier): Add has_flag to Comments (#8182) 2023-10-25 22:59:03 +00:00
강동윤 (Donny)
115f6fe4ae chore: Add lightningcss.dev to the allowed repro domain list 2023-10-25 09:57:47 -07:00
SWC Bot
1e70ccc224 chore: Publish 1.3.96-nightly-20231025.1 2023-10-25 00:07:01 +00:00
강동윤 (Donny)
dc21f79176 chore: Publish crates 2023-10-24 04:32:08 -07:00
Donny/강동윤
fb96b154bd
chore: Publish v1.3.95 with swc_core v0.86.16 (#8176) 2023-10-24 04:29:53 -07:00
SWC Bot
ed9bfa9faf chore: Publish 1.3.95-nightly-20231024.2 2023-10-24 00:22:32 +00:00
SWC Bot
b070885e37 chore: Publish 1.3.95-nightly-20231024.1 2023-10-24 00:07:12 +00:00
SWC Bot
19ccd66d89 chore: Publish crates 2023-10-24 00:04:34 +00:00
Donny/강동윤
5ca3b63582
build(deps): Update ahash (#8174) 2023-10-24 00:01:58 +00:00
SWC Bot
5450f5808a chore: Publish crates 2023-10-23 22:03:16 +00:00
Donny/강동윤
9ceb57b4c7
fix(es/compat): Don't add pure annotations to dummy spans (#8172)
**Related issue:**

 - Closes #8155.
 - Closes #8173.
2023-10-23 15:00:35 -07:00
SWC Bot
7747dbd499 chore: Publish crates 2023-10-23 21:26:12 +00:00
Austaras
c26a2252b6
fix(es/minifier): Always consider reassigned when inlining (#8168)
**Related issue:**

 - Closes #8161.
2023-10-23 21:23:29 +00:00
SWC Bot
76ba2434de chore: Publish crates 2023-10-23 20:42:56 +00:00
David Sherret
02d0613a35
fix(es/typescript): Support ts_enum_is_mutable with const enums (#8171) 2023-10-23 13:40:16 -07:00
SWC Bot
7932111fb9 chore: Publish 1.3.95-nightly-20231023.1 2023-10-23 00:06:49 +00:00
SWC Bot
c9a4b563cd chore: Publish 1.3.95-nightly-20231022.1 2023-10-22 00:07:22 +00:00
강동윤 (Donny)
5c8a14bd69 chore: Publish crates 2023-10-21 04:37:40 -07:00
SWC Bot
cf92d8fbe7 chore: Publish crates 2023-10-21 11:36:36 +00:00
Donny/강동윤
ff39d6452f
chore: Publish v1.3.94 with swc_core v0.86.12 (#8165) 2023-10-21 04:33:25 -07:00
SWC Bot
f5b10dac1a chore: Publish 1.3.94-nightly-20231021.1 2023-10-21 00:07:40 +00:00
SWC Bot
366d9eb514 chore: Publish crates 2023-10-20 21:35:19 +00:00
Donny/강동윤
5be8e74ee0
chore(es/module): Remove serde(deny_unknown_fields) (#8163)
**Related issue:**

 - Closes #7979
2023-10-20 21:32:34 +00:00
SWC Bot
6f9c6424d7 chore: Publish crates 2023-10-20 13:33:17 +00:00
Donny/강동윤
826386f49a
fix(es/parser): Skip this parameters in setter (#8158)
**Description:**

This is not a proper fix, but let's wait for the conf.

**Related issue:**

 - Closes #8156
2023-10-20 13:30:40 +00:00
SWC Bot
10e523d667 chore: Publish 1.3.94-nightly-20231020.2 2023-10-20 12:49:10 +00:00
SWC Bot
b806f925f1 chore: Publish crates 2023-10-20 06:09:49 +00:00
Donny/강동윤
08cf1f786d
fix(es/utils): Fix regression of RefRewriter (#8153)
**Related issue:**

- Found while investigating https://github.com/swc-project/swc-ecosystem-ci/actions/runs/6581045465/job/17880208108
2023-10-20 06:07:17 +00:00
SWC Bot
401219451f chore: Publish 1.3.94-nightly-20231020.1 2023-10-20 00:07:27 +00:00
SWC Bot
4a1a233db8 chore: Publish crates 2023-10-19 21:08:38 +00:00
Donny/강동윤
8a461b8957
feat(es/minifier): Drop empty static blocks (#8152)
**Related issue:**

 - Closes #8136
2023-10-19 21:06:12 +00:00
SWC Bot
64bddc110e chore: Publish crates 2023-10-19 20:24:12 +00:00
Donny/강동윤
35601e4dcb
fix(es/minifier): Abort function inliner if keep_fnames is true (#8145)
**Related issue:**

 - https://github.com/vercel/next.js/issues/56408
2023-10-19 20:20:54 +00:00
SWC Bot
9e71134b3c chore: Publish crates 2023-10-19 19:40:19 +00:00
Austaras
13106e0d2e
refactor(es/minifier): Decouple assign_count from reassigned (#8137) 2023-10-19 19:37:37 +00:00
SWC Bot
a18ffc107f chore: Publish crates 2023-10-19 17:13:59 +00:00
pshu
8d7894c71f
fix(css/ast): Make .hash() of Token not recursive (#8151) 2023-10-19 17:10:48 +00:00