swc/crates/swc_ecma_transforms_compat/tests
Donny/강동윤 028d0ce2c6
fix(es/transforms/compat): Fix block scoping (#2916)
swc_ecma_transforms_compat:
 - `block_scoping`: Track if we are in nested loops.
 - `block_scoping`: Don't treat `break` nor `continue` in nested loops as leaper. (https://github.com/vercel/next.js/issues/31757, Closes #2799, Closes #2915)
 - `block_scoping`: Don't recurse into nested loops while looking for functions. (Closes #2622)
2021-11-30 13:11:09 +09:00
..
fixture fix(es/transforms/compat): Fix block scoping (#2916) 2021-11-30 13:11:09 +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 fix(es/transforms/compat): Fix arrow (#2882) 2021-11-27 06:46:02 +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 fix(es/transforms/compat): Fix destructuring (#2866) 2021-11-25 06:51:59 +00:00
es2015_duplicated_keys.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2015_for_of.rs fix(es/transforms/compat): Fix block scoping (#2916) 2021-11-30 13:11:09 +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