SWC Bot
|
1a5a3313cf
|
chore: Publish crates
|
2023-07-31 04:12:06 +00:00 |
|
SWC Bot
|
ef306256d2
|
chore: Publish crates
|
2023-07-31 03:33:30 +00:00 |
|
SWC Bot
|
d3b516d692
|
chore: Publish crates
|
2023-07-28 05:59:26 +00:00 |
|
SWC Bot
|
3f3de2e316
|
chore: Publish crates
|
2023-07-28 04:42:31 +00:00 |
|
Felipe Armoni
|
7ba7b6ec1f
|
fix(es/compat): Fix handling of private members in optional chaining pass (#7610)
**Related issue:**
- Closes #7561.
|
2023-07-28 04:40:19 +00:00 |
|
SWC Bot
|
aff07b1a0a
|
chore: Publish crates
|
2023-07-21 02:00:00 +00:00 |
|
SWC Bot
|
026101b71e
|
chore: Publish crates
|
2023-07-20 05:57:51 +00:00 |
|
SWC Bot
|
3c89bdfd99
|
chore: Publish crates
|
2023-07-18 04:13:08 +00:00 |
|
SWC Bot
|
26d79444c6
|
chore: Publish crates
|
2023-07-13 02:09:23 +00:00 |
|
SWC Bot
|
1fe263903d
|
chore: Publish crates
|
2023-07-07 02:17:07 +00:00 |
|
lsdyi
|
a7daa5b28e
|
fix(es/compat): Fix loose mode of the spread pass (#7608)
**Related issue:**
- Closes #7354
|
2023-07-07 11:15:07 +09:00 |
|
SWC Bot
|
2ef760357f
|
chore: Publish crates
|
2023-07-06 03:29:42 +00:00 |
|
Donny/강동윤
|
d2ac2c16a3
|
fix(es/compat): Visit children of while statement in the generator pass (#7624)
**Related issue:**
- Closes #7622.
|
2023-07-06 03:27:49 +00:00 |
|
SWC Bot
|
735a82d6a4
|
chore: Publish crates
|
2023-07-05 03:52:51 +00:00 |
|
Donny/강동윤
|
b34f1adbcc
|
build(cargo): Update rustc to 2023-07-03 (#7623)
|
2023-07-05 03:50:43 +00:00 |
|
SWC Bot
|
7544ea960b
|
chore: Publish crates
|
2023-07-04 07:01:59 +00:00 |
|
Donny/강동윤
|
c087c82aa3
|
fix(es/compat): Visit transformed expression in optional chaining pass (#7614)
**Related issue:**
- Closes #7612.
|
2023-07-04 06:59:58 +00:00 |
|
SWC Bot
|
cf902d3808
|
chore: Publish crates
|
2023-07-03 01:54:53 +00:00 |
|
David Sherret
|
0a26066b7b
|
refactor(es/compat): Remove usage of box_patterns (#7613)
|
2023-07-03 01:52:51 +00:00 |
|
SWC Bot
|
cba986807a
|
chore: Publish crates
|
2023-06-30 07:43:11 +00:00 |
|
SWC Bot
|
efc1afd96a
|
chore: Publish crates
|
2023-06-29 14:15:31 +00:00 |
|
SWC Bot
|
be33efaecd
|
chore: Publish crates
|
2023-06-29 07:52:19 +00:00 |
|
SWC Bot
|
b4ae28b053
|
chore: Publish crates
|
2023-06-26 04:02:12 +00:00 |
|
SWC Bot
|
4efefb0f4e
|
chore: Publish crates
|
2023-06-23 02:28:10 +00:00 |
|
SWC Bot
|
8c1436aaf5
|
chore: Publish crates
|
2023-06-22 13:40:52 +00:00 |
|
Donny/강동윤
|
d57d0d3ad3
|
build(cargo): Update deps (#7566)
|
2023-06-22 13:37:35 +00:00 |
|
SWC Bot
|
33355cf707
|
chore: Publish crates
|
2023-06-22 07:43:38 +00:00 |
|
Donny/강동윤
|
d12dc70c91
|
build(cargo): Update deps (#7564)
|
2023-06-22 07:40:41 +00:00 |
|
SWC Bot
|
f9c5265bde
|
chore: Publish crates
|
2023-06-21 15:44:11 +00:00 |
|
Donny/강동윤
|
54410047fa
|
build(deps): Update syn to v2 (#7557)
|
2023-06-21 15:38:46 +00:00 |
|
SWC Bot
|
c023a03d7b
|
chore: Publish crates
|
2023-06-21 03:18:22 +00:00 |
|
SWC Bot
|
8b765e6763
|
chore: Publish crates
|
2023-06-20 05:37:57 +00:00 |
|
SWC Bot
|
f27d6ea58c
|
chore: Publish crates
|
2023-06-20 05:05:01 +00:00 |
|
SWC Bot
|
69b034931e
|
chore: Publish crates
|
2023-06-20 04:14:44 +00:00 |
|
Donny/강동윤
|
bc6e95052e
|
fix(es/compat): Visit arrow body from optional chaining pass (#7549)
**Related issue:**
- Closes #7547.
|
2023-06-20 04:12:31 +00:00 |
|
SWC Bot
|
fec056f5db
|
chore: Publish crates
|
2023-06-20 03:21:20 +00:00 |
|
SWC Bot
|
44aac8fe27
|
chore: Publish crates
|
2023-06-19 05:51:51 +00:00 |
|
SWC Bot
|
d38c40914e
|
chore: Publish crates
|
2023-06-19 03:02:08 +00:00 |
|
Justin Ridgewell
|
990e48e0e8
|
fix(es/compat): Fix optional chaining (#7530)
**Description:**
This fixes a few bugs with optional chaining:
-
[`a?.c()`](https://play.swc.rs/?version=1.3.64&code=H4sIAAAAAAAAA9PXVwjOyC%2FNSVFISrXi0tdXSFSwtVXIK83JUbBXKM1LSU3LzEtNUbBSSNRL1tC05kq0h9AAouc%2F7DgAAAA%3D&config=H4sIAAAAAAAAA2VSu27DMAzc8xUC5wAZii7ZWnRJgXTKDxAKkyrQwyDpNEbgf69kxI4jexAk3olH3fm%2BMgYoXsFszT3vywchHQm2pa7cwXos28T0LRl4m0qnxJY%2BvD8wRsmHUGDllibGsYsYnN2FJrHWoCKfScudUbsv2LDARewEgI4CM24uezqj7b4oj4aauOpf5EdoT4pHVFxSmNDqS1tjNhvDbVQXKNuAraaA6iysC5DYWI8izs4uwIMOC%2F6cpL%2Bc%2FnanHwwkDVpaDJM5rdBn67y6WHv5eNCVfGpCzibDJ%2FQyw%2Fv1qtqAT0lqHWiQhfjVSumi4m2I3QYUy65RmNl0kdtS8OlvPWxfhTw0lnd45pv%2FstbTLOKuGeyzKYQULwIT08l%2B5BaJVf8PfP2zz7YCAAA%3D)
-
[`a?.b.c()`](https://play.swc.rs/?version=1.3.64&code=H4sIAAAAAAAAA9PXVwjOyC%2FNSVFISrXi0tdXSFSwtVXIK83JUbBXKM1LSU3LzEtNUbBSSNRL0kvW0LTmSrSHsQBsP8xLPAAAAA%3D%3D&config=H4sIAAAAAAAAA2VSu27DMAzc8xUC5wAZii7ZWnRJgXTKDxAKkyrQwyDpNEbgf69kxI4jexAk3olH3fm%2BMgYoXsFszT3vywchHQm2pa7c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ar`](https://play.swc.rs/?version=1.3.64&code=H4sIAAAAAAAAA9PXVwjOyC%2FNSVFISrXi0tdXSMvPV7C1VcgrzclRsFcoKSpNVbBSSEnNSS1JBcnpJSUWcSG49iA%2BAGcLTstEAAAA&config=H4sIAAAAAAAAA1WPSw7CMAxE9zlF5DULYIEEd%2BAQVnCrVPkpTiWqqncnTZMAO3vG42evQkqYWMFDrrnMTcDIFHufFV5cwndWgJRFVlGHBKfmTrxbAxqmIm2HAwnjSKmk%2BHq%2B3GsCjPdMWU5xpipZ7fSw%2FCKVtyESc9vcaRbdaOgfKCoUrH%2FNxayvpCXQccANvkMN1heD5mdL7leJ7QOQNa2NFgEAAA%3D%3D)
- [`function foo(a, b = a?.b)
{}`](https://play.swc.rs/?version=1.3.64&code=H4sIAAAAAAAAA9PXVwjOyC%2FNSVFISrXi0tdXSCvNSy7JzM9TSMvP10jUUUhSsFXQ0NBUsLVTqFYoSyxSiE%2B0VnjUsEyhVlNDU1OhupYLm45Ee70kkCQAp8DQOl8AAAA%3D&config=H4sIAAAAAAAAA22Rz07DMAzG73uKyOdJAw5I7Ii4cBjvYKXuyJQ%2Fle3AqmnvTltIm63cHH%2B%2F%2BPtkXzbGwEks7M1lKIeHMkZpE4e5NbU9HdH2b2QToyYeROVM2wVoinQgxQYV1wgTWr0Za8xuZzhHdYH2BjBrCqjOwnYUEhvrUcTZ6gP84bDia0g%2FOX2%2Ftx8YSDq0tAozMFnoNTuvLsp%2FckNf5FMXKI6ZW%2FRS6ddSzgX4lOTeBzpkIb5dpfRR8TzmJxtQLLtOoVrTSc5rw2W%2F92GXBIp8JJ0Gy9PD48s0dJIhpCZ7qq7cd%2FQLPsMMOTkUrBhAcNG1fcmzuf4AkV7gUzECAAA%3D)
It also optimizes the AST for runtime evaluation. Before, we constructed
a leftwards conditional tree (`(_a_b = (_a = a) == null ? void 0 : _a.b)
== null ? void 0 : _a_b.c`) instead of a rightward tree (`(_a = a) ==
null ? void 0 : (_a_b = _a.b) == null ? void 0 : _a_b.c`), which
required multiple `== null` checks after the first nullish is found.
**Related issue:**
- Closes #7531.
|
2023-06-19 12:00:11 +09:00 |
|
SWC Bot
|
b9acc83fa7
|
chore: Publish crates
|
2023-06-16 02:59:35 +00:00 |
|
SWC Bot
|
39276402bf
|
chore: Publish crates
|
2023-06-14 05:01:49 +00:00 |
|
Donny/강동윤
|
4644d005d2
|
fix(es/compat): Fix handling of this of optional chaining pass (#7527)
**Related issue:**
- Closes #7526.
|
2023-06-14 13:59:35 +09:00 |
|
SWC Bot
|
db85bf3ee2
|
chore: Publish crates
|
2023-06-13 16:14:41 +00:00 |
|
SWC Bot
|
275db1baec
|
chore: Publish crates
|
2023-06-13 03:39:28 +00:00 |
|
SWC Bot
|
08574e690b
|
chore: Publish crates
|
2023-06-12 08:04:50 +00:00 |
|
Donny/강동윤
|
3958f1792c
|
refactor(es/ast): Remove unused fields (#7518)
**Related issue:**
- Closes #7347.
- Closes #7487.
|
2023-06-12 08:02:34 +00:00 |
|
SWC Bot
|
96895b1f3f
|
chore: Publish crates
|
2023-06-12 06:49:35 +00:00 |
|
Donny/강동윤
|
aa83584634
|
refactor(es/ast): Reimplement optional chaining (#7441)
**Related issue:**
- Closes #7003.
- Closes #7156.
|
2023-06-12 06:47:40 +00:00 |
|
SWC Bot
|
cea1237c5e
|
chore: Publish crates
|
2023-06-12 01:39:32 +00:00 |
|
SWC Bot
|
89bee900e4
|
chore: Publish crates
|
2023-06-07 05:10:31 +00:00 |
|
SWC Bot
|
b6b4b0fd2e
|
chore: Publish crates
|
2023-06-07 03:03:16 +00:00 |
|
SWC Bot
|
a63905aa2c
|
chore: Publish crates
|
2023-05-30 05:18:06 +00:00 |
|
SWC Bot
|
076b4d4023
|
chore: Publish crates
|
2023-05-30 03:24:10 +00:00 |
|
SWC Bot
|
a85816d505
|
chore: Publish crates
|
2023-05-25 04:54:11 +00:00 |
|
SWC Bot
|
6c3ff01a53
|
chore: Publish crates
|
2023-05-24 07:48:00 +00:00 |
|
SWC Bot
|
c1f2b4a09f
|
chore: Publish crates
|
2023-05-24 06:59:37 +00:00 |
|
SWC Bot
|
b95cd8444e
|
chore: Publish crates
|
2023-05-24 06:27:35 +00:00 |
|
SWC Bot
|
f9f0cc2380
|
chore: Publish crates
|
2023-05-24 05:44:06 +00:00 |
|
Donny/강동윤
|
f3d660f972
|
fix(es/compat): Fix variable scoping of object rest pass. (#7437)
**Related issue:**
- Closes #6988.
|
2023-05-24 05:41:57 +00:00 |
|
Donny/강동윤
|
2071f89d4e
|
fix(es/preset-env): Fix pass ordering (#7434)
**Related issue:**
- Closes #6898.
- Closes #7432.
|
2023-05-23 07:14:37 +00:00 |
|
Donny/강동윤
|
97d0f79142
|
fix(es/compat): Fix stage 3 decorator pass (#7392)
|
2023-05-23 06:24:05 +00:00 |
|
SWC Bot
|
47114702ef
|
chore: Publish crates
|
2023-05-23 05:30:42 +00:00 |
|
SWC Bot
|
12b966ea21
|
chore: Publish crates
|
2023-05-22 03:23:50 +00:00 |
|
Donny/강동윤
|
66d52ec849
|
fix(es/compat): Fix destructuring handling of block_scoping (#7425)
**Related issue:**
- Closes #7418.
|
2023-05-22 03:21:50 +00:00 |
|
SWC Bot
|
135c4fd16b
|
chore: Publish crates
|
2023-05-18 08:20:26 +00:00 |
|
SWC Bot
|
a2a544a0ae
|
chore: Publish crates
|
2023-05-17 13:12:20 +00:00 |
|
Yunfei He
|
dba78a0031
|
fix(es/compat): Mark reserved function names private (#7298)
|
2023-05-17 13:10:27 +00:00 |
|
SWC Bot
|
8052d4dabd
|
chore: Publish crates
|
2023-05-17 04:53:45 +00:00 |
|
SWC Bot
|
da0c612d85
|
chore: Publish crates
|
2023-05-16 05:18:57 +00:00 |
|
SWC Bot
|
d3db7edd51
|
chore: Publish crates
|
2023-05-16 04:14:36 +00:00 |
|
SWC Bot
|
5e3d156aca
|
chore: Publish crates
|
2023-05-15 03:20:03 +00:00 |
|
SWC Bot
|
a71d5b2180
|
chore: Publish crates
|
2023-05-14 05:23:11 +00:00 |
|
SWC Bot
|
e88ae37a0c
|
chore: Publish crates
|
2023-05-12 00:47:49 +00:00 |
|
SWC Bot
|
7655aaa42a
|
chore: Publish crates
|
2023-05-11 14:02:24 +00:00 |
|
Donny/강동윤
|
166e77c2b3
|
chore(es): Enable tracing spans for release builds (#7379)
|
2023-05-11 13:59:53 +00:00 |
|
SWC Bot
|
65785bdf21
|
chore: Publish crates
|
2023-05-10 04:19:21 +00:00 |
|
Donny/강동윤
|
041b491466
|
feat(es/parser): Implement explicit resource management (#7322)
**Description:**
- Add `UsingDecl`.
- Add `UsingDecl` to `Decl`.
- Rename `VarDeclOrPat` to `ForHead`.
- Add `UsingDecl` to `ForHead`.
- Implement parser for using declarations.
**Related issue:**
- #7316.
|
2023-05-10 04:16:44 +00:00 |
|
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 |
|