swc/crates/swc_ecma_transforms_compat/tests
Austaras fbcbeb4892
refactor(es/transforms/compat): Lift this replacer out of arrow (#2812)
swc_ecma_utils:
 - Add `FunctionWrapper`, which tracks `this` and `arguments`.

swc_ecma_transforms_compat:
 - `arrow`: Use `FunctionWrapper` instead of tracking `this` by itself.
 - `async_to_generator`: Use `FunctionWrapper` instead of tracking `this` by itself.
2021-11-24 00:59:06 +00:00
..
fixture fix(es/transforms/compat): Fix this in constructor (#2818) 2021-11-20 19:07:42 +09:00
private-in-object refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
static-blocks refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2015_arrow.rs refactor(es/transforms/compat): Lift this replacer out of arrow (#2812) 2021-11-24 00:59:06 +00:00
es2015_block_scoping.rs refactor(es/transforms/compat): Migrate to VisitMut (#2709) 2021-11-12 07:25:32 +00:00
es2015_classes.rs feat(es/transforms/compat): Add more loose mode (#2611) 2021-11-15 14:31:21 +09:00
es2015_computed_props.rs feat(es/transforms/compat): Add more loose mode (#2611) 2021-11-15 14:31:21 +09:00
es2015_destructuring.rs feat(es/transforms/compat): Add more loose mode (#2611) 2021-11-15 14:31:21 +09:00
es2015_duplicated_keys.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2015_for_of.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2015_new_target.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2015_parameters.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2015_regenerator.rs feat(es/transforms/compat): Add more loose mode (#2611) 2021-11-15 14:31:21 +09:00
es2015_spread.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2015_template_literals.rs feat(es/transforms/compat): Add more loose mode (#2611) 2021-11-15 14:31:21 +09:00
es2017_async_to_generator.rs refactor(es/transforms/compat): Lift this replacer out of arrow (#2812) 2021-11-24 00:59:06 +00:00
es2018_object_rest_spread.rs feat(es/transforms/compat): Add more loose mode (#2611) 2021-11-15 14:31:21 +09:00
es2020_optional_chaining.rs fix(es/transforms/compat): Fix optional_chaining(#2791) 2021-11-18 08:00:46 +00:00
es2021_logcal_assignments.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2022_class_properties.rs fix(es/transforms/compat): Fix this in constructor (#2818) 2021-11-20 19:07:42 +09:00
es2022_private_in_object.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2022_static_blocks.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00