Commit Graph

7869 Commits

Author SHA1 Message Date
SWC Bot
1095bff35a chore: Publish crates 2023-11-04 08:28:24 +00:00
bohan
67e2c4a4fd
perf(es): Delete useless partition and extend in comments (#8214)
I've used `bizcharts` as a benchmark, and:

before this PR 17s:

<img width="288" alt="image"
src="https://github.com/web-infra-dev/rspack/assets/30187863/35232863-247a-4825-a08f-977de46e7216">

after this PR 1.7s:

<img width="585" alt="image"
src="https://github.com/swc-project/swc/assets/30187863/b802abf0-d699-45c7-b9f3-2f52192f7477">


You can get more info at
https://github.com/web-infra-dev/rspack/issues/4525
2023-11-04 08:26:25 +00:00
SWC Bot
71448552e5 chore: Publish crates 2023-11-04 04:19:10 +00:00
Donny/강동윤
1a26be2a27
feat(es/codegen): Respect ascii_only: false for StrLit (#8217)
**Related issue:**

 - Closes #8189
2023-11-04 04:15:58 +00:00
SWC Bot
34e7c32085 chore: Publish crates 2023-11-04 02:16:21 +00:00
magic-akari
a00f575837
perf(es/typescript): Visit ts import/export only once (#8213)
**Description:**

Move `visit_mut_for_ts_import_export` into `visit_mut_module` to make sure we only visit the top-level items.
2023-11-04 02:13:27 +00:00
SWC Bot
4594a7bea4 chore: Publish crates 2023-11-04 01:37:57 +00:00
Donny/강동윤
aeb9cafd11
fix(css/modules): Allow out-of-order class names for composes (#8218)
**Related issue:**

 - Closes #7910
2023-11-04 01:35:59 +00:00
SWC Bot
cb29fdd1f4 chore: Publish 1.3.97-nightly-20231104.1 2023-11-04 00:06:40 +00:00
강동윤 (Donny)
808547f592 chore: Publish crates 2023-11-04 06:42:43 +09:00
Donny/강동윤
93bb69d14e
chore: Publish v1.3.96 with swc_core v0.86.29 (#8216) 2023-11-04 06:41:56 +09:00
SWC Bot
f2c1da891b chore: Publish 1.3.96-nightly-20231103.1 2023-11-03 00:07:43 +00:00
SWC Bot
5bdd8fd9e7 chore: Publish crates 2023-11-02 23:31:51 +00:00
Donny/강동윤
47733a951c
fix(es/react): Visit children nodes in jsx-src pass (#8212)
**Related issue:**

 - Closes #8210
2023-11-03 08:29:16 +09:00
SWC Bot
2b35e6c159 chore: Publish crates 2023-11-02 22:20:35 +00:00
Donny/강동윤
83a5a0c612
fix(es/compat): Handle private names from class properties pass (#8090)
**Related issue:**

 - Closes #7561
 - https://github.com/vercel/next.js/issues/56612
2023-11-02 22:18:17 +00:00
SWC Bot
407aa63cea chore: Publish crates 2023-11-02 21:40:11 +00:00
magic-akari
abced23b2a
fix(es/typescript): Preserve const enum for named export (#8208)
**Related issue:**

- Closes: #8204
2023-11-02 21:38:14 +00:00
SWC Bot
f721814fea chore: Publish crates 2023-11-02 03:32:27 +00:00
Donny/강동윤
c061356b63
fix(es/transforms): Do not add PURE comment to BytePos(0) (#8207)
**Related issue:**

 - https://github.com/vercel/next.js/pull/57904 (CI failed)
2023-11-02 03:29:59 +00:00
SWC Bot
aefa70159a chore: Publish 1.3.96-nightly-20231102.1 2023-11-02 00:07:27 +00:00
SWC Bot
e87a45bd67 chore: Publish crates 2023-11-02 00:02:22 +00:00
Donny/강동윤
dd805e95a4
feat(es/minifier): Respect inline level and preserve native names (#8205)
**Description:**

Note: Preserving native names is a hack, but it's used by `terser` and it's the only way to preserve the name of `class AbortSignal` while mangling without `keep_classnames: true`. We can special case `AbortSignal`, but let's just follow `terser`.


**Related issue:**

 - https://github.com/vercel/next.js/pull/57904
2023-11-02 08:59:59 +09:00
SWC Bot
d3ce0f1245 chore: Publish crates 2023-11-01 13:46:52 +00:00
Donny/강동윤
c1b255a59c
fix(es/compat): Use dummy span for blocks in parameters (#8202)
**Related issue:**

 - Closes #8199
2023-11-01 13:43:53 +00:00
강동윤 (Donny)
d4e21fcb78 chore: Fix publish action 2023-11-01 13:19:46 +09:00
SWC Bot
5243cdb035 chore: Publish 1.3.96-nightly-20231101.1 2023-11-01 00:07:05 +00:00
SWC Bot
9588088b37 chore: Publish crates 2023-10-31 09:29:46 +00:00
Donny/강동윤
8db80b8c28
fix(ci): Set tag for wasm publish actions (#8200) 2023-10-31 18:27:07 +09:00
SWC Bot
2503e720cc chore: Publish 1.3.96-nightly-20231031.1 2023-10-31 00:06:54 +00:00
SWC Bot
6a9b6f6732 chore: Publish crates 2023-10-30 08:49:00 +00:00
Donny/강동윤
3dc4e1e02d
feat(es/preset-env): Update compat data (#8194)
**Related issue:**

 - Closes #8193.
2023-10-30 08:46:24 +00:00
SWC Bot
7cfa3213fb chore: Publish crates 2023-10-30 05:11:33 +00:00
Donny/강동윤
b13bc32027
fix(es/compat): Make block-scoping pass rename exports correctly (#8175)
**Related issue:**

 - Closes #8148
2023-10-30 05:08:27 +00:00
SWC Bot
b77d99d4b8 chore: Publish crates 2023-10-30 01:41:47 +00:00
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