Commit Graph

7813 Commits

Author SHA1 Message Date
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
SWC Bot
5dacaa174b chore: Publish 1.3.94-nightly-20231019.1 2023-10-19 00:07:16 +00:00
SWC Bot
0b6f2b4fe9 chore: Publish crates 2023-10-18 18:00:42 +00:00
magic-akari
e186b80ddc
feat(es/compat): Skip empty class static blocks (#8138)
**Description:**

And update the `static_block_private_id` generate rules to be consistent with Babel.

**Related issue:**

 - #8136
2023-10-18 17:58:02 +00:00
SWC Bot
34b01672ad chore: Publish crates 2023-10-18 04:24:27 +00:00
David Sherret
bffe33a270
feat(es/parser): Implement AsRef<str> for IdentLike (#8133) 2023-10-18 04:22:03 +00:00
SWC Bot
5bb63aa2a2 chore: Publish crates 2023-10-18 03:47:26 +00:00
Donny/강동윤
111de264b0
fix(es/minifier): Abort seq inliner if b can short-circuit (#8128)
**Related issue:**

 - Closes #8119
2023-10-18 03:44:36 +00:00
SWC Bot
736831cb68 chore: Publish crates 2023-10-18 03:10:04 +00:00
Austaras
4f67794223
feat(es/minifier): Inline into the arguments of new using seq inliner (#8127) 2023-10-18 03:07:14 +00:00
SWC Bot
748a7feae3 chore: Publish 1.3.94-nightly-20231018.1 2023-10-18 00:07:02 +00:00
SWC Bot
075756587b chore: Publish 1.3.94-nightly-20231017.1 2023-10-17 00:07:16 +00:00
SWC Bot
dc337d59f1 chore: Publish crates 2023-10-16 22:11:45 +00:00
Donny/강동윤
1e9b4e027c
chore(bindings): Add @deprecated to JS plugins (#8132) 2023-10-16 22:09:14 +00:00
SWC Bot
9b27a41b76 chore: Publish crates 2023-10-16 20:41:20 +00:00
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