Commit Graph

7820 Commits

Author SHA1 Message Date
Alessandro Chitolina
9c029ef095
feat(es/compat): Implement decorator metadata proposal (#8097)
**Description:**

This PR implements the [decorator
metadata](https://github.com/tc39/proposal-decorator-metadata) proposal,
that is now at Stage 3.

As the decorator metadata proposal is a small extension of the decorator
proposal and is not possible to compile the metadata without transpiling
decorators, I opted to implement it into the existing decorator
transformer (and helper)

**Related issue:**

 - Closes #7957
2023-10-16 20:38:53 +00:00
SWC Bot
7fe9c76c37 chore: Publish 1.3.94-nightly-20231016.1 2023-10-16 00:07:24 +00:00
SWC Bot
f81ca2c795 chore: Publish crates 2023-10-15 10:27:05 +00:00
magic-akari
fb81a36adc
fix(es/utils): Skip var declarator name in RefRewriter (#8125)
**Related issue:**

 - Closes #8124
2023-10-15 10:24:40 +00:00
SWC Bot
3bca931560 chore: Publish crates 2023-10-15 08:25:08 +00:00
David Sherret
57b171dcbe
feat(es/typescript): Add ts_enum_is_mutable to disable enum inlining (#8115)
**Related issue:**

 - Closes #8114.
2023-10-15 08:22:47 +00:00
SWC Bot
ad3006ed1a chore: Publish 1.3.94-nightly-20231015.1 2023-10-15 00:07:17 +00:00
SWC Bot
1c67df55f5 chore: Publish 1.3.94-nightly-20231014.1 2023-10-14 00:06:43 +00:00
SWC Bot
06a2b44499 chore: Publish crates 2023-10-13 06:10:04 +00:00
magic-akari
7da3f52485
feat(es/minifier): Evaluate more toFixed expressions (#8109) 2023-10-13 15:07:00 +09:00
강동윤 (Donny)
787a465d8d chore: Publish crates 2023-10-13 12:28:41 +09:00
Donny/강동윤
06b733ddc1
chore: Publish v1.3.93 with swc_core v0.85.7 (#8112) 2023-10-13 12:26:21 +09:00
SWC Bot
a1d7ea7899 chore: Publish crates 2023-10-13 02:52:46 +00:00
Donny/강동윤
5d7822786e
chore: Update config for git-cliff (#8111) 2023-10-13 11:36:57 +09:00
SWC Bot
def2bb1efc chore: Publish 1.3.93-nightly-20231013.1 2023-10-13 00:07:16 +00:00
Donny/강동윤
affb6fb5e3
refactor(es/compat): Split swc_ecma_transforms_compat (#8110)
**Description:**

- New: `cargo build --release 478.59s user 19.16s system 814% cpu 1:01.09 total`
- Prev: `cargo build --release 495.60s user 18.89s system 742% cpu 1:09.26 total`
2023-10-12 10:08:00 +00:00
SWC Bot
ee21b4e8e5 chore: Publish 1.3.93-nightly-20231012.2 2023-10-12 05:23:00 +00:00
강동윤 (Donny)
edf2004eed chore: Rename scripts.prepare to scripts.setup 2023-10-12 14:21:01 +09:00
SWC Bot
04932acc02 chore: Publish crates 2023-10-12 04:06:44 +00:00
Donny/강동윤
95eb147742
refactor(es/preset-env): Rename parameter to avoid confusion (#8106)
**Related issue:**

 - Closes #8103
2023-10-12 04:04:10 +00:00
SWC Bot
1bb2491368 chore: Publish crates 2023-10-12 03:28:23 +00:00
Donny/강동윤
fe0bf5746f
chore(ci): Fix CI action (#8107) 2023-10-12 03:26:04 +00:00
강동윤 (Donny)
11f31da386 chore(xtask): Bump version correctly 2023-10-12 10:17:58 +09:00
SWC Bot
d3c548843b chore: Publish 1.3.93-nightly-20231012.1 2023-10-12 01:15:58 +00:00
SWC Bot
4cb383d339 chore: Publish 1.3.93-nightly-20231012.1 2023-10-12 01:12:25 +00:00
강동윤 (Donny)
5779a7e26c chore(ci): Use --tag of npm publish 2023-10-12 10:10:37 +09:00
SWC Bot
70b65fb91f chore: Publish 1.3.93-nightly-20231012.1 2023-10-12 00:52:45 +00:00
SWC Bot
1364c568e1 chore: Publish crates 2023-10-12 00:42:04 +00:00
Donny/강동윤
94bb42e294
fix(es/minifier): Don't inline functions if keep_fnames is enabled (#8093)
**Related issue:**

 - https://github.com/vercel/next.js/issues/56550
2023-10-12 00:39:19 +00:00
강동윤 (Donny)
372f78ce12 chore(xtask): Typo 2023-10-12 08:26:04 +09:00
SWC Bot
c4a1a06580 chore: Publish 1.3.93-nightly.20231011.1 2023-10-11 23:23:02 +00:00
강동윤 (Donny)
b8c57870fa chore(xtask): Inherit stderr 2023-10-12 08:17:48 +09:00
강동윤 (Donny)
ff65a5cd20 chore: Restore versions 2023-10-12 08:11:05 +09:00
강동윤 (Donny)
e0c07e25a1 chore(xtask): Preaerve version 2023-10-12 08:05:16 +09:00
SWC Bot
e228724b05 chore: Publish 1.3.95-nightly.20231011.1 2023-10-11 23:02:59 +00:00
강동윤 (Donny)
bd254f67d4 chore(xtask): Create a git tag 2023-10-12 08:00:17 +09:00
SWC Bot
f31d6552f3 chore: Publish 1.3.94-nightly.20231011.1 2023-10-11 22:58:00 +00:00
Donny/강동윤
db4ca650e4
fix(xtask): Fix nightly command (#8105) 2023-10-12 07:55:29 +09:00
SWC Bot
6828fdbee5 chore: Publish crates 2023-10-11 22:50:49 +00:00
Donny/강동윤
9d773bfa12
chore(xtask): Add a command for nigjtly build (#8104) 2023-10-12 07:48:28 +09:00
SWC Bot
a25fff5c46 chore: Publish crates 2023-10-11 18:35:43 +00:00
Donny/강동윤
cb4361f293
fix(es/decorators): Fix a regression about class expressions (#8102)
**Related issue:**

 - Closes #8095
2023-10-11 16:45:21 +00:00
SWC Bot
1183c32e3c chore: Publish crates 2023-10-11 14:05:36 +00:00
Donny/강동윤
e1043fae77
fix(es/parser): Fix parsing of await using (#8101)
**Related issue:**

 - Closes #8096
2023-10-11 14:03:08 +00:00
SWC Bot
17fe7b29c5 chore: Publish crates 2023-10-11 12:44:18 +00:00
Donny/강동윤
226b17fa86
chore(ci): Remove unused concurrency tests (#8100) 2023-10-11 21:40:49 +09:00
SWC Bot
8a07681f78 chore: Publish crates 2023-10-11 12:26:14 +00:00
magic-akari
bf523f5351
fix(es/compat): Handle export default decorator only if not empty (#8099)
**Related issue:**

 - Closes: #8098
2023-10-11 12:24:22 +00:00
SWC Bot
3dc761ab47 chore: Publish crates 2023-10-11 05:23:36 +00:00
Donny/강동윤
f5d7acfa10
chore(xtask): Add --features to xtask bench (#8094) 2023-10-11 05:21:25 +00:00