Commit Graph

8838 Commits

Author SHA1 Message Date
SWC Bot
9ec9459b16 chore: Bump crates 2024-04-30 07:55:10 +00:00
Donny/강동윤
86e2bb04ac
fix(es/minifier): Increment ref_count while invoking IIFE (#8904)
**Related issue:**

 - Closes #8880
2024-04-30 09:11:23 +09:00
SWC Bot
579a1de6b2 chore: Publish 1.5.3-nightly-20240429.2 2024-04-29 02:22:43 +00:00
SWC Bot
04de5073bc chore: Publish 1.5.3-nightly-20240429.1 2024-04-29 01:53:31 +00:00
SWC Bot
9fdb38549e chore: Bump crates 2024-04-29 01:24:16 +00:00
LongYinan
65ea99ec6f
chore(ci): Fix macOS x64 build & publish job (#8901)
`macos-latest` runner was upgraded to `macos-14-arm64`. We need to add `--target x86_64-apple-darwin` explicitly

- Closes https://github.com/swc-project/swc/issues/8898
2024-04-29 10:22:32 +09:00
강동윤 (Donny)
7ac3b0a7dc chore: Bump crates 2024-04-29 09:56:27 +09:00
SWC Bot
0dcdae9bda chore: Bump crates 2024-04-29 00:56:23 +00:00
magic-akari
cc1432a12f
chore: Apply cargo autoinherit (#8902) 2024-04-29 00:54:45 +00:00
강동윤 (Donny)
7114530e16 chore: Update changelog 2024-04-27 19:31:16 +09:00
강동윤 (Donny)
501ae8bbef chore: Publish 1.5.2 with swc_core v0.91.1 2024-04-27 19:31:14 +09:00
강동윤 (Donny)
de37b76dbe chore: Update changelog 2024-04-27 15:29:17 +09:00
강동윤 (Donny)
bb317aaf26 chore: Publish 1.5.1 with swc_core v0.91.1 2024-04-27 15:29:15 +09:00
SWC Bot
b3d495f796 chore: Bump crates 2024-04-27 05:10:38 +00:00
magic-akari
8fe57adc02
fix(es/decorator): Support for legacy decorators in class expressions (#8892)
**Related issue:**

- Closes #8515
2024-04-27 05:09:10 +00:00
SWC Bot
0fc70b3579 chore: Bump crates 2024-04-27 04:46:08 +00:00
Donny/강동윤
be359fa753
fix(es/minifier): Do not add vars if eval exists (#8888)
**Related issue:**

 - Closes #8886

---------

Co-authored-by: austaras <austaras@outlook.com>
2024-04-27 13:44:25 +09:00
SWC Bot
9749bd2614 chore: Publish 1.5.1-nightly-20240426.1 2024-04-26 00:06:36 +00:00
강동윤 (Donny)
016fe14164 chore: Publish @swc/helpers@0.5.11 2024-04-25 09:45:46 +09:00
Andrew Enger
438d0b32b6
fix(es/helpers): Remove unused export from _using_ctx.js (#8891)
**Description:**

Fixes stray export in `_using_ctx.js` inside of `packages/helpers`. This was causing build failures in my project, and I believe it was an errant export from a previous version of the helpers package.
2024-04-25 09:45:03 +09:00
강동윤 (Donny)
c76cd9eccf chore: Update changelog 2024-04-24 09:59:59 +09:00
강동윤 (Donny)
37dc43c69d chore: Publish 1.5.0 with swc_core v0.91.0 2024-04-24 09:59:57 +09:00
SWC Bot
f9106a50c0 chore: Bump crates 2024-04-24 00:37:30 +00:00
David Sherret
1155ac7972
feat(es/ast): Support abstract auto-accessors (#8736)
**Description:**

Supports abstract auto-accessors:
3e91592b06/tests/baselines/reference/autoAccessorAllowedModifiers.js (L9)

**BREAKING CHANGE:**

Adds a new is_abstract property
2024-04-24 09:35:33 +09:00
SWC Bot
d925f8a6d2 chore: Bump crates 2024-04-23 12:36:02 +00:00
Austaras
cd4548fd8c
fix(es/minifier): Abort seq inline on recursive usage (#8887)
**Related issue:**

 - Closes #8841
2024-04-23 12:34:14 +00:00
강동윤 (Donny)
839bbfd78c chore: Update changelog 2024-04-23 12:35:26 +09:00
강동윤 (Donny)
3311da75c0 chore: Publish 1.4.17 with swc_core v0.90.37 2024-04-23 12:35:24 +09:00
강동윤 (Donny)
b1c22d53b6 chore: Improve publish script 2024-04-23 12:34:49 +09:00
SWC Bot
fedf06f820 chore: Publish 1.4.17-nightly-20240423.3 2024-04-23 03:34:02 +00:00
SWC Bot
2c1e959771 chore: Publish 1.4.17-nightly-20240423.2 2024-04-23 03:23:25 +00:00
강동윤 (Donny)
7b08d38b84 chore: Update bindings 2024-04-23 12:19:30 +09:00
SWC Bot
2fbb8641f5 chore: Publish 1.4.17-nightly-20240423.1 2024-04-23 02:09:59 +00:00
SWC Bot
6d3c41d2d5 chore: Bump crates 2024-04-23 01:50:19 +00:00
Donny/강동윤
c7a06b1a5e
fix(es/codegen): Use Str.raw for es5 (#8873)
**Related issue:**

 - Closes #8871
2024-04-23 10:48:33 +09:00
SWC Bot
f5e50c2c6e chore: Bump crates 2024-04-23 01:25:36 +00:00
Donny/강동윤
063eabd33c
fix(es/compat): Fix async generator (#8881)
**Related issue:**

 - Closes #8805
2024-04-23 01:23:49 +00:00
SWC Bot
16a3885107 chore: Bump crates 2024-04-22 04:09:07 +00:00
Donny/강동윤
d7188cdb66
fix(es): Ignore sourceMappingURL in string literals (#8879)
**Related issue:**

 - Closes #8869
2024-04-22 04:07:18 +00:00
SWC Bot
5d5cf43949 chore: Publish 1.4.17-nightly-20240421.1 2024-04-21 00:06:37 +00:00
SWC Bot
105593fd71 chore: Publish 1.4.17-nightly-20240419.1 2024-04-19 14:16:02 +00:00
SWC Bot
e1a197694c chore: Bump crates 2024-04-19 13:39:58 +00:00
yehonatanz
e22c3681a6
fix(es/resolver): Prioritze jsc.paths by length in tsc resolver (#8875)
**Description:**

See #8858 

**BREAKING CHANGE:**
`jsc.paths` are now prioritized differently to align with `tsc`. The order is:
1. Exact matches
2. Wildcard pattern matches, sorted by length of prefix before wildcard


**Related issue:**

 - Closes #8858
2024-04-19 13:38:19 +00:00
SWC Bot
2e0663befc chore: Bump crates 2024-04-19 12:54:02 +00:00
Anders Kaseorg
5419a9477f
fix(html/codegen): Expand elements before which body isn’t elided (#8877)
**Description:**

For example, transforming `<body><noscript>` to `<noscript>` would
incorrectly change the meaning so `<noscript>` is parsed as a child of
`<head>`.

Reference: [§13.2.6.4.4 The "in head" insertion
mode](https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inhead),
[13.2.6.4.6 The "after head" insertion
mode](https://html.spec.whatwg.org/multipage/parsing.html#the-after-head-insertion-mode).

**Related issue:**

- Closes #8876.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-04-19 12:52:16 +00:00
강동윤 (Donny)
a4d3b26217 chore: Update changelog 2024-04-18 16:57:33 +09:00
강동윤 (Donny)
f58b95a3d7 chore: Publish 1.4.16 with swc_core v0.90.35 2024-04-18 16:57:31 +09:00
SWC Bot
0036f74205 chore: Bump crates 2024-04-18 05:00:08 +00:00
Donny/강동윤
6e9d1a4ebf
fix(es/helpers): Fix resolving of usingCtx helper (#8874)
**Related issue:**

 - Closes #8872
2024-04-18 04:58:21 +00:00
강동윤 (Donny)
10bb67a7f5 chore: Update changelog 2024-04-17 17:41:21 +09:00