Donny/강동윤
6b60bdb697
fix(es/fixer): Wrap class expressions in callee ( #8928 )
...
**Related issue:**
- Closes #8920
2024-05-07 04:57:05 +00:00
SWC Bot
431b7306b8
chore: Bump crates
2024-05-07 03:17:29 +00:00
Donny/강동윤
aca6a77903
fix(es/minifier): Respect module: false
( #8925 )
...
**Description:**
Tests are modified because I enabled script detection for the fixture test suite.
**Related issue:**
- Closes #8909
2024-05-07 12:15:47 +09:00
Donny/강동윤
762b0d4477
fix(es/proposal): Fix scoping of explicit resource management pass ( #8903 )
...
**Related issue:**
- Closes #8895
2024-05-05 01:33:54 +00:00
SWC Bot
225d25a015
chore: Bump crates
2024-05-05 01:10:06 +00:00
SWC Bot
a9bab833ba
chore: Bump crates
2024-05-01 00:36:57 +00:00
magic-akari
af96e396de
fix(es/decorators): Handle ref of decorated class ( #8905 )
...
**Related issue:**
Follow up #8515
- Ts Decorator does not always return a class; we need to give it the correct reference.
2024-05-01 00:35:17 +00:00
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
강동윤 (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
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
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
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
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
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
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
강동윤 (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
Donny/강동윤
2075a23373
fix(es/codegen): Fix ascii_only
for identifiers ( #8866 )
...
**Related issue:**
- Closes #8852
2024-04-16 05:21:45 +00:00
Donny/강동윤
740c0bb00a
fix(es/minifier): Remove raw
of strings after modification ( #8865 )
...
**Related issue:**
- Closes #8864
2024-04-16 04:39:54 +00:00
SWC Bot
af19385097
chore: Bump crates
2024-04-16 03:07:23 +00:00
David E Disch
df2e056f29
refactor(es/minifier): Remove mangle.safari10
( #8857 )
...
**Related issue:**
- Closes #8837
2024-04-16 03:05:43 +00:00
SWC Bot
0af201043a
chore: Bump crates
2024-04-16 02:24:47 +00:00
Donny/강동윤
ca9c76b46f
build(cargo): Update rustc to nightly-2024-04-03
( #8821 )
2024-04-16 02:20:47 +00:00
SWC Bot
5f75019683
chore: Bump crates
2024-04-15 06:29:53 +00:00
Donny/강동윤
6d240768b1
fix(es/proposal): Update explicit resource management to match spec ( #8860 )
...
**Related issue:**
- Closes #8853
2024-04-15 15:28:11 +09:00
SWC Bot
3de82531b2
chore: Bump crates
2024-04-15 05:03:24 +00:00
Donny/강동윤
fbd32fbff3
fix(es/parser): Fix span of BindingIdent
( #8859 )
...
**Related issue:**
- Closes #8856
2024-04-15 05:01:36 +00:00
SWC Bot
59d18c30b4
chore: Bump crates
2024-04-13 02:39:50 +00:00
Austaras
f6ba92b033
fix(es/resolver): Correctly check strict mode ( #8851 )
...
**Related issue:**
- Closes #8842
2024-04-13 02:38:10 +00:00
SWC Bot
d4b89db047
chore: Bump crates
2024-04-13 02:13:18 +00:00