Commit Graph

8676 Commits

Author SHA1 Message Date
강동윤 (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
강동윤 (Donny)
ba9f33bb78 chore: Publish 1.4.15 with swc_core v0.90.34 2024-04-17 17:41:20 +09:00
SWC Bot
0594398aab chore: Publish 1.4.15-nightly-20240417.1 2024-04-17 07:09:51 +00:00
SWC Bot
4410d62317 chore: Bump crates 2024-04-17 05:44:33 +00:00
Donny/강동윤
f9459a8adf
build(cargo): Update rustc to nightly-2024-04-16 (#8870) 2024-04-17 05:42:11 +00:00
SWC Bot
036414af12 chore: Publish 1.4.15-nightly-20240416.4 2024-04-16 23:39:01 +00:00
강동윤 (Donny)
2ec3282722 chore: Pin version of proc-macro2 to v1.0.79 2024-04-17 08:35:45 +09:00
SWC Bot
36e49e456f chore: Publish 1.4.15-nightly-20240416.3 2024-04-16 11:21:39 +00:00
강동윤 (Donny)
13f7ef70d9 chore: Pin version of proc-macro2 2024-04-16 20:18:36 +09:00
SWC Bot
8bf1360f19 chore: Publish 1.4.15-nightly-20240416.2 2024-04-16 11:09:03 +00:00
강동윤 (Donny)
0f07acbc57 chore: Publish crates 2024-04-16 20:02:16 +09:00
SWC Bot
81c3c5ca9e chore: Bump crates 2024-04-16 10:46:02 +00:00
Donny/강동윤
a1c5415b3b
feat(es/transforms): Allocate stacks dynamically (#8867)
**Description:**

 - This PR introduces an in-tree testing system for Deno.
 - This PR adds `stacker` cargo-feature to `swc_ecma_utils`.

**Related issue:**

 - #1627
 - Closes #8840
2024-04-16 19:43:58 +09:00