Donny/강동윤
733dcc6b83
fix(xtask): Fix nightly
action ( #9042 )
2024-06-12 16:43:16 +09:00
SWC Bot
2ecd550d58
chore: Publish 1.5.29-nightly-20240612.1
2024-06-12 07:33:17 +00:00
SWC Bot
82479ec163
chore: Bump crates
2024-06-12 05:23:40 +00:00
Donny/강동윤
3337bb26f9
fix(ci): Make publish action upload cli artifacts ( #9040 )
...
**Related issue:**
- Closes #9035
2024-06-12 14:22:08 +09:00
SWC Bot
f7dc8245c5
chore: Publish 1.5.29-nightly-20240612.1
2024-06-12 03:33:37 +00:00
SWC Bot
a1629d9aea
chore: Bump crates
2024-06-12 03:26:01 +00:00
Donny/강동윤
675916ccbd
perf(es/minifier): Do not visit var init multiple times ( #9039 )
...
**Description:**
I mistakenly introduced a performance regression with https://github.com/swc-project/swc/pull/9032 . It makes the minifier visit the initializer of variables multiple times - once while normal visiting and once in `hoist_props_of_vars`. This PR fixes it.
2024-06-12 12:24:28 +09:00
SWC Bot
65bd2159f5
chore: Bump crates
2024-06-12 01:13:45 +00:00
Donny/강동윤
5bffd0ff9b
perf(es/parser): Optimize lexing of template literals, again ( #9037 )
...
**Description:**
Applies same trick as #9036 , but for `cooked`
2024-06-12 01:12:05 +00:00
SWC Bot
9d2e1cee0b
chore: Bump crates
2024-06-12 00:44:35 +00:00
David Sherret
91e92ececa
fix(es/codegen): Emit named type in mapped types ( #9038 )
...
**Description:**
Fixes the emit of mapped types.
2024-06-12 00:42:40 +00:00
SWC Bot
ac5eb02167
chore: Bump crates
2024-06-11 12:21:40 +00:00
Donny/강동윤
6ab19a1b5f
perf(es/parser): Optimize lexing of template literals ( #9036 )
...
**Description:**
We don't need to push one char at a time.
2024-06-11 21:20:00 +09:00
SWC Bot
6400140999
chore: Bump crates
2024-06-11 11:22:41 +00:00
Donny/강동윤
cb16994a8d
fix(es/minifier): Visit RHS while hoisting properties ( #9032 )
...
**Description:**
Handles
```js
var FRUITS = { MANGO: "mango" }, getMangoLabel = (label) => label[FRUITS.MANGO];
```
while hoisting properties. In the code above, the initializer of the second variable declarator should be visited after hoisting the first variable declarator. Otherwise `FRUITS.MANGO` cannot be handled.
**Related issue:**
- Closes #9030
2024-06-11 20:20:39 +09:00
SWC Bot
328cb4b248
chore: Publish 1.5.29-nightly-20240611.1
2024-06-11 08:32:31 +00:00
SWC Bot
0a7aa10706
chore: Bump crates
2024-06-11 07:15:38 +00:00
Donny/강동윤
39654bf1e7
fix(es): Make output
field optional ( #9033 )
2024-06-11 07:14:01 +00:00
강동윤 (Donny)
93c16422c3
chore: Update changelog
2024-06-11 15:03:59 +09:00
강동윤 (Donny)
e06198552c
chore: Publish 1.5.28
with swc_core
v0.93.2
2024-06-11 15:03:56 +09:00
SWC Bot
b31927cb66
chore: Bump crates
2024-06-11 06:01:25 +00:00
Donny/강동윤
6669343b4a
fix(es/minifier): Fix typescript enum detection ( #9031 )
...
**Description:**
This reverts commit cc8c1550dd
because it caused a regression in the next.js canary.
- Canary version: `15.0.0-canary.12`
**Related issue:**
- Reverts #8986
2024-06-11 14:59:42 +09:00
SWC Bot
2133903e8f
chore: Publish 1.5.28-nightly-20240611.1
2024-06-11 00:06:15 +00:00
강동윤 (Donny)
abcf21dfc2
chore: Update changelog
2024-06-10 14:16:44 +09:00
강동윤 (Donny)
4d00b671f6
chore: Publish 1.5.27
with swc_core
v0.93.1
2024-06-10 14:16:42 +09:00
강동윤 (Donny)
e23af00a8c
chore(ci): Disable testing on node@20
2024-06-10 14:16:10 +09:00
강동윤 (Donny)
b952b084bf
chore: Update changelog
2024-06-10 12:17:00 +09:00
강동윤 (Donny)
3f7820a3a1
chore: Publish 1.5.26
with swc_core
v0.93.1
2024-06-10 12:16:58 +09:00
SWC Bot
22c00c7776
chore: Publish 1.5.26-nightly-20240610.1
2024-06-10 02:36:01 +00:00
SWC Bot
206b1e9b02
chore: Bump crates
2024-06-10 02:31:08 +00:00
Donny/강동윤
54ac992781
feat(es/renamer): Workaround a bug of Safari ( #9029 )
...
**Related issue:**
- Closes #9015
2024-06-10 11:29:24 +09:00
SWC Bot
d4ab0acbe2
chore: Publish 1.5.26-nightly-20240607.1
2024-06-07 12:10:53 +00:00
SWC Bot
98540a588b
chore: Bump crates
2024-06-07 12:02:11 +00:00
Donny/강동윤
825749f440
feat(es): Integrate experimental data API ( #9027 )
2024-06-07 21:00:26 +09:00
SWC Bot
f1ca6a7906
chore: Bump crates
2024-06-07 07:18:53 +00:00
Donny/강동윤
cada50b017
feat(es/minifier): Support module: "unknown"
( #9026 )
...
**Related issue:**
- Closes #8571
2024-06-07 07:17:05 +00:00
강동윤 (Donny)
2e22b5dc4f
chore: Fix nightly
of xtask
2024-06-07 11:17:20 +09:00
SWC Bot
1b174dfac5
chore: Publish 1.5.11-nightly-20240606.1
2024-06-06 00:08:15 +00:00
SWC Bot
81ec70419b
chore: Bump crates
2024-06-05 10:39:06 +00:00
Donny/강동윤
6ce112cfeb
feat(es/transforms): Add an API for returning metadata to JS ( #9022 )
2024-06-05 10:37:28 +00:00
강동윤 (Donny)
2b81d72333
chore: Workaround the bug of cargo-mono
2024-06-05 15:46:04 +09:00
Donny/강동윤
6fa79be081
feat(es/transforms): Add experimental output API for transforms ( #9000 )
...
**Description:**
This interface will provide a way to emit some outputs from transforms. This data will be emitted back to the JS caller.
2024-06-05 15:38:28 +09:00
SWC Bot
668a11d50d
chore: Bump crates
2024-06-05 06:32:40 +00:00
huajingyun
7f08b03231
chore: Bump libc
crate ( #9001 )
2024-06-05 06:31:01 +00:00
SWC Bot
03edd92dc8
chore: Bump crates
2024-06-05 06:07:36 +00:00
Donny/강동윤
555e71cfd5
fix(es/es2015): Remove needless unreachable!
( #9021 )
...
**Related issue:**
- Closes #9020
2024-06-05 06:05:22 +00:00
강동윤 (Donny)
e3dfa8707a
chore: Update changelog
2024-06-05 10:22:53 +09:00
강동윤 (Donny)
8bb302a508
chore: Publish 1.5.25
with swc_core
v0.92.10
2024-06-05 10:22:50 +09:00
SWC Bot
277843e2e9
chore: Bump crates
2024-06-04 09:53:19 +00:00
Donny/강동윤
3bf31148ba
perf(es/parser): Add feature named tracing-spans
( #9019 )
2024-06-04 18:51:25 +09:00