SWC Bot
|
c04ca528b8
|
chore: Publish crates
|
2023-08-09 09:19:00 +00:00 |
|
Donny/강동윤
|
76c6258d15
|
perf(es/compat): Improve time complexity of class_properties (#7786)
**Related issue:**
- Closes #7780
|
2023-08-09 09:17:14 +00:00 |
|
SWC Bot
|
14906e279f
|
chore: Publish crates
|
2023-08-07 22:20:08 +00:00 |
|
SWC Bot
|
0219eebeb9
|
chore: Publish crates
|
2023-08-07 21:31:50 +00:00 |
|
SWC Bot
|
1e6ade8cfa
|
chore: Publish crates
|
2023-08-07 20:01:21 +00:00 |
|
SWC Bot
|
51d17b66ad
|
chore: Publish crates
|
2023-08-06 22:16:01 +00:00 |
|
SWC Bot
|
434472a678
|
chore: Publish crates
|
2023-08-06 21:44:26 +00:00 |
|
Ian Kerins
|
b69ae8f433
|
fix(es/compat): Fix loose mode of the spread pass (#7760)
|
2023-08-06 21:42:33 +00:00 |
|
SWC Bot
|
97289b4edc
|
chore: Publish crates
|
2023-08-06 20:31:13 +00:00 |
|
Felipe Armoni
|
216c4f17df
|
test(es/compat): Add a test for optional chaining with loose mode (#7726)
|
2023-07-31 15:44:28 +00:00 |
|
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%2BMgYoXsFszT3vywchHQm2pa7cwXos28T0LRl4m0qnxJY%2BvD8wRsmHUGDllibGsYsYnN2FJrHWoCKfScudUbsv2LDARewEgI4CM24uezqj7b4oj4aauOpf5EdoT4pHVFxSmNDqS1tjNhvDbVQXKNuAraaA6iysC5DYWI8izs4uwIMOC%2F6cpL%2Bc%2FnanHwwkDVpaDJM5rdBn67y6WHv5eNCVfGpCzibDJ%2FQyw%2Fv1qtqAT0lqHWiQhfjVSumi4m2I3QYUy65RmNl0kdtS8OlvPWxfhTw0lnd45pv%2FstbTLOKuGeyzKYQULwIT08l%2B5BaJVf8PfP2zz7YCAAA%3D)
-
[`a.c?.()`](https://play.swc.rs/?version=1.3.64&code=H4sIAAAAAAAAAxWKsQ3AIAwEe6b4Ehq7J0IMkQGQYxMlkkUq9g80d1ccM87nm264eg7MiE2aomwvSiJNKAVjuqNiDuv3O7ohY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AA%3D)
-
[`a?.b[c?.d]`](https://play.swc.rs/?version=1.3.64&code=H4sIAAAAAAAAA9PXVwjOyC%2FNSVFISrXi0tdX0IhPVLBVSNRUsLVVyCvNyVGwVyjLz0xRMFCwUohP1EuK1ohPBipIxq4gWS8l1por0R6oLtkezAYAJs%2FWxmEAAAA%3D&config=H4sIAAAAAAAAA2VSu27DMAzc8xUC5wAZii7ZWnRJgXTKDxAKkyrQwyDpNEbgf69kxI4jexAk3olH3fm%2BMgYoXsFszT3vywchHQm2pa7cwXos28T0LRl4m0qnxJY%2BvD8wRsmHUGDllibGsYsYnN2FJrHWoCKfScudUbsv2LDARewEgI4CM24uezqj7b4oj4aauOpf5EdoT4pHVFxSmNDqS1tjNhvDbVQXKNuAraaA6iysC5DYWI8izs4uwIMOC%2F6cpL%2Bc%2FnanHwwkDVpaDJM5rdBn67y6WHv5eNCVfGpCzibDJ%2FQyw%2Fv1qtqAT0lqHWiQhfjVSumi4m2I3QYUy65RmNl0kdtS8OlvPWxfhTw0lnd45pv%2FstbTLOKuGeyzKYQULwIT08l%2B5BaJVf8PfP2zz7YCAAA%3D)
- [`delete
foo?.bar`](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 |
|