SWC Bot
e1c9182e1c
chore: Publish crates
2023-05-09 05:47:00 +00:00
SWC Bot
7fc9b00443
chore: Publish crates
2023-05-08 03:40:27 +00:00
SWC Bot
aef5ac4812
chore: Publish crates
2023-05-06 03:56:38 +00:00
SWC Bot
e9f3371c5f
chore: Publish crates
2023-05-02 02:13:33 +00:00
Donny/강동윤
e0de83e862
fix(es/compat): Fix is_setter
in parameters
pass ( #7348 )
...
**Description:**
x-ref: https://vercel.slack.com/archives/C02HY34AKME/p1682667306929829
2023-05-02 02:11:42 +00:00
SWC Bot
767284e27f
chore: Publish crates
2023-04-29 13:28:01 +00:00
SWC Bot
e7911ee594
chore: Publish crates
2023-04-26 01:25:19 +00:00
SWC Bot
923ed13b6a
chore: Publish crates
2023-04-24 09:25:42 +00:00
SWC Bot
51f3840609
chore: Publish crates
2023-04-24 05:25:39 +00:00
Fy
66b5b110bf
fix(es/compat): Transform curried function call with optional chaining ( #7313 )
...
**Related issue:**
- Closes #7312
2023-04-24 05:23:53 +00:00
SWC Bot
5400648de8
chore: Publish crates
2023-04-24 04:17:24 +00:00
SWC Bot
f2a38e808a
chore: Publish crates
2023-04-21 06:13:37 +00:00
magic-akari
38dfb91ebc
fix(es/helpers): Remove unnecessary parameters in helper_expr!
macro ( #7296 )
...
**Description:**
We have moved to snake_case, so the last parameter of helper_expr is unnecessary.
2023-04-20 08:26:34 +00:00
Donny/강동윤
38495a9835
test(es/compat): Add a test for a wrong issue ( #7300 )
...
**Related issue:**
- Closes #7290 .
2023-04-20 11:10:25 +09:00
SWC Bot
7fd1e93434
chore: Publish crates
2023-04-19 21:54:39 +00:00
SWC Bot
0e4d764f90
chore: Publish crates
2023-04-19 11:27:00 +00:00
SWC Bot
9e752bd1aa
chore: Publish crates
2023-04-15 04:21:44 +00:00
SWC Bot
42c4b07f34
chore: Publish crates
2023-04-15 03:29:04 +00:00
SWC Bot
db9320c051
chore: Publish crates
2023-04-15 02:19:38 +00:00
SWC Bot
e6cffb7581
chore: Publish crates
2023-04-13 08:41:47 +00:00
SWC Bot
8fc527343b
chore: Publish crates
2023-04-13 05:52:04 +00:00
SWC Bot
8e5cb60183
chore: Publish crates
2023-04-12 12:33:03 +00:00
SWC Bot
d4782ee526
chore: Publish crates
2023-04-12 11:46:53 +00:00
magic-akari
2e947e7aeb
fix(es/compat): Handle export function in reserved_word
( #7251 )
2023-04-12 11:44:49 +00:00
SWC Bot
f31f67c7fb
chore: Publish crates
2023-04-11 07:05:27 +00:00
SWC Bot
80e125a386
chore: Publish crates
2023-04-11 02:13:17 +00:00
SWC Bot
2a662350e6
chore: Publish crates
2023-04-10 10:47:52 +00:00
SWC Bot
ab9e793fa8
chore: Publish crates
2023-04-10 08:48:13 +00:00
SWC Bot
2204b7809b
chore: Publish crates
2023-04-10 03:42:39 +00:00
SWC Bot
bb80c659b3
chore: Publish crates
2023-04-07 01:46:34 +00:00
SWC Bot
4b9cfbb4dd
chore: Publish crates
2023-04-06 13:48:37 +00:00
Donny/강동윤
f5c62fbbf8
fix(es/compat): Fix finally
handling of generator
( #7215 )
...
**Description:**
Update generator implementation to match
e83d61398e/src/compiler/transformers/generators.ts
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5913 .
2023-04-06 09:37:21 +00:00
SWC Bot
c6b28f91cc
chore: Publish crates
2023-04-05 05:17:51 +00:00
SWC Bot
c8fca9a054
chore: Publish crates
2023-04-04 03:07:51 +00:00
SWC Bot
ae2362e97b
chore: Publish crates
2023-04-03 08:15:39 +00:00
SWC Bot
a679dbe9aa
chore: Publish crates
2023-04-02 22:16:24 +00:00
SWC Bot
b94fbed4c9
chore: Publish crates
2023-03-31 06:17:53 +00:00
magic-akari
3ca954b9f9
fix(es/helpers): Use snake_case for helpers ( #7147 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7144 .
- Closes https://github.com/swc-project/swc/issues/7118 .
2023-03-31 15:15:21 +09:00
SWC Bot
7d69b79a9e
chore: Publish crates
2023-03-31 03:23:35 +00:00
magic-akari
0a80e0506b
fix(es/compat): Handle shorthand object prop while renaming ( #7176 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7174 .
2023-03-31 03:21:39 +00:00
SWC Bot
bf1e55d27b
chore: Publish crates
2023-03-30 08:48:31 +00:00
magic-akari
23fb8c5563
fix(es/compat): Fix the position for temp var injection ( #7171 )
2023-03-30 17:41:55 +09:00
SWC Bot
6a015550ba
chore: Publish crates
2023-03-30 08:40:29 +00:00
magic-akari
065d11cb9b
fix(es/compat): Handle import/export in reserved_word
( #7165 )
2023-03-30 17:38:35 +09:00
SWC Bot
b1fb6b655f
chore: Publish crates
2023-03-30 08:08:20 +00:00
Donny/강동윤
0259a7465f
build(cargo): Update rustc
to nightly-2023-03-20
( #7170 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-30 08:06:02 +00:00
SWC Bot
44062d6fa5
chore: Publish crates
2023-03-29 08:50:54 +00:00
Donny/강동윤
12546c853a
build(cargo): Revert rustc upgrade ( #7162 )
...
**Description:**
The `rkyv` bug is not fixed.
2023-03-29 17:48:45 +09:00
SWC Bot
d74103739a
chore: Publish crates
2023-03-29 06:26:30 +00:00
Donny/강동윤
e445502072
build(cargo): Update rustc
to nightly-2023-03-28
( #7154 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-29 06:24:19 +00:00
SWC Bot
47f15f9f28
chore: Publish crates
2023-03-27 06:04:11 +00:00
SWC Bot
8fe52a12b3
chore: Publish crates
2023-03-27 04:31:35 +00:00
Donny/강동윤
28261985b0
chore(cargo): Refactor Cargo.toml
to reduce merge conflict ( #7139 )
2023-03-24 13:46:42 +09:00
SWC Bot
6635d54128
chore: Publish crates
2023-03-24 02:42:16 +00:00
SWC Bot
b178ff5661
chore: Publish crates
2023-03-23 09:19:33 +00:00
SWC Bot
42f71431bf
chore: Publish crates
2023-03-23 05:19:01 +00:00
SWC Bot
e77bc0a62f
chore: Publish crates
2023-03-23 04:39:01 +00:00
SWC Bot
0195f536ef
chore: Publish crates
2023-03-22 11:50:07 +00:00
SWC Bot
8c5a1f140a
chore: Publish crates
2023-03-22 06:33:46 +00:00
SWC Bot
1aa9a98b27
chore: Publish crates
2023-03-21 09:29:42 +00:00
Donny/강동윤
2bc631df87
fix(es/compat): Don't modify private fields from reserved_words
pass ( #7113 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7106 .
2023-03-21 09:27:31 +00:00
SWC Bot
212af9b0a7
chore: Publish crates
2023-03-21 08:48:30 +00:00
SWC Bot
cda09e44c3
chore: Publish crates
2023-03-21 07:21:46 +00:00
SWC Bot
f40175b960
chore: Publish crates
2023-03-20 05:30:14 +00:00
SWC Bot
85c51a81e7
chore: Publish crates
2023-03-20 02:03:09 +00:00
Austaras
c114f006b4
refactor(es/resolver): Make syntax context for unresolved and top-level stable ( #7096 )
2023-03-20 11:01:19 +09:00
SWC Bot
d6cc123d62
chore: Publish crates
2023-03-19 02:59:07 +00:00
Austaras
0f09e356c3
feat(es/resolver): Make scope context identical to the vars ( #7095 )
2023-03-19 11:57:14 +09:00
SWC Bot
8902741084
chore: Publish crates
2023-03-17 02:40:31 +00:00
SWC Bot
60ccdab60e
chore: Publish crates
2023-03-16 02:20:24 +00:00
SWC Bot
b14e6b9e54
chore: Publish crates
2023-03-15 02:33:33 +00:00
Donny/강동윤
963c460613
refactor: Fix lints using clippy from nightly-2023-03-13
( #6920 )
2023-03-14 04:56:21 +00:00
SWC Bot
6bf5f03884
chore: Publish crates
2023-03-13 08:34:46 +00:00
SWC Bot
3da6d18d47
chore: Publish crates
2023-03-13 03:27:50 +00:00
SWC Bot
45fba897c6
chore: Publish crates
2023-03-13 01:59:04 +00:00
magic-akari
ae348e32e1
fix(es/compat): Insert the variable declaration nearest to the available statements ( #7067 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7064 .
2023-03-13 01:57:14 +00:00
SWC Bot
136c498c80
chore: Publish crates
2023-03-12 04:52:09 +00:00
Donny/강동윤
085c6f35f1
fix(es/ast): Fix memory layout ( #7062 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7061 .
2023-03-12 04:50:28 +00:00
SWC Bot
4015714633
chore: Publish crates
2023-03-12 03:57:57 +00:00
magic-akari
bb6dde7943
fix(es/compat): Handle useDefineForClassFields: false
( #7055 )
...
**BREAKING CHANGE:**
IMPORTANT NOTE: Users of decorators are recommended to configure `"useDefineForClassFields": false` to ensure that your code is properly transpiled.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6985 .
2023-03-12 12:56:10 +09:00
SWC Bot
2486e6b6bf
chore: Publish crates
2023-03-11 12:14:51 +00:00
SWC Bot
fa627e178a
chore: Publish crates
2023-03-11 10:43:53 +00:00
Donny/강동윤
fbb3016870
fix(es): Support stable rustc again ( #7057 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7039 .
2023-03-11 10:42:04 +00:00
SWC Bot
0b0e61beb6
chore: Publish crates
2023-03-11 03:44:48 +00:00
SWC Bot
fd26f467a1
chore: Publish crates
2023-03-11 00:32:35 +00:00
magic-akari
b78ce8b7c2
feat(es/compat): Simplify static blocks in classes ( #7056 )
2023-03-11 00:30:49 +00:00
SWC Bot
d4ebb5e6ef
chore: Publish crates
2023-03-10 06:28:00 +00:00
SWC Bot
02e9e49733
chore: Publish crates
2023-03-10 03:54:16 +00:00
SWC Bot
03488a3fb6
chore: Publish crates
2023-03-09 13:36:17 +00:00
Donny/강동윤
a9fe1d2d22
perf(es/ast): Shrink size of Expr
( #7041 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7019 .
2023-03-09 13:34:11 +00:00
SWC Bot
0f09789c43
chore: Publish crates
2023-03-08 06:52:40 +00:00
SWC Bot
50ee7d1c83
chore: Publish crates
2023-03-08 04:57:40 +00:00
SWC Bot
56aac6783b
chore: Publish crates
2023-03-08 02:51:08 +00:00
SWC Bot
79549c0f20
chore: Publish crates
2023-03-07 14:50:22 +00:00
SWC Bot
1a368def06
chore: Publish crates
2023-03-05 07:30:48 +00:00
SWC Bot
0ade738e43
chore: Publish crates
2023-03-03 02:49:46 +00:00
SWC Bot
a504e2a11d
chore: Publish crates
2023-02-28 08:23:25 +00:00
SWC Bot
bbb3615af7
chore: Publish crates
2023-02-28 06:42:16 +00:00
Donny/강동윤
37533a23fd
feat(es/parser): Support auto accessors ( #6981 )
2023-02-28 06:39:25 +00:00
SWC Bot
94138c801c
chore: Publish crates
2023-02-28 06:04:29 +00:00
SWC Bot
9e05f4c2d2
chore: Publish crates
2023-02-22 14:20:23 +00:00
SWC Bot
6496796c59
chore: Publish crates
2023-02-22 06:52:59 +00:00
SWC Bot
786f8180ad
chore: Publish crates
2023-02-20 05:31:02 +00:00
SWC Bot
89bbadbda6
chore: Publish crates
2023-02-19 14:53:16 +00:00
SWC Bot
b9398ce2d9
chore: Publish crates
2023-02-19 14:20:55 +00:00
SWC Bot
b9212cfee0
chore: Publish crates
2023-02-10 02:51:53 +00:00
SWC Bot
cade201a1f
chore: Publish crates
2023-02-10 02:30:18 +00:00
SWC Bot
a566f9c999
chore: Publish crates
2023-02-08 05:17:01 +00:00
SWC Bot
e65699c755
chore: Publish crates
2023-02-07 14:35:38 +00:00
SWC Bot
18af9c3a27
chore: Publish crates
2023-02-01 06:51:38 +00:00
Donny/강동윤
e79d46697c
test(es/compat): Add a test for a fixed issue ( #6887 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6886 .
2023-01-31 15:01:57 +00:00
SWC Bot
5160378f53
chore: Publish crates
2023-01-31 06:27:05 +00:00
Donny/강동윤
57781e90d3
fix(es/compat): Make optional chaining pass less permissive ( #6885 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6878 .
2023-01-31 06:24:23 +00:00
SWC Bot
3e8d80a324
chore: Publish crates
2023-01-30 11:17:16 +00:00
Donny/강동윤
d8088646df
fix(es/compat): Fix optional chaining pass ( #6875 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6762 .
2023-01-30 11:14:53 +00:00
SWC Bot
0bb4dc2c3d
chore: Publish crates
2023-01-29 14:56:26 +00:00
SWC Bot
5a5a7d70e4
chore: Publish crates
2023-01-27 06:59:44 +00:00
SWC Bot
8fc1b651b1
chore: Publish crates
2023-01-26 02:11:53 +00:00
SWC Bot
8863e31446
chore: Publish crates
2023-01-20 08:11:11 +00:00
SWC Bot
c3607ba6eb
chore: Publish crates
2023-01-16 16:09:51 +00:00
SWC Bot
b1f3eb74df
chore: Publish crates
2023-01-16 15:26:01 +00:00
SWC Bot
4a75eb0157
chore: Publish crates
2023-01-16 06:59:39 +00:00
SWC Bot
179a5f8a92
chore: Publish crates
2023-01-16 04:53:53 +00:00
SWC Bot
a5707ae7c1
chore: Publish crates
2023-01-15 06:45:26 +00:00
Donny/강동윤
e7ea054c63
test(es): Enable execution tests for fixed issues ( #6805 )
2023-01-13 07:30:21 +00:00
SWC Bot
b27793f579
chore: Publish crates
2023-01-13 05:02:46 +00:00
SWC Bot
ba910306ad
chore: Publish crates
2023-01-12 09:22:29 +00:00
Donny/강동윤
07676d5515
fix(es/compat): Ignore this
in nested scopes in classes
pass ( #6796 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6506 .
2023-01-12 09:19:40 +00:00
Donny/강동윤
7dc5ccb0fc
test(es/compat): Add a test to verify parameters passs ( #6792 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6790 .
2023-01-12 15:54:36 +09:00
SWC Bot
cd06479a43
chore: Publish crates
2023-01-11 03:00:59 +00:00
SWC Bot
52dada97ff
chore: Publish crates
2023-01-10 06:03:34 +00:00
SWC Bot
478b1fe458
chore: Publish crates
2023-01-10 05:10:48 +00:00
SWC Bot
ca64ab0906
chore: Publish crates
2023-01-09 11:00:40 +00:00
SWC Bot
a225efe363
chore: Publish crates
2023-01-08 04:59:27 +00:00
SWC Bot
1161360d54
chore: Publish crates
2023-01-06 03:49:20 +00:00
SWC Bot
ec8497b42c
chore: Publish crates
2023-01-06 03:16:51 +00:00
HeYunfei
a1ccc8afdf
feat(es/minifier): Make name mangler understand block scoping ( #6670 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5090 .
- Closes https://github.com/swc-project/swc/issues/5766 .
2023-01-06 03:14:10 +00:00
SWC Bot
790c478a7a
chore: Publish crates
2023-01-04 07:29:33 +00:00
SWC Bot
30471796c9
chore: Publish crates
2023-01-03 09:47:06 +00:00
Donny/강동윤
206c0dbebe
fix(es/compat): Fix syntax context of async-to-generator
( #6741 )
...
**Description:**
Previously, the `async-to-generator` produced invalid AST, in the aspect of span hygiene.
[Playground](https://play.swc.rs/?version=1.3.24&code=H4sIAAAAAAAAAz1MbQqAIBT77yn2UyG6gNQJuoSZRCAa7xkk4d1TicZgH7C5%2B4yUYGPgBE7ZuyWazREmSIVpxiMAcumi0C3ANZxyvQ6%2Fqa8CehxjaGNpOAcLaWjn%2F6KhKN1dGaoULSpfHPTdxn8AAAA%3D&config=H4sIAAAAAAAAA0WOSwrDMAxE76K1F22hXfgE3fQQxlWCi39ICsQY3z12cMlOjObNTIUfW9AVsiFGGheXKGYHDVIysiWXBRQId2kxnrEpwF2QovFv9BmJQQtt2D2GVpROIj9u92enfEqMk1MQXHRLGR02hUzIfL1MXP3f2XpFSN9tCPWccWa%2BoF0Zk3P8mcYxoR3Kj7IYzwAAAA%3D%3D ).
It generate two bindings for `args` so it's invalid.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6730 .
2023-01-03 09:45:03 +00:00
SWC Bot
2e32faaa3c
chore: Publish crates
2023-01-03 03:14:24 +00:00
SWC Bot
61245739ea
chore: Publish crates
2022-12-21 03:03:05 +00:00
SWC Bot
913230d02a
chore: Publish crates
2022-12-20 06:11:34 +00:00
SWC Bot
fa1b02bbd2
chore: Publish crates
2022-12-14 09:23:16 +00:00
SWC Bot
4986694d4c
chore: Publish crates
2022-12-14 04:07:34 +00:00
SWC Bot
30692bc26c
chore: Publish crates
2022-12-13 15:48:32 +00:00
SWC Bot
292c3388b5
chore: Publish crates
2022-12-13 07:31:37 +00:00
SWC Bot
581d9ce769
chore: Publish crates
2022-12-13 03:38:21 +00:00
SWC Bot
4d4406d5b3
chore: Publish crates
2022-12-12 02:40:19 +00:00
SWC Bot
2e50dd54e8
chore: Publish crates
2022-12-12 02:01:40 +00:00